body {
    background-color: #f8f9fa;
}

#sidebar-wrapper {
    min-height: 100vh;
    transition: margin 0.25s ease-out;
}

#page-content-wrapper {
    min-width: 0;
    width: 100%;
}

.list-group-item {
    border: none;
    border-radius: 0;
    padding: 1rem 1.5rem;
}

.list-group-item:hover {
    background-color: #343a40 !important;
    color: white !important;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.card {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,.075);
    margin-bottom: 1.5rem;
}

.table th {
    border-top: none;
    font-weight: 600;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.attendance-status {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-present {
    background-color: #d1e7dd;
    color: #0f5132;
}

.status-absent {
    background-color: #f8d7da;
    color: #842029;
}

.status-wfh {
    background-color: #cff4fc;
    color: #055160;
}
.status-present {
    background-color: #d1e7dd;
    color: #0f5132;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.status-absent {
    background-color: #f8d7da;
    color: #842029;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.status-wfh {
    background-color: #cff4fc;
    color: #055160;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.status-half-day {
    background-color: #fff3cd;
    color: #664d03;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.status-leave {
    background-color: #e2e3e5;
    color: #41464b;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}
/* Leave status badges */
.badge-leave-pending {
    background-color: #fff3cd;
    color: #856404;
}

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

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

/* Leave balance progress bars */
.progress {
    height: 8px;
}

.progress-bar {
    border-radius: 4px;
}

/* Leave application cards */
.leave-application {
    border-left: 4px solid #0d6efd;
    transition: all 0.3s;
}

.leave-application:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
/* Intern Management Styles */
.intern-card {
    transition: transform 0.3s;
    border-left: 4px solid #0dcaf0;
}

.intern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.intern-progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
    overflow: hidden;
}

.intern-progress-bar {
    height: 100%;
    transition: width 0.5s ease;
}

/* Status badges for interns */
.badge-intern-active {
    background-color: #d1e7dd;
    color: #0f5132;
}

.badge-intern-completed {
    background-color: #cff4fc;
    color: #055160;
}

.badge-intern-terminated {
    background-color: #f8d7da;
    color: #842029;
}

/* Checklist styles */
.checklist-item {
    padding: 0.5rem;
    border-bottom: 1px solid #dee2e6;
}

.checklist-item:last-child {
    border-bottom: none;
}

.checklist-item.completed {
    background-color: #d1e7dd;
    text-decoration: line-through;
}

/* Modal custom styles */
.modal-body .form-control {
    margin-bottom: 1rem;
}

/* Reports Module Styles */
.report-card {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: all 0.3s;
}

.report-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.report-summary {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.report-summary-item {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    min-width: 150px;
}

.summary-present { background-color: #d4edda; color: #155724; }
.summary-absent { background-color: #f8d7da; color: #721c24; }
.summary-wfh { background-color: #d1ecf1; color: #0c5460; }
.summary-leave { background-color: #fff3cd; color: #856404; }

/* Table styles for reports */
#reportTable th {
    background-color: #343a40;
    color: white;
    font-weight: 600;
    padding: 12px 8px;
}

#reportTable td {
    padding: 10px 8px;
    vertical-align: middle;
}

#reportTable tr:nth-child(even) {
    background-color: #f8f9fa;
}

#reportTable tr:hover {
    background-color: #e9ecef;
}

/* Filter styles */
.filter-section {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group label {
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .sidebar, .navbar, .filter-section {
        display: none !important;
    }
    
    body {
        background: white !important;
        font-size: 12pt !important;
    }
    
    .card {
        border: none !important;
        box-shadow: none !important;
    }
    
    table {
        page-break-inside: auto;
    }
    
    tr {
        page-break-inside: avoid;
        page-break-after: auto;
    }
}
/* Sidebar Toggle Button */
#sidebarToggle {
    transition: all 0.3s;
}

#sidebarToggle:hover {
    background-color: #6c757d;
    color: white;
}

/* Sidebar Animation */
#sidebar-wrapper {
    transition: margin-left 0.3s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    #sidebar-wrapper {
        margin-left: -250px;
        position: fixed;
        z-index: 1000;
        height: 100vh;
    }
    
    #sidebar-wrapper.show {
        margin-left: 0;
    }
    
    #page-content-wrapper {
        width: 100%;
    }
    
    .navbar {
        position: sticky;
        top: 0;
        z-index: 999;
    }
}

