﻿
/*Core*/
/*.tool-button {
    @extend .bg-light;
    border: none;
    text-shadow: none;
}*/


.save-and-close-button span.button-inner {
    /*background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFW…Rz+k154Q7Kjby/ZM7ldxqiw4f6YkOFVpDHDe1fU98r/gowAMaC+CTtivcaAAAAAElFTkSuQmCC);*/
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAA0UlEQVQ4jWNgoBAwMjAwMHSXLvyPLPic/SvDl78/MRTzsLAzSP/i7yvujC6GibHAGIEJgQwMDAwMr55+YViwfyVDdVEyhgGtfXMZOHk40vsqFjMWdcQWMTAwMDAR48zpC1bB2fZedtwc3FxpfRWL+4g2ABmwc7Az2HvZcf/9+68QxQswwMrGzCAhJMrQ2jcXw/my4hJwQ2AAwwBBUU6GOC8/ol1EshfQAYYLlLV48Wq4e+0zjV3AwMDAcPgldsW24kQagE3hEHDB+gXriddFTQAAHYUwiiZ5FJkAAAAASUVORK5CYII=);
    box-shadow: none;
}

.s-Panel {
    background: #fff;
    border-top: 3px solid #000000;
}

.ui-dialog .ui-dialog-titlebar {
    background-color: darkcyan;
    text-align: center;
}

.dataTables_scrollBody {
    height: 100% !important;
}

.main-header .sidebar-toggle {
    padding: 10px 10px;
    font-size: 20px;
}

.fa-sliders {
    font-size: 20px;
}

@media (min-width: 1200px) {
    .main-header .logo i {
        animation: none;
    }
}

.slick-header-columns .slick-header-columns-right .ui-sortable {
    background: green;
}

.s-PropertyGrid .category-links {
    background: brown;
    border-radius: 2px;
    border: 1px;
    margin-bottom: 6px;
}

.grid-title, .panel-titlebar {
    text-align: center;
    /*menu nav bar*/
}

.main-header .sidebar-toggle {
    padding: 10px;
}

.navbar-nav > .user-menu > .dropdown-menu {
    width: 320px;
}

.main-header .logo i {
    background: url(../images/arlogo_32.png) no-repeat center center;
    background-size: cover;
    width: 100px;
}
/*end*/



/*.fixedContainer {
    position: fixed;
    width: 250px;
    height: auto;
    top: 130px;
    
}*/

.fixedLeftContainer {
    position: fixed;
    width: 230px;
    height: auto;
    margin-left: 10px;
    top: 130px;
    /*half the width*/
}
/*Pharmacy POS*/
.barcodeScanning {
    border-radius: 0px;
    background: #4a4a4a;
    color: #96f226;
    border: 1px solid #454545;
    height: 0 0 30px;
}

    .barcodeScanning:hover {
        background: #656565
    }

    .barcodeScanning:active {
        box-shadow: 0 0 30px #96f226
    }

    .barcodeScanning:focus {
        box-shadow: 0 0 30px #96f226
    }

    .barcodeScanning .ui-tooltip {
        background: #4a4a4a;
        color: #96f226;
        border: 2px solid #454545;
        border-radius: 0px;
        box-shadow: 0 0
    }

.ui-autocomplete {
    background: #4a4a4a;
    border-radius: 0px;
}

ui-autocomplete.source:hover {
    background: #454545;
}

.ui-menu .ui-menu-item a {
    background: red;
    height: 10px;
    font-size: 8px;
}
/*End*/
.skin-blue .main-header .navbar {
    background-color: green;
}

.skin-blue .main-header .logo {
    background-color: #7f36aa;
}

section.content > .s-DataGrid {
    border-top: 3px solid #7f36aa;
}

.newCondition {
    background-color: lightyellow;
}

.removedRow {
    background-color: red !important;
}
.notRevRegistered {
    background-color: rgb(240, 227, 171) !important;
}
.newApprovedCondition {
    background-color: lightgreen;
}

.rejectedCondition {
    background-color: #ffd9d9;
}



.control-sidebar-dark, .control-sidebar-dark + .control-sidebar-bg {
    background-color: #f9fafc;
}

    .control-sidebar-dark .control-sidebar-heading, .control-sidebar-dark .control-sidebar-subheading {
        color: black;
    }

