@font-face {
  font-family: 'Gotham Book';
  src: url('../fonts/Gotham-Book.woff2') format('woff2'),
       url('../fonts/Gotham-Book.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.header h1 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 8px;
    font-weight: normal;
}

.header p {
    color: #6c757d;
    font-size: 1rem;
}

.controls {
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}


.filter-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-section label {
    font-weight: bold;
    color: #495057;
}

.filter-section select {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    color: #495057;
    min-width: 180px;
}

.filter-section select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.stats {
    color: #6c757d;
    font-size: 14px;
}

/* DataTables Styling */
.dataTables_wrapper {
    margin-top: 20px;
}

.dataTables_filter {
    margin-bottom: 15px;
}

.dataTables_filter label {
    font-weight: bold;
    color: #495057;
}

.dataTables_filter input {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin-left: 8px;
    font-size: 14px;
}

.dataTables_filter input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.dataTables_length select {
    padding: 6px 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: white;
    margin: 0 8px;
}

/* Table Styling */
#staffTable {
    width: 100% !important;
    border-collapse: collapse;
    background: white;
    border: 1px solid #dee2e6;
}

#staffTable thead th {
    background-color: #f8f9fa;
    color: #495057;
    font-weight: bold;
    padding: 15px 12px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
    font-size: 13px;
}

#staffTable tbody tr {
    border-bottom: 1px solid #dee2e6;
}

#staffTable tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

#staffTable tbody tr:hover {
    background-color: #e9ecef;
}

#staffTable tbody td {
    padding: 12px;
    vertical-align: middle;
    font-size: 13px;
    font-family: 'Gotham Book', sans-serif;;
}

.hidden-search {
    display: none;
}

.staff-photo {
    width: 100px;
    height: 120px;
    border-radius: 4px;
    object-fit: cover;
    object-position: top center;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: 0.2s ease;
}

.staff-photo:hover {
    opacity: 0.7;
    border-color: #007bff;
}

/* Staff Info */

.staff-email a:hover {
    text-decoration: none;
}

.company-logo {
    display: block;
    margin: 0 auto 10px auto;
    /* center horizontally and add spacing below */
    max-width: 200px;
    height: auto;
    cursor: pointer;
}

.logo-link {
    display: block;
    text-align: center;
}

.result-count {
    margin-top: 10px;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-size: 14px;
}


/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 10px;
    }

    .header h1 {
        font-size: 1.5rem;
    }

    .controls {
        flex-direction: column;
        align-items: flex-start;
    }

    #staffTable {
        font-size: 13px;
    }

    #staffTable tbody td {
        padding: 10px 8px;
    }

    .staff-photo {
        width: 40px;
        height: 40px;
    }
}