/* === GOVERMENT-STYLE STAFF PAGE === */
.gov-page-hero {
    background: linear-gradient(135deg, #0d2b4f 0%, #1a3a6c 60%, #1d4e89 100%);
    padding: 40px 0;
    position: relative;
    color: #fff;
}
.gov-page-hero::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0; right: 0;
    height: 30px;
    background: #f4f7fb;
    clip-path: ellipse(55% 100% at 50% 100%);
}
.gov-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 12px;
}
.gov-breadcrumb a { color: rgba(255,255,255,0.85); text-decoration: none; }
.gov-breadcrumb a:hover { color: #f59e0b; }
.gov-breadcrumb i { font-size: 0.7rem; opacity: 0.5; }
.gov-page-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.gov-page-subtitle {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    margin-top: 6px;
}

/* Filter Box */
.gov-filter-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    padding: 24px;
    margin-top: -20px;
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}
.gov-form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
    display: block;
}
.gov-form-control, .gov-form-select {
    width: 100%;
    height: 42px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 0.9rem;
    color: #1f2937;
    background: #fcfcfc;
    transition: border-color 0.2s;
}
.input-group .gov-form-control {
    width: auto;
    flex: 1 1 auto;
}
.gov-form-control:focus, .gov-form-select:focus {
    border-color: #1d4e89;
    outline: none;
    box-shadow: 0 0 0 3px rgba(29,78,137,0.1);
    background: #fff;
}
.gov-btn-primary {
    background: linear-gradient(135deg, #1d4e89, #163d6d);
    color: #fff;
    border: 1px solid #163d6d;
    border-radius: 4px;
    height: 42px;
    padding: 0 24px;
    font-weight: 600;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.gov-btn-primary:hover {
    background: linear-gradient(135deg, #163d6d, #0d2b4f);
    color: #fff;
}
.gov-btn-outline {
    background: #fff;
    color: #1d4e89;
    border: 1px solid #1d4e89;
    border-radius: 4px;
    height: 42px;
    padding: 0 20px;
    font-weight: 600;
    transition: 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.gov-btn-outline:hover {
    background: #f4f7fb;
}

/* Table Styling */
.gov-staff-table-wrap {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
}

/* Mobile Horizontal Scroll UI */
@media (max-width: 991px) {
    .gov-staff-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin-bottom: 24px;
    }
    .gov-staff-table {
        min-width: 800px; /* Ensure table doesn't squash */
    }
    
    /* Indicate scroll capability */
    .gov-staff-table-wrap::after {
        content: 'Scroll →';
        position: absolute;
        right: 10px;
        bottom: 10px;
        background: rgba(29, 78, 137, 0.8);
        color: #fff;
        font-size: 0.65rem;
        padding: 2px 8px;
        border-radius: 10px;
        pointer-events: none;
        animation: fadeOut 3s forwards;
    }
}

@keyframes fadeOut {
    0% { opacity: 1; }
    70% { opacity: 1; }
    100% { opacity: 0; }
}

.gov-staff-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}
.gov-staff-table thead th {
    background: #1d4e89;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    padding: 16px;
    text-align: left;
    border: none;
}
.gov-staff-table tbody tr {
    transition: background-color 0.2s;
}
.gov-staff-table tbody tr:hover {
    background-color: #f8fafc;
}
.gov-staff-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #334155;
    vertical-align: middle;
}
.gov-staff-table tr:last-child td {
    border-bottom: none;
}
.staff-table-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    padding: 2px;
    background: #fff;
    transition: transform 0.2s;
}
.staff-table-avatar:hover {
    transform: scale(1.1);
}
.staff-name-link {
    color: #1e293b;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}
.staff-name-link:hover {
    color: #1d4e89;
}
.staff-role-badge {
    display: inline-block;
    background: #eff6ff;
    color: #1d4e89;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid #dbeafe;
    white-space: nowrap;
}
.staff-dept-text {
    color: #64748b;
    font-size: 0.85rem;
}
.staff-contact-link {
    color: #475569;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
    font-size: 0.85rem;
}
.staff-contact-link:hover {
    color: #1d4e89;
}
.staff-contact-link i {
    color: #94a3b8;
    font-size: 0.8rem;
    width: 14px;
}
.gov-btn-view {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}
.gov-btn-view:hover {
    background: #1d4e89;
    color: #fff;
    border-color: #1d4e89;
}

/* Printing */
@media print {
    .gov-page-hero, .gov-filter-box, .gov-btn-view, .gov-breadcrumb {
        display: none !important;
    }
    .container-fluid {
        padding: 0 !important;
    }
    .gov-staff-table-wrap {
        border: none;
        box-shadow: none;
    }
}
