/* ============================================
   Shared Dashboard Styles
   Common styles used across candidate and admin dashboards
   ============================================ */

/* ============================================
   Form Styles
   ============================================ */

.form-section {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #003b4f;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 1.5rem;
}

.section-description {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.form-label {
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control-lg {
    padding: 0.875rem 1rem;
    font-size: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control-lg:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.form-actions {
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.filter-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #e9ecef;
}

/* ============================================
   Table Styles
   ============================================ */

.table thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #003b4f;
    border-bottom: 2px solid #e9ecef;
}

.table tbody tr:hover {
    background-color: #f8f9ff;
}

.table td {
    vertical-align: middle;
}

/* ============================================
   Badge Styles
   ============================================ */

.badge {
    padding: 0.5rem 1rem;
    font-weight: 500;
    border-radius: 8px;
}

/* ============================================
   Button Styles
   ============================================ */

.btn-primary,
.submit-btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #0d6efd 0%, #003b4f 100%);
    border: none;
}

.btn-primary:hover,
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.3);
}

.btn-outline-primary {
    border: 2px solid #0d6efd;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: #0d6efd;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.btn-outline-danger {
    border: 2px solid #dc3545;
    transition: all 0.3s ease;
}

.btn-outline-danger:hover {
    background: #dc3545;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
}

/* ============================================
   Empty State Styles
   ============================================ */

.empty-state {
    padding: 4rem 2rem;
    text-align: center;
}

.empty-state-content {
    max-width: 500px;
    margin: 0 auto;
}

.empty-state-icon {
    font-size: 4rem;
    color: #d0d0d0;
    margin-bottom: 1.5rem;
}

.empty-state-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #003b4f;
    margin-bottom: 0.75rem;
}

.empty-state-text {
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
}

/* ============================================
   Tips/Security Cards
   ============================================ */

.security-tips-card,
.cv-tips-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 2rem;
}

.tips-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #003b4f;
    margin-bottom: 1.5rem;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    padding: 0.75rem 0;
    color: #495057;
    font-size: 0.95rem;
    border-bottom: 1px solid #f0f0f0;
}

.tips-list li:last-child {
    border-bottom: none;
}

/* ============================================
   DataTables Customization
   ============================================ */

.dataTables_wrapper .dataTables_filter input {
    border-radius: 20px;
    padding: 6px 12px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.dataTables_wrapper .dataTables_filter input:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* ============================================
   Responsive Styles
   ============================================ */

@media (max-width: 768px) {
    .card-body-section {
        padding: 1.5rem;
    }

    .card-header-section {
        padding: 1.5rem;
    }

    .filter-section {
        padding: 1rem;
    }

    .security-tips-card,
    .cv-tips-card {
        padding: 1.5rem;
    }
}