.slider.slider-horizontal {
    width: 100%;
}
/* 
.s-Default-BeneficiaryEvaluationGrid {
    height: 665px !important;
} */

.fc-time-grid-container {
    height: 590px !important;
}

.content {
    padding-top: 0px;
}


.fc-view-container {
    overflow-x: scroll;
}

.fc-agendaWeek-view.fc-agenda-view {
}
/* **For 2 day view** */
.fc-agendaTwoDay-view.fc-agenda-view {
}

.fc-axis {
}

.no-events {
    background-color: #ddd;
}

.fc-resource-cell {
    border-width: 4px;
    background-color: wheat;
    border-color: black !important;
}

.fa-sat {
    border-left-width: 4px;
    border-color: black !important;
}

.Tatweer_Default_AppointmentDialog4_Saturday.Tatweer_Default_AppointmentDialog4_Sunday.Tatweer_Default_AppointmentDialog4_Monday
.Tatweer_Default_AppointmentDialog4_Tuesday.Tatweer_Default_AppointmentDialog4_Wednesday.Tatweer_Default_AppointmentDialog4_Thursday {
    width: 70px;
}

.fc-time .fc-title {
    font-size: small;
}

.stats_box .stat_text strong {
    margin-bottom: 13px;
}

.s-PatientRelationRecordDialog {
    height: 600px;
    width: 900px;
}

#s2id_TemporaryStropAbbreviation {
    padding: 0px;
    border: none;
}


/* .slick-cell {
    height: 30px !important;
} */

.edit {
    /*width: 100% !important;*/
}

.jvDetailsGridSize {
    height: 500px !important;
}


.excludedAsset {
    background-color: lightgray;
    color: red;
}

/*
.s-Form label.caption {
    margin-bottom: 2px;
    text-align: left;
    flex-basis: 100%;
}

.flex-layout .field {
    flex-wrap: wrap;
}
*/

.newCondition {
    background-color: yellow !important;
    font-weight: bold;
}

.VacationCondition {
    background-color: green !important;
    font-weight: bold;
}

.AbsentByManager {
    background-color: mediumvioletred !important;
    font-weight: bold;
}

.NotShown {
    background-color: red !important;
    font-weight: bold;
}

.unPaidVaction {
    background-color: blanchedalmond !important;
    font-weight: bold;
}

.LowPeriotiry {
    color: blue;
    font-weight: bold;
}

.HighPeriority {
    color: red;
    font-weight: bolder;
}

.category-links {
    background: lightseagreen !important;
}

.content-header {
    padding: 0px;
}

.content-wrapper {
    padding-top: 30px;
}
.control-sidebar-bg,
.control-sidebar {
  top: 0;
  right: -500px;
  width: 500px;
  -webkit-transition: right 0.3s ease-in-out;
  -o-transition: right 0.3s ease-in-out;
  transition: right 0.3s ease-in-out;
}

.s-LoginPanel .s-Form .caption {
  margin-top: 10px;
  transition: 0.5s ease all;
  pointer-events: none;

  padding: 6px 10px;
  color: blue;
  position: static;
  top: 20px;
  left: 150px;
  font-size: 16px;

}

/* Workflow Steps Styles */
.workflow-steps-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px;
    max-height: 150px;
    overflow-y: auto;
}

.workflow-step {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 4px;
    background-color: #f8f9fa;
    border-left: 3px solid #dee2e6;
    font-size: 12px;
    cursor: help;
    transition: background-color 0.2s;
}

.workflow-step:hover {
    background-color: #e9ecef;
}

.workflow-step.pending {
    border-left-color: #ffc107;
}

.workflow-step.approved {
    border-left-color: #28a745;
}

.workflow-step.rejected {
    border-left-color: #dc3545;
}

.workflow-step i {
    margin-right: 6px;
    width: 14px;
}

