/* =========================================================
   AUTH PAGE
   ========================================================= */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #f6f8fc;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    padding: 38px;
    background: #ffffff;
    border: 1px solid #e8ebf1;
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
    color: #111827;
    font-size: 23px;
    font-weight: 800;
    text-decoration: none;
}

.auth-logo-number {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #4f46e5;
    color: #ffffff;
    font-size: 19px;
    font-weight: 900;
}

.auth-logo span span {
    color: #4f46e5;
}

.auth-header {
    text-align: center;
    margin-bottom: 25px;
}

.auth-header h1 {
    margin: 0 0 8px;
    color: #111827;
    font-size: 27px;
    line-height: 1.2;
}

.auth-header p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.auth-field label {
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.auth-field input {
    width: 100%;
    height: 47px;
    box-sizing: border-box;
    padding: 0 14px;
    border: 1px solid #dfe3ea;
    border-radius: 10px;
    outline: none;
    background: #ffffff;
    color: #111827;
    font-family: inherit;
    font-size: 13px;
    transition: 0.2s ease;
}

.auth-field input::placeholder {
    color: #a1a9b8;
}

.auth-field input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.08);
}

.auth-submit {
    width: 100%;
    height: 48px;
    margin-top: 5px;
    border: none;
    border-radius: 11px;
    background: #4f46e5;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.2s ease;
}

.auth-submit:hover {
    background: #4338ca;
    transform: translateY(-1px);
}

.auth-message {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.auth-error {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #dc2626;
}

.auth-success {
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
    color: #047857;
}

.auth-bottom {
    margin-top: 23px;
    padding-top: 20px;
    border-top: 1px solid #edf0f4;
    color: #64748b;
    text-align: center;
    font-size: 12px;
}

.auth-bottom a {
    color: #4f46e5;
    font-weight: 800;
    text-decoration: none;
}

.auth-bottom a:hover {
    text-decoration: underline;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 500px) {

    .auth-page {
        padding: 20px 14px;
    }

    .auth-card {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .auth-header h1 {
        font-size: 24px;
    }

}