/* ============================================
   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(0, 0, 0, 0.1);
}

.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;
}

.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: #6c757d;
    transition: color 0.2s;
}

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

/* 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 #dee2e6;
    transition: border-color 0.2s, box-shadow 0.2s;
}

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

/* Auth Buttons */
.auth-submit-btn {
    padding: 0.875rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s;
}

.auth-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #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;
    }
}