.workflow-step .step-name {
    font-weight: 500;
    margin-right: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.workflow-step .approver-name {
    color: #6c757d;
    font-size: 11px;
    margin-right: 4px;
    white-space: nowrap;
}

.workflow-step .action-date {
    color: #adb5bd;
    font-size: 10px;
    margin-left: auto;
    white-space: nowrap;
}

/* Optional: Compact view for when space is limited */
.workflow-steps-compact {
    display: flex;
    gap: 4px;
    align-items: center;
}

.workflow-step-compact {
    cursor: help;
    font-size: 14px;
    padding: 2px;
}

.workflow-step-compact i {
    transition: transform 0.2s;
}

.workflow-step-compact:hover i {
    transform: scale(1.2);
}

/* Workflow Enhanced Styles */
.workflow-enhanced-container {
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 12px;
}

.workflow-progress {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    margin-bottom: 10px;
    overflow: hidden;
}

.workflow-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.workflow-current-step {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    padding: 6px;
    background: #fff;
    border-radius: 4px;
    border-left: 3px solid #007bff;
}

.workflow-current-step[dir="rtl"] {
    border-left: none;
    border-right: 3px solid #007bff;
}

.workflow-current-step .current-step-label {
    color: #6c757d;
    font-size: 11px;
}

.workflow-current-step .current-step-name {
    font-weight: 600;
    color: #495057;
    flex: 1;
}

.workflow-current-step .current-step-status {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
}

.workflow-current-step .current-step-status.pending {
    background: #fff3cd;
    color: #856404;
}

.workflow-current-step .current-step-status.approved {
    background: #d4edda;
    color: #155724;
}

.workflow-current-step .current-step-status.rejected {
    background: #f8d7da;
    color: #721c24;
}

.workflow-next-step {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 4px 6px;
    background: #e8f4fd;
    border-radius: 4px;
    border-left: 3px solid #17a2b8;
}

.workflow-next-step[dir="rtl"] {
    border-left: none;
    border-right: 3px solid #17a2b8;
}

.workflow-next-step .next-step-label {
    color: #6c757d;
    font-size: 11px;
}

.workflow-next-step .next-step-name {
    font-weight: 500;
    color: #17a2b8;
}

.workflow-steps-compact {
    display: flex;
    gap: 4px;
    margin: 8px 0;
    justify-content: center;
}

.step-indicator {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    transition: all 0.2s;
}

.step-indicator:hover {
    transform: scale(1.1);
    z-index: 1;
}

.step-indicator i {
    font-size: 14px;
    color: #6c757d;
}

.step-indicator.approved {
    border-color: #28a745;
    background: #d4edda;
}

.step-indicator.approved i {
    color: #28a745;
}

.step-indicator.rejected {
    border-color: #dc3545;
    background: #f8d7da;
}

.step-indicator.rejected i {
    color: #dc3545;
}

.step-indicator.current {
    border-color: #007bff;
    background: #cce5ff;
    animation: pulse 2s infinite;
}

.step-indicator.current i {
    color: #007bff;
}

.step-indicator.pending {
    border-color: #ffc107;
    background: #fff3cd;
}

.step-indicator .step-number {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #6c757d;
    color: white;
    font-size: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-overall-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 6px;
}

.workflow-overall-status.completed {
    background: #d4edda;
    color: #155724;
}

.workflow-overall-status.in.progress {
    background: #cce5ff;
    color: #004085;
}

.workflow-overall-status.rejected {
    background: #f8d7da;
    color: #721c24;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

/* Tooltip styling */
.step-indicator:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 5px;
}

/* RTL Support */
[dir="rtl"] .workflow-current-step {
    border-left: none;
    border-right: 3px solid #007bff;
}

[dir="rtl"] .workflow-next-step {
    border-left: none;
    border-right: 3px solid #17a2b8;
}

[dir="rtl"] .step-indicator .step-number {
    right: auto;
    left: -6px;
}

/* Workflow Enhanced Styles */
.workflow-enhanced-container {
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 12px;
}

.workflow-progress {
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    margin-bottom: 10px;
    overflow: hidden;
}

.workflow-progress .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #20c997);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.workflow-current-step {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    padding: 6px;
    background: #fff;
    border-radius: 4px;
    border-left: 3px solid #007bff;
}

.workflow-current-step[dir="rtl"] {
    border-left: none;
    border-right: 3px solid #007bff;
}

.workflow-current-step .current-step-label {
    color: #6c757d;
    font-size: 11px;
}

.workflow-current-step .current-step-name {
    font-weight: 600;
    color: #495057;
    flex: 1;
}

.workflow-current-step .current-step-status {
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
}

.workflow-current-step .current-step-status.pending {
    background: #fff3cd;
    color: #856404;
}

.workflow-current-step .current-step-status.approved {
    background: #d4edda;
    color: #155724;
}

