/* 
 * Custom CSS for FUE Salary Survey System
 */

/* Global Styles */
body {
    background-color: #f8f9fa;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header & Navigation */
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Cards */
.card {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 1.5rem;
}

.card-header {
    border-top-left-radius: 0.5rem !important;
    border-top-right-radius: 0.5rem !important;
    font-weight: 600;
}

/* Contact Details Section */
.contact-details-section .contact-card {
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1rem;
    background-color: #f8f9fa;
}

.contact-details-section .contact-card-header {
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.contact-details-section .form-group {
    margin-bottom: 0.75rem;
}

.contact-details-section .form-label {
    font-weight: 500;
}

/* Responsive adjustments for contact details */
@media (max-width: 767px) {
    .contact-details-section .contact-card {
        padding: 0.75rem;
    }
}

/* Location Section Styles */
.location-section .form-label {
    font-weight: 500;
}

.location-section .form-control,
.location-section .form-select {
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.location-section .form-control:focus,
.location-section .form-select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

@media (max-width: 767px) {
    .location-section .mb-3 {
        margin-bottom: 1rem !important;
    }
}

/* Form Elements */
.form-control, .form-select {
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
}

.form-control:focus, .form-select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn {
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
}

/* Custom Colors */
.bg-primary {
    background-color: #292560 !important;
}
.bg-primary2 {
    background-color: #66B2FF !important;
}

.btn-primary {
    background-color: #292560;
    border-color: #292560;
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
}

/* Dashboard Stats Cards */
.card.bg-primary, .card.bg-success, .card.bg-danger, .card.bg-info {
    transition: transform 0.3s ease;
}

.card.bg-primary:hover, .card.bg-success:hover, .card.bg-danger:hover, .card.bg-info:hover {
    transform: translateY(-5px);
}

/* Tables */
.table {
    vertical-align: middle;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Footer */
footer {
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}

/* Survey Form Specific Styles */
.survey-form .card-header {
    padding: 1rem;
}

.survey-form .form-label {
    font-weight: 500;
}

/* Login Form */
.login-form {
    max-width: 400px;
    margin: 2rem auto;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card-title {
        font-size: 1.1rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
    
    .card-header {
        background-color: #f8f9fa !important;
        color: #333 !important;
    }
}
