/* General Container */
.dashboard-container {
    padding: 15px;
}

/* Personnel Section */
.personnel-section {

    position: sticky;
    top: 0;
    z-index: 1000; 
    background-color: #fff; 
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.personnel-section h1 {
    font-size: 24px;
    text-align: center;
    color: #333;
}

/* Personnel Table Container */
.personnel-table-container {
    padding: 5px;
    margin-top: 0px;
}


/* Custom border for table */
.personnel-table-container table.custom-table th,
.personnel-table-container table.custom-table td {
    text-align: center; 
    padding: 10px; 
}

/* Styling for table header */
.personnel-table-container table.custom-table th {
    background-color: #e9ecef; 
    color: #333; 
    font-weight: bold;
}

.personnel-table-container table.custom-table tbody tr:hover {
    background-color: #e9ecef; 
}

.personnel-table-container table.custom-table.dataTable tbody tr.selected > * {
    background-color: #003459 ; 
    color: #fff ; 
    box-shadow: inset 0 0 0 9999px #003459 ; 
}



/* Section Divider */
.section-divider {
    /*border: 2px solid #dee2e6;*/
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Tabs Section */
.tabs-section {
    margin-top: 20px; 
    padding: 10px 15px; 
    background-color: #ffffff;
    border-radius: 8px; 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); 
}

.nav-tabs .nav-link {
    color: #003459; 
    font-weight: bold;
    background-color: #F2F5F8;
    margin-right: 10px;
    font-size: 1rem;
    line-height: 2.25rem;
    font-family: 'halyard-display', sans-serif;
    text-align: center;
}

.nav-tabs .nav-link.active {
    background-color: #003459; 
    color: white; 
}

.nav-tabs .nav-link:hover {
    border: 2px solid #003459;
}




.tab-content {

    padding: 15px; 

}


/* Employee tab styling */
#profileTab {
    padding: 20px; 
}

/* Form field row styling */
.row {
    margin-bottom: 15px; 
}

/* Form styling */
.form-label {
    font-weight: bold; 
    color: #495057; 
}

.form-control {
    border-radius: 4px; 
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075); 
}




.btn-action {
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background-color: #6c757d;
    border-color: #6c757d;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
}

.btn-action:hover {
    background-color: #6c757d;
    border-color: #6c757d;
}

 .btn-action:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Styling for last updated text */
#recordUpdateText {
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    color: #6c757d; 
}

#recordUpdateDate {
    font-style: italic;
    color: #495057; 
}






/* Styling for the Appointments Tab */





/* Custom border for table */
.appointments-table-container table.custom-table th,
.appointments-table-container table.custom-table td {
    text-align: center; 
    padding: 10px; 
}

/* Styling for table header */
.appointments-table-container table.custom-table th {
    background-color: #e9ecef; 
    color: #333; 
    font-weight: bold;
}

.appointments-table-container table.custom-table tbody tr:hover {
    background-color: #e9ecef; /
}

.appointments-table-container table.custom-table.dataTable tbody tr.selected > * {
    background-color: #003459 ; 
    color: #fff ; 
    box-shadow: inset 0 0 0 9999px #003459 ; 
}








/* Accordion Styling */
.accordion-header .accordion-button {
    font-size: 16px;
    font-weight: 500;
    background-color: #85898a;
    color: #fff;
    border-radius: 0;
    border: none;
}

.accordion-header .accordion-button:focus {
    box-shadow: none;
}

.accordion-header .accordion-button:not(.collapsed) {
    background-color: #6c757d; 
    color: #fff;
}

.accordion-body {
    padding: 1rem;
    background-color: #f8f9fa;
}

/* Table Styling */
.table.custom-table th,
.table.custom-table td {
    border: 1px solid #ddd;
    text-align: center;
    vertical-align: middle;
    padding: 8px;
}

.table.custom-table th {
    background-color: #f1f1f1;
    font-weight: bold;
}

.table.custom-table tbody tr:hover {
    background-color: #e9ecef;
}

/* Custom Button Styling */
.accordion-header .accordion-button::after {
    font-size: 1.25rem;
}


.card-header {
    background-color: #f8f9fa; 
    color: #333;
    font-weight: bold;
    padding: 10px;
}

.card-header button {
    text-decoration: none;
    color: #003459;
    font-size: 14px;
    font-weight: bold;
}

.card-header button:hover {
    color: #0056b3; 
}

.card-body {
    padding: 15px;
    background-color: #ffffff; 
    border-top: 1px solid #ddd; 
}

.card-body .row {
    margin-bottom: 10px;
}

.card-body p {
    margin: 0;
    font-size: 14px; 
    color: #333; 
    margin-bottom: 5px;
    font-size: 14px;
}

.card-body strong {
    color: #000; 
}


.card-body h6 {
    font-size: 14px;
    color: #003459; 
    margin-bottom: 10px;
}






.table-responsive {
    max-height: 800px; 
    overflow-y: auto;
}

.table th, .table td {
    white-space: nowrap; 
}






/*

.editable-table input.editable-input {
    width: 100%;
    padding: 8px; 
    border: 1px solid #ccc; 
    border-radius: 4px; 
    box-sizing: border-box; 
}

.editable-table button {
    margin: 0;
    padding: 4px 8px; 
    width: 100%; 
}

.editable-table th, .editable-table td {
    padding: 12px; 
    white-space: nowrap;
}

.editable-table td {
    vertical-align: middle; 
}

.editable-table .delete-row {
    background-color: #ff6666; 
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
*/


/* Custom CSS for the GFM dashboard */

.kgs-value {
    font-weight: bold;
    color: #0d6efd;   
  }
  
  .ku-value {
    font-style: italic;
    color: #198754;       
  }
  
  .badge-diff {
    display: inline-block;
    width: 0.75rem;
    height: 0.75rem;
    margin-left: 0.25rem;
    vertical-align: middle;
    border-radius: 0.25rem;
  }
  
  .badge-warning-diff { background-color: #ffc107; }  
  .badge-danger-missing { background-color: #dc3545; } 
  


.highlight-warning td {
    background-color: rgba(255, 193, 7, 0.15);  
    color: #856404;                              
  }
  
  .highlight-danger td {
    background-color: rgba(220, 53, 69, 0.15);  
    color: #721c24;                             
  }
  
  .highlight-warning td:first-child {
    border-left: 4px solid #ffc107;
  }
  .highlight-danger td:first-child {
    border-left: 4px solid #dc3545;
  }
  
  