.workflow-current-step .current-step-status.rejected {
    background: #f8d7da;
    color: #721c24;
}

.workflow-next-step {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding: 4px 6px;
    background: #e8f4fd;
    border-radius: 4px;
    border-left: 3px solid #17a2b8;
}

.workflow-next-step[dir="rtl"] {
    border-left: none;
    border-right: 3px solid #17a2b8;
}

.workflow-next-step .next-step-label {
    color: #6c757d;
    font-size: 11px;
}

.workflow-next-step .next-step-name {
    font-weight: 500;
    color: #17a2b8;
}

.workflow-steps-compact {
    display: flex;
    gap: 4px;
    margin: 8px 0;
    justify-content: center;
}

.step-indicator {
    position: relative;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: help;
    transition: all 0.2s;
}

.step-indicator:hover {
    transform: scale(1.1);
    z-index: 1;
}

.step-indicator i {
    font-size: 14px;
    color: #6c757d;
}

.step-indicator.approved {
    border-color: #28a745;
    background: #d4edda;
}

.step-indicator.approved i {
    color: #28a745;
}

.step-indicator.rejected {
    border-color: #dc3545;
    background: #f8d7da;
}

.step-indicator.rejected i {
    color: #dc3545;
}

.step-indicator.current {
    border-color: #007bff;
    background: #cce5ff;
    animation: pulse 2s infinite;
}

.step-indicator.current i {
    color: #007bff;
}

.step-indicator.pending {
    border-color: #ffc107;
    background: #fff3cd;
}

.step-indicator .step-number {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #6c757d;
    color: white;
    font-size: 8px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-overall-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-top: 6px;
}

.workflow-overall-status.completed {
    background: #d4edda;
    color: #155724;
}

.workflow-overall-status.in.progress {
    background: #cce5ff;
    color: #004085;
}

.workflow-overall-status.rejected {
    background: #f8d7da;
    color: #721c24;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

/* Tooltip styling */
.step-indicator:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 5px;
}

/* RTL Support */
[dir="rtl"] .workflow-current-step {
    border-left: none;
    border-right: 3px solid #007bff;
}

[dir="rtl"] .workflow-next-step {
    border-left: none;
    border-right: 3px solid #17a2b8;
}

[dir="rtl"] .step-indicator .step-number {
    right: auto;
    left: -6px;
}

/* Workflow Modal Styles */
.workflow-steps-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.workflow-steps-table th,
.workflow-steps-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
}

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

.status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.status-approved {
    background-color: #d4edda;
    color: #155724;
}

.status-badge.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

.status-badge.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-badge.status-inprogress {
    background-color: #cce5ff;
    color: #004085;
}

.clickable-progress {
    cursor: pointer;
    transition: opacity 0.2s;
}

.clickable-progress:hover {
    opacity: 0.8;
}

.clickable-step {
    cursor: pointer;
}

.step-detail-table {
    width: 100%;
    margin-top: 15px;
}

.step-detail-table th {
    width: 120px;
    padding: 10px;
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.step-detail-table td {
    padding: 10px;
    border-bottom: 1px solid #dee2e6;
}

/* RTL Support */
[dir="rtl"] .workflow-steps-table th,
[dir="rtl"] .workflow-steps-table td {
    text-align: right;
}

.modal-content {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.modal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-radius: 8px 8px 0 0;
}

.modal-title {
    font-weight: 600;
    color: #495057;
}

/* Add to your existing styles */
.modal {
    animation: fadeIn 0.3s;
}

.modal-content {
    animation: slideIn 0.3s;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.close-modal {
    color: #aaa;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--primary);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.stat-mini-chart {
    cursor: pointer;
}



/* Add to your existing styles */
.chart-container {
    position: relative;
    overflow: visible;
}

.chart-detail-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    background: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.2rem;
}

.chart-detail-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    background: var(--secondary);
    color: white;
}

.chart-detail-btn i {
    pointer-events: none;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s;
}

.modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 1100px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #aaa;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 101;
}

.close-modal:hover {
    color: var(--danger);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Statistics Summary Cards */
.stats-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.stat-summary-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-summary-card .stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-summary-card .stat-value {
    font-size: 2.2rem;
    font-weight: bold;
    line-height: 1.2;
}

.stat-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 25px 0;
    padding: 25px;
    background: var(--light-gray);
    border-radius: 12px;
}

