/* AUTHENTICATION PAGES */

.auth-page {
    min-height: 100vh;
    display: flex;
    background: var(--background);
}

.auth-left {
    width: 45%;
    min-height: 100vh;
    background: var(--navy);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px;
    text-align: center;
}

.auth-brand {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 20px;
}

.auth-brand span {
    color: var(--purple);
}

.auth-left h1 {
    font-size: 38px;
    margin-bottom: 15px;
}

.auth-left p {
    color: #cbd5e1;
    max-width: 380px;
    line-height: 1.7;
}

.auth-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 430px;
    background: white;
    padding: 40px;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

.auth-card h2 {
    font-size: 28px;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 28px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-field label {
    font-size: 14px;
    font-weight: 600;
}

.auth-field input {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border);
    border-radius: 9px;
    outline: none;
    font-size: 14px;
}

.auth-field input:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 65px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: var(--purple);
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.auth-options a,
.auth-switch a {
    color: var(--purple);
    text-decoration: none;
    font-weight: 600;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--text-secondary);
}

.auth-button {
    width: 100%;
    padding: 14px;
    background: var(--purple);
    color: white;
    border: none;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.auth-button:hover {
    background: var(--purple-dark);
}

.auth-switch {
    text-align: center;
    margin-top: 23px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-message {
    display: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.auth-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
}

.auth-message.success {
    display: block;
    background: #dcfce7;
    color: #166534;
}

@media (max-width: 768px) {
    .auth-left {
        display: none;
    }

    .auth-right {
        padding: 25px 16px;
    }

    .auth-card {
        padding: 28px 22px;
    }
}