/* Split Screen Authentication Design */
.auth-container {
    min-height: 100vh;
    display: flex;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.auth-left {
    flex: 1;
    
    background: url('/images/5meeting-001.jpg') center/cover no-repeat;
     
    position: relative;
    min-height: 100vh;
}

/* Removed dark overlay for cleaner background */

.auth-right {
    flex: 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 100vh;
}

.auth-form-container {
    width: 100%;
    max-width: 400px;
    padding: 0 1rem;
}

.auth-logo-container {
    text-align: left;
    margin-bottom: 3rem;
}

.auth-logo-container img {
    height: 120px !important;
    width: auto !important;
    max-width: 400px !important;
}

.auth-title {
    font-size: 2.25rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    font-family: 'Georgia', serif;
}

.auth-subtitle {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 2.5rem;
    line-height: 1.5;
    font-weight: 400;
}

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

.auth-form-label {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.auth-form-control {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: #ffffff;
    font-family: inherit;
}

.auth-form-control:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: none;
}

.auth-form-control::placeholder {
    color: #9ca3af;
}

.auth-password-group {
    position: relative;
}

.auth-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
}

.auth-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.auth-remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-remember-me input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #2563eb;
}

.auth-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-btn-primary {
    width: 100%;
    background: #1a1a1a;
    color: white;
    border: none;
    padding: 0.875rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1.5rem;
    text-transform: none;
    letter-spacing: 0;
}

.auth-btn-primary:hover {
    background: #333;
}

.auth-bottom-link {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

.auth-bottom-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.auth-bottom-link a:hover {
    text-decoration: underline;
}

.auth-invalid-feedback {
    color: #dc2626;
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: block;
}

.auth-alert {
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.auth-alert-success {
    background-color: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.auth-alert-error {
    background-color: #fee2e2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

/* reCAPTCHA styling */
.g-recaptcha {
    margin-bottom: 1.5rem;
}

/* Demo mode select styling */
.auth-demo-select {
    margin-bottom: 1.5rem;
}

.auth-demo-select select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.95rem;
    background: #ffffff;
}

/* Responsive design */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
        padding-bottom: 100px; /* Space for mobile nav */
    }

    .auth-left {
        display: none;
    }

    .auth-right {
        min-height: 100vh;
        padding: 2rem 1.5rem;
        padding-top: 80px; /* Space for mobile logo */
        padding-bottom: 120px; /* Space for mobile nav */
    }

    .auth-form-container {
        max-width: 100%;
        padding: 0;
    }

    .auth-title {
        font-size: 1.875rem;
        text-align: center;
    }

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

    .auth-logo-container {
        display: none !important;
    }

    /* Improve form spacing on mobile */
    .auth-form-group {
        margin-bottom: 1.25rem;
    }

    .auth-btn-primary {
        padding: 1rem;
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .auth-bottom-link {
        margin-bottom: 2rem;
    }
}

/* Additional form elements */
.auth-form-row {
    display: flex;
    gap: 1rem;
}

.auth-form-row .auth-form-group {
    flex: 1;
}

/* Select styling */
.auth-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.95rem;
    background: #ffffff;
    font-family: inherit;
}

.auth-select:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: none;
}

/* Textarea styling */
.auth-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 0.95rem;
    background: #ffffff;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
}

.auth-textarea:focus {
    outline: none;
    border-color: #1a1a1a;
    box-shadow: none;
}

/* Custom JavaScript for auth password toggle */
.auth-password-toggle:hover {
    color: #1a1a1a;
}