/* Role-Based Styles */
.role-badge {
    font-size: 0.75em;
    padding: 0.25em 0.5em;
    border-radius: 0.25em;
}

.badge-admin {
    background-color: #dc3545;
    color: white;
}

.badge-manager {
    background-color: #ffc107;
    color: black;
}

.badge-employee {
    background-color: #28a745;
    color: white;
}

/* Access Control Messages */
.access-denied {
    border-left: 4px solid #dc3545;
    background-color: #f8d7da;
    color: #721c24;
}

.access-granted {
    border-left: 4px solid #28a745;
    background-color: #d4edda;
    color: #155724;
}

/* Permission-based UI elements */
.hidden-for-role {
    display: none !important;
}

.visible-for-admin {
    display: block;
}

/* Responsive role indicators */
@media (max-width: 768px) {
    .role-badge {
        font-size: 0.7em;
        padding: 0.2em 0.4em;
    }
    
    .user-role-info {
        font-size: 0.85em;
    }
}

/* Role-specific card borders */
.card-admin {
    border-top: 3px solid #dc3545;
}

.card-manager {
    border-top: 3px solid #ffc107;
}

.card-employee {
    border-top: 3px solid #28a745;
}
/* Attendance Module Specific Styles */
.attendance-overview-card {
    border-left: 4px solid #0d6efd;
}

.attendance-present-card {
    border-left: 4px solid #28a745;
}

.attendance-absent-card {
    border-left: 4px solid #dc3545;
}

.attendance-wfh-card {
    border-left: 4px solid #17a2b8;
}

/* Status pills */
.status-pill {
    padding: 0.25rem 0.75rem;
    border-radius: 50rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-present-pill {
    background-color: #d4edda;
    color: #155724;
}

.status-absent-pill {
    background-color: #f8d7da;
    color: #721c24;
}

.status-wfh-pill {
    background-color: #d1ecf1;
    color: #0c5460;
}

.status-half-day-pill {
    background-color: #fff3cd;
    color: #856404;
}

/* Attendance table styles */
.attendance-table th {
    background-color: #343a40;
    color: white;
}

.attendance-table tr:hover {
    background-color: #f8f9fa;
}

/* Role-based attendance view */
.admin-attendance-view .badge {
    background-color: #dc3545;
}

.manager-attendance-view .badge {
    background-color: #ffc107;
    color: black;
}

.employee-attendance-view .badge {
    background-color: #28a745;
}
/* Clock System Styles */
#currentTime {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.clock-button {
    transition: all 0.3s;
    border: 2px solid transparent;
}

.clock-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.clock-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Status indicators */
.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.status-checked-in { background-color: #28a745; }
.status-checked-out { background-color: #dc3545; }
.status-pending { background-color: #ffc107; }
.status-absent { background-color: #6c757d; }

/* Alert animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert.position-fixed {
    animation: slideInRight 0.3s ease-out;
}

/* Weekly table styling */
.week-table tr:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}

.week-table .today {
    background-color: #e7f3ff !important;
}

/* Break time styles */
.break-record {
    border-left: 3px solid #17a2b8;
    padding-left: 10px;
    margin-bottom: 10px;
}

/* Time picker enhancement */
input[type="time"] {
    font-family: 'Courier New', monospace;
}

/* Loading spinner for buttons */
.btn .spinner-border {
    margin-right: 5px;
}