﻿.auth-container {
    max-width: 540px;
    margin: 0 auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.auth-card-pro {
    background: var(--surface-color);
    color: var(--default-color);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    overflow: hidden;
    position: relative;
}

    .auth-card-pro::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 4px;
        background: linear-gradient(90deg, var(--accent-color), var(--accent-variant));
    }

.auth-header {
    margin-bottom: 1.5rem;
}

.auth-badge {
    width: 68px;
    height: 68px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--accent-color), transparent 88%);
    color: var(--accent-color);
    font-size: 1.8rem;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-color), transparent 75%);
}

.auth-card-pro h3 {
    margin-bottom: 0.35rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
}

.auth-subtitle {
    margin-bottom: 0;
    color: var(--muted-color);
    font-size: 1rem;
}

.auth-form {
    margin-top: 1.25rem;
}

.auth-input.form-control {
    height: 60px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--background-color), var(--surface-color) 55%);
    border: 1px solid var(--border-color);
    color: var(--default-color);
    box-shadow: none;
    padding-top: 1.35rem;
}

    .auth-input.form-control:focus {
        background: var(--surface-color);
        border-color: color-mix(in srgb, var(--accent-color), transparent 35%);
        box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 82%);
        color: var(--default-color);
    }

    .auth-input.form-control:not(:placeholder-shown) {
        background: var(--surface-color);
    }

.form-floating > label {
    color: var(--muted-color);
    padding-left: 1rem;
}

.auth-validation {
    font-size: 0.95rem;
}

.auth-links-top a,
.auth-footer a {
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
}

    .auth-links-top a:hover,
    .auth-footer a:hover {
        color: var(--accent-variant);
    }

.auth-submit-btn {
    height: 56px;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--accent-color), transparent 72%);
}

    .auth-submit-btn:hover {
        transform: translateY(-1px);
    }

.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0 1rem;
}

    .auth-divider::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        border-top: 1px solid var(--border-color);
        transform: translateY(-50%);
    }

    .auth-divider span {
        position: relative;
        z-index: 1;
        padding: 0 14px;
        background: var(--surface-color);
        color: var(--muted-color);
        font-size: 0.95rem;
    }

.auth-social-list {
    display: grid;
    gap: 0.85rem;
}

.auth-social-btn {
    height: 56px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: var(--surface-color);
    color: var(--default-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: none;
}

    .auth-social-btn:hover {
        background: color-mix(in srgb, var(--accent-color), transparent 94%);
        border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
        color: var(--default-color);
        transform: translateY(-1px);
    }

    .auth-social-btn:focus-visible {
        outline: none;
        box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 80%);
    }

.auth-social-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--accent-color), transparent 90%);
    color: var(--accent-color);
    font-size: 1rem;
    flex: 0 0 34px;
}

.auth-social-text {
    line-height: 1;
}

.auth-footer {
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border-color);
}

.auth-footer-text {
    color: var(--muted-color);
    margin-right: 0.35rem;
}

@media (max-width: 575.98px) {
    .auth-container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .auth-card-pro {
        padding: 1.25rem;
        border-radius: 20px;
    }

        .auth-card-pro h3 {
            font-size: 1.75rem;
        }

    .auth-badge {
        width: 60px;
        height: 60px;
        border-radius: 16px;
    }

    .auth-input.form-control,
    .auth-submit-btn,
    .auth-social-btn {
        height: 52px;
    }
}
