﻿.auth-page {
    min-height: calc(100vh - 56px - 3rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.auth-card {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border: 1px solid #e7e8ec;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(20, 20, 30, 0.08);
    text-align: center;
}

.auth-icon {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: #1b1f27;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: #6b6f7a;
    line-height: 1.5;
    margin: 0 0 1.75rem;
}

.auth-label {
    display: block;
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a4d57;
    margin: 0 0 0.35rem;
}

.auth-optional {
    font-weight: 400;
    color: #9aa0ab;
}

.auth-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.7rem 0.9rem;
    margin-bottom: 1.1rem;
    border: 1px solid #d8dae0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    .auth-input:focus {
        outline: none;
        border-color: #7c9bff;
        box-shadow: 0 0 0 3px rgba(124, 155, 255, 0.2);
    }

.auth-input-code {
    text-align: center;
    letter-spacing: 0.4em;
    font-size: 1.2rem;
    font-weight: 700;
}

.auth-button {
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(90deg, #6b7bff, #a06bff);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.8rem 1rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(107, 123, 255, 0.3);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

    .auth-button:hover:not(:disabled) {
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(107, 123, 255, 0.4);
    }

    .auth-button:disabled {
        opacity: 0.65;
        cursor: default;
    }

.auth-link-button {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: #6b7bff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.85rem;
    cursor: pointer;
    padding: 0;
}

    .auth-link-button:hover {
        text-decoration: underline;
    }

.auth-error {
    margin: 1.1rem 0 0;
    padding: 0.6rem 0.85rem;
    background: #fdecea;
    color: #b3261e;
    border-radius: 8px;
    font-size: 0.85rem;
    text-align: left;
}

.auth-footer {
    margin: 1.5rem 0 0;
    font-size: 0.9rem;
    color: #6b6f7a;
}

    .auth-footer a {
        color: #6b7bff;
        font-weight: 600;
        text-decoration: none;
    }

        .auth-footer a:hover {
            text-decoration: underline;
        }