.stat-item {
    text-align: center;
}

.stat-item-label {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.stat-item-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 5px;
}

.data-table-container {
    max-height: 400px;
    overflow-y: auto;
    margin: 25px 0;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 10;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--primary);
    border-bottom: 2px solid var(--border);
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
}

.data-table tr:hover {
    background: rgba(52, 152, 219, 0.05);
}

.highlight-value {
    font-weight: bold;
    color: var(--secondary);
    font-size: 1.1rem;
}

.progress-bar-container {
    width: 150px;
    height: 8px;
    background: var(--light-gray);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), #2980b9);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--light-gray);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 30px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.modal-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.btn-icon {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-icon i {
    margin-right: 8px;
}

.btn-primary {
    background: var(--secondary);
    color: blue;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--primary);
}

.btn-secondary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* Add to your existing styles */

/* Employee list styles */
.employee-list-container {
    margin-top: 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
}

.employee-list-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.employee-list-header h4 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.employee-list-content {
    max-height: 400px;
    overflow-y: auto;
    transition: max-height 0.3s ease;
}

.employee-list-content.collapsed {
    max-height: 0;
    overflow: hidden;
}

.employee-table {
    width: 100%;
    border-collapse: collapse;
}

.employee-table th {
    background: var(--light-gray);
    padding: 12px;
    text-align: left;
    position: sticky;
    top: 0;
    z-index: 5;
}

.employee-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border);
}

.employee-table tr:hover {
    background: rgba(52, 152, 219, 0.05);
    cursor: pointer;
}

.employee-detail-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-active {
    background: rgba(46, 204, 113, 0.2);
    color: var(--success);
}

.badge-inactive {
    background: rgba(231, 76, 60, 0.2);
    color: var(--danger);
}

.clickable-number {
    cursor: pointer;
    color: var(--secondary);
    font-weight: bold;
    text-decoration: underline;
    text-decoration-style: dotted;
}

.clickable-number:hover {
    color: var(--primary);
    transform: scale(1.05);
}

/* Print styles */
@media print {
    body * {
        visibility: hidden;
    }
    
    #chartDetailModal,
    #chartDetailModal * {
        visibility: visible;
    }
    
    #chartDetailModal {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        background: white;
        padding: 20px;
    }
    
    .modal-content {
        box-shadow: none;
        margin: 0;
        padding: 0;
        max-width: 100%;
    }
    
    .chart-detail-btn,
    .modal-actions,
    .close-modal,
    .employee-list-header i.fa-chevron-down,
    .employee-list-header i.fa-chevron-up {
        display: none !important;
    }
    
    .employee-list-content {
        max-height: none !important;
        overflow: visible !important;
    }
    
    .employee-table {
        page-break-inside: auto;
    }
    
    .employee-table tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }
    
    .stats-summary-grid {
        page-break-inside: avoid;
    }
    
    .stat-comparison {
        page-break-inside: avoid;
    }
    
    @page {
        size: landscape;
        margin: 1cm;
    }
}

/* Add to your existing CSS */
.chart-container {
    position: relative;
}

.chart-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border-radius: var(--radius);
}

.chart-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--light-gray);
    border-top-color: var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

.chart-loading-text {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.chart-error {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border-radius: var(--radius);
    color: var(--danger);
}

.chart-error i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.chart-error p {
    font-size: 0.9rem;
    text-align: center;
    padding: 0 20px;
}

.clickable-number {
    cursor: pointer;
    color: var(--secondary);
    text-decoration: underline;
    text-decoration-style: dotted;
    transition: color 0.2s;
}

.clickable-number:hover {
    color: #2980b9;
    text-decoration-style: solid;
}

.employee-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 8px;
    transition: background 0.2s;
}

.employee-list-header:hover {
    background: #e9ecef;
}

.employee-list-content {
    transition: max-height 0.3s ease;
    overflow: hidden;
}

.employee-list-content.collapsed {
    max-height: 0;
}

.employee-table tr:hover {
    background: rgba(52, 152, 219, 0.05);
}

.employee-detail-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-active {
    background: rgba(46, 204, 113, 0.2);
    color: var(--success);
}

.badge-inactive {
    background: rgba(231, 76, 60, 0.2);
    color: var(--danger);
}