.auth-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-left {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    color: white;
}

.auth-left-content {
    max-width: 500px;
}

.auth-left h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.auth-left p {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
}

.auth-stats-inline {
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    opacity: 0.8;
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    opacity: 0.8;
    font-size: 1rem;
}

.auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

.auth-right.scrollable {
    overflow-y: auto;
}

.auth-form {
    width: 100%;
    max-width: 450px;
}

.auth-form.compact {
    max-width: 400px;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header.wide {
    margin-bottom: 3rem;
}

.auth-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.auth-header p {
    color: var(--gray);
}

.auth-header p a,
.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--gray);
}

.auth-form .form-group {
    margin-bottom: 1.5rem;
}

.auth-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.auth-form .form-group input,
.auth-form .form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.auth-form .form-group input:focus,
.auth-form .form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-group {
    display: flex;
    align-items: start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: auto;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--gray);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.auth-divider {
    text-align: center;
    margin: 2rem 0;
    color: var(--gray);
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--border);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: not-allowed;
    font-weight: 500;
    opacity: 0.6;
}

.auth-message {
    margin-bottom: 1rem;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
}

.auth-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.auth-message.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

@media (max-width: 968px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-left {
        padding: 3rem 2rem;
    }

    .auth-left.hide-mobile {
        display: none;
    }

    .auth-left h1 {
        font-size: 2rem;
    }

    .auth-right {
        padding: 2rem;
    }
}
