/* ============================================
   Login & Register Pages Styles
   Styles for company_login.html, company_register.html, user_login.html
   ============================================ */

/* Auth Page Container */
.auth-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Auth Card */
.auth-card {
    max-width: 500px;
    width: 100%;
    margin: 2rem auto;
}

.auth-card .card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.15);
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.auth-card .card-body {
    padding: 3rem;
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .auth-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #2563eb;
    text-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.auth-header h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.auth-header .text-muted {
    font-size: 0.95rem;
}

/* Password Toggle Icon */
.password-toggle-icon {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #64748b;
    transition: color 0.2s;
}

.password-toggle-icon:hover {
    color: #2563eb;
}

/* Form Sections */
.form-section {
    margin-bottom: 1.5rem;
    border-radius: 12px;
    padding: 1.5rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.form-section:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.required-section {
    border-left: 4px solid #dc2626;
    background: linear-gradient(to right, #fef2f2 0%, #ffffff 100%);
}

.optional-section {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(to right, #eff6ff 0%, #ffffff 100%);
}

.settings-section {
    border-left: 4px solid #8b5cf6;
    background: linear-gradient(to right, #f5f3ff 0%, #ffffff 100%);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.section-icon {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    color: #64748b;
}

.required-section .section-icon {
    color: #dc2626;
}

.optional-section .section-icon {
    color: #3b82f6;
}

.settings-section .section-icon {
    color: #8b5cf6;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #1e293b;
}

.optional-badge {
    margin-left: auto;
    padding: 0.25rem 0.75rem;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-content {
    padding: 0;
}

/* Auth Form Styling */
.auth-form .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.auth-form .form-label i {
    margin-right: 0.25rem;
}

.auth-form .form-control {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #ffffff;
}

.auth-form .form-control:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.15);
    background: #ffffff;
}

/* Auth Buttons */
.auth-submit-btn {
    padding: 0.875rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border: none;
    color: white;
}

.auth-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
cbd5e1;
}

.auth-footer .btn-outline-primary {
    margin-top: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    color: #2563eb;
    border-color: #2563eb;
}

.auth-footer .btn-outline-primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: whitelid #e5e7eb;
}

.auth-footer .btn-outline-primary {
    margin-top: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .auth-card .card-body {
        padding: 2rem 1.5rem;
    }
    
    .auth-header .auth-icon {
        font-size: 2.5rem;
    }
    
    .auth-header h3 {
        font-size: 1.5rem;
    }
    
    /* Stack form rows on mobile */
    .row > .col-md-8,
    .row > .col-md-4 {
        margin-bottom: 1rem;
    }
}
