/* Authentication Pages Stylesheet */

.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #1a2340;
    padding: 20px;
}

.auth-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 1000px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-form-section {
    background: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-content-section {
    background:#1a2340;
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.auth-content-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.auth-content-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.auth-logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-form-section .auth-logo {
    color: var(--primary-color);
}

.auth-content-section .auth-logo {
    color: white;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.auth-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.auth-form-group {
    margin-bottom: 1.5rem;
}

.auth-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.auth-form-group input,
.auth-form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.auth-form-group input:focus,
.auth-form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.auth-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.auth-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.auth-checkbox label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 400;
}

.auth-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.auth-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    gap: 1rem;
    color: var(--text-light);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: var(--border-color);
}

.auth-link {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-link p {
    color: var(--text-light);
    margin-bottom: 0;
}

.auth-link a {
    color: var(--primary-color);
    font-weight: 600;
}

.auth-link a:hover {
    text-decoration: underline;
}

.auth-features {
    list-style: none;
    margin-top: 2rem;
}

.auth-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.auth-features li::before {
    content: '✓';
    font-weight: bold;
    font-size: 1.25rem;
}

.auth-error {
    background-color: #fef2f2;
    color: #991b1b;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--danger-color);
}

.auth-success {
    background-color: #f0fdf4;
    color: #166534;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--success-color);
}

/* Responsive */
@media (max-width: 768px) {
    .auth-wrapper {
        grid-template-columns: 1fr;
    }

    .auth-content-section {
        display: none;
    }

    .auth-form-section {
        padding: 30px;
    }

    .auth-form-row {
        grid-template-columns: 1fr;
    }

    .auth-title {
        font-size: 1.5rem;
    }
}
