/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

/* Screen Management */
.screen {
    display: none;
}

.screen.active {
    display: block;
}

/* Login Screen */
#login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}


#login-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff" fill-opacity="0.05" points="0,1000 1000,0 1000,1000"/></svg>');
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 420px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header i {
    font-size: 3.5rem;
    color: #667eea;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-header h1 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 2.2rem;
    font-weight: 700;
}

.login-header p {
    color: #7f8c8d;
    font-size: 1rem;
}

/* App Layout with Sidebar */
#app-screen {
    display: none;
}

.app-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.app-sidebar {
    width: 280px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 3px 0 20px rgba(0,0,0,0.1);
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.sidebar-header i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.sidebar-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.sidebar-nav {
    padding: 1.5rem 0;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: #bdc3c7;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.nav-item i {
    width: 20px;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.nav-item:hover {
    background: rgba(255,255,255,0.05);
    color: white;
    border-left-color: #3498db;
}

.nav-item.active {
    background: rgba(52, 152, 219, 0.1);
    color: white;
    border-left-color: #3498db;
}

.nav-item.active i {
    color: #3498db;
}

/* Main Content Area */
.app-main-content {
    flex: 1;
    margin-left: 280px;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Top Header */
.app-topbar {
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    color: #2c3e50;
}

.user-role {
    font-size: 0.85rem;
    color: #7f8c8d;
}

/* Role Specific Dashboard */
.role-specific-dashboard {
    margin-bottom: 2rem;
}

.personal-stats,
.team-overview,
.system-overview {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 1.5rem;
}

.personal-stats h3,
.team-overview h3,
.system-overview h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
    font-size: 1.2rem;
}

/* Access Control Styles */
.access-denied {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.access-denied i {
    font-size: 4rem;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.access-denied h3 {
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

/* Content Wrapper */
.content-wrapper {
    padding: 2rem;
}

.content-section {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.content-section.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Section Header */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.section-header h2 {
    color: #2c3e50;
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-header h2 i {
    color: #3498db;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.stat-card:nth-child(1) { border-left-color: #3498db; }
.stat-card:nth-child(2) { border-left-color: #27ae60; }
.stat-card:nth-child(3) { border-left-color: #f39c12; }
.stat-card:nth-child(4) { border-left-color: #e74c3c; }

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.stat-card:nth-child(1) .stat-icon { background: #3498db; }
.stat-card:nth-child(2) .stat-icon { background: #27ae60; }
.stat-card:nth-child(3) .stat-icon { background: #f39c12; }
.stat-card:nth-child(4) .stat-icon { background: #e74c3c; }

.stat-info h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-info p {
    color: #7f8c8d;
    font-size: 1rem;
    font-weight: 500;
}

/* Calendar Styles */
.calendar-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.calendar-section h3 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calendar {
    max-width: 100%;
    margin: 0 auto;
}

.calendar-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.month-year {
    font-size: 1.6rem;
    font-weight: bold;
    color: #2c3e50;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e9ecef;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.day-header {
    background: #34495e;
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.calendar-days {
    display: contents;
}

.calendar-day {
    background: white;
    padding: 15px 8px;
    text-align: center;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: background-color 0.3s ease;
}

.calendar-day:hover {
    background: #f8f9fa;
}

.calendar-day.empty {
    background: #f8f9fa;
}

.calendar-day .date {
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
}

.calendar-day .activity {
    font-size: 0.75rem;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    word-break: break-word;
    width: 100%;
}

.calendar-day.libur .activity { background: #e74c3c; }
.calendar-day.cuti .activity { background: #f39c12; }
.calendar-day.kerja .activity { background: #27ae60; }
.calendar-day.cuti_sakit .activity { background: #9b59b6; }

.calendar-day.weekend {
    background: #f8f9fa;
}

/* Activity Table */
.activity-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.activity-table-container {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.activity-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.activity-table th {
    background: #34495e;
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.activity-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

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

.activity-table tr:last-child td {
    border-bottom: none;
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.btn-success {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-edit, .btn-delete {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit {
    background: #3498db;
    color: white;
}

.btn-delete {
    background: #e74c3c;
    color: white;
}

.btn-edit:hover, .btn-delete:hover {
    transform: translateY(-1px);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.time-input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.time-input-group .form-group {
    margin-bottom: 0;
}

.time-input-group small {
    display: block;
    margin-top: 5px;
    color: #7f8c8d;
    font-size: 0.8rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 15px 15px 0 0;
}

.modal-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close {
    font-size: 1.5rem;
    cursor: pointer;
    color: #7f8c8d;
    transition: color 0.3s ease;
}

.close:hover {
    color: #2c3e50;
}

.modal form {
    padding: 2rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

/* Demo Accounts */
.demo-accounts {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    font-size: 0.9rem;
    border-left: 4px solid #3498db;
}

.demo-accounts h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-accounts p {
    margin-bottom: 0.5rem;
    color: #5a6c7d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.demo-accounts strong {
    color: #2c3e50;
}

/* Additional Styles for New Features */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: #666;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #ddd;
}

.text-muted {
    color: #6c757d !important;
}

/* Button Styles for Actions */
.btn-edit, .btn-delete {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 2px;
}

.btn-edit {
    background: #3498db;
    color: white;
}

.btn-delete {
    background: #e74c3c;
    color: white;
}

.btn-edit:hover, .btn-delete:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* Calendar Activity Colors */
.calendar-day.libur .activity { 
    background: #e74c3c; 
    color: white;
}

.calendar-day.cuti .activity { 
    background: #f39c12; 
    color: white;
}

.calendar-day.kerja .activity { 
    background: #27ae60; 
    color: white;
}

.calendar-day.cuti_sakit .activity { 
    background: #9b59b6; 
    color: white;
}

/* Activity Items in Dashboard */
.activity-item {
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

.activity-item strong {
    color: #2c3e50;
}

/* Status Badges */
.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-left: 0.5rem;
}

.status-pending { background: #fff3cd; color: #856404; }
.status-disetujui { background: #d4edda; color: #155724; }
.status-ditolak { background: #f8d7da; color: #721c24; }

/* ==================== VERIFIKASI SECTION ENHANCEMENT ==================== */

/* Verifikasi Table Styling */
.verifikasi-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.verifikasi-section h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.verifikasi-section h2 i {
    color: #3498db;
}

.verifikasi-table-container {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.verifikasi-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
    background: white;
}

.verifikasi-table th {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: white;
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 2px solid #3498db;
    position: relative;
}

.verifikasi-table th:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.verifikasi-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #f1f2f6;
    vertical-align: top;
    transition: all 0.3s ease;
}

.verifikasi-table tr {
    transition: all 0.3s ease;
}

.verifikasi-table tr:hover {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.verifikasi-table tr:last-child td {
    border-bottom: none;
}

/* Verifikasi Action Buttons */
.verifikasi-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-approve {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.btn-reject {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.btn-review {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.btn-approve:hover, .btn-reject:hover, .btn-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}


/* Verifikasi Modal Styles */
.verifikasi-detail {
    padding: 1rem 0;
}

.detail-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.detail-section h4 {
    margin: 0 0 1rem 0;
    color: #2c3e50;
    font-size: 1rem;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

.detail-item label {
    font-weight: 600;
    color: #555;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.detail-item span {
    color: #333;
}

.deskripsi-content {
    background: white;
    padding: 0.75rem;
    border-radius: 4px;
    border: 1px solid #ddd;
    min-height: 60px;
    max-height: 120px;
    overflow-y: auto;
}

.current-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Verifikasi Actions */
.verifikasi-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-review {
    background: #17a2b8;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-review:hover {
    background: #138496;
}

.btn-approve {
    background: #28a745;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-approve:hover {
    background: #218838;
}

.btn-reject {
    background: #dc3545;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
}

.btn-reject:hover {
    background: #c82333;
}
/* Verifikasi Status Cards */
.verifikasi-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.verifikasi-stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    text-align: center;
    border-top: 4px solid;
    transition: all 0.3s ease;
}

.verifikasi-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
}

.verifikasi-stat-card.pending {
    border-top-color: #f39c12;
}

.verifikasi-stat-card.approved {
    border-top-color: #27ae60;
}

.verifikasi-stat-card.rejected {
    border-top-color: #e74c3c;
}

.verifikasi-stat-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.verifikasi-stat-card p {
    color: #7f8c8d;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==================== MANAJEMEN SECTION ENHANCEMENT ==================== */

.manajemen-section {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.manajemen-section .section-header {
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
}

/* Management Tabs Enhancement */
.management-tabs {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 2rem;
    background: #f8f9fa;
    border-radius: 10px 10px 0 0;
    padding: 0.5rem;
    gap: 0.5rem;
}

.tab-btn {
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #7f8c8d;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.tab-btn:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.tab-btn:hover {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.tab-btn.active {
    background: rgba(52, 152, 219, 0.15);
    color: #3498db;
    font-weight: 600;
}

.tab-btn.active:before {
    width: 80%;
}

.tab-content {
    background: white;
    border-radius: 0 0 10px 10px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease-in;
}

.tab-pane.active {
    display: block;
}

/* Table Header Enhancement */
.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.table-header h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.table-header h3 i {
    color: #3498db;
}

/* Data Table Enhancement */
.data-table-container {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
    background: white;
}

.data-table th {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #2c3e50;
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 2px solid #3498db;
    position: relative;
}

.data-table th:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #3498db, #2980b9);
}

.data-table td {
    padding: 1.25rem 1rem;
    border-bottom: 1px solid #f1f2f6;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.data-table tr {
    transition: all 0.3s ease;
}

.data-table tr:hover {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* Enhanced Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-action {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    text-decoration: none;
}

.btn-action.edit {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.btn-action.delete {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.btn-action.view {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Badge Styles */
.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.badge-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    border: 1px solid #ffeaa7;
}

.badge-danger {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.badge-info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.badge-primary {
    background: linear-gradient(135deg, #d6eaf8, #aed6f1);
    color: #1b4f72;
    border: 1px solid #aed6f1;
}

/* Search and Filter Bar */
.search-filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
    min-width: 150px;
}

/* Empty State Enhancement */
.empty-state-enhanced {
    text-align: center;
    padding: 3rem 2rem;
    color: #7f8c8d;
}

.empty-state-enhanced i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #bdc3c7;
    opacity: 0.7;
}

.empty-state-enhanced h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.empty-state-enhanced p {
    margin-bottom: 1.5rem;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.quick-action-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    border-color: #3498db;
}

.quick-action-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #3498db;
}

.quick-action-card h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.quick-action-card p {
    color: #7f8c8d;
    font-size: 0.8rem;
}

/* Responsive Design for Enhanced Sections */
@media (max-width: 768px) {
    .management-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .tab-btn {
        justify-content: center;
        text-align: center;
    }
    
    .table-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .search-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        min-width: auto;
    }
    
    .verifikasi-actions, .action-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-approve, .btn-reject, .btn-review, .btn-action {
        justify-content: center;
        text-align: center;
    }
    
    .verifikasi-stats, .quick-actions {
        grid-template-columns: 1fr;
    }
}

/* Animation Enhancements */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(52, 152, 219, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(52, 152, 219, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading:after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .app-sidebar {
        width: 250px;
    }
    
    .app-main-content {
        margin-left: 250px;
    }
}

@media (max-width: 768px) {
    .app-layout {
        flex-direction: column;
    }
    
    .app-sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    .app-main-content {
        margin-left: 0;
    }
    
    .sidebar-nav {
        display: flex;
        overflow-x: auto;
        padding: 1rem;
    }
    
    .nav-item {
        flex: 0 0 auto;
        border-left: none;
        border-bottom: 3px solid transparent;
    }
    
    .nav-item.active {
        border-left: none;
        border-bottom-color: #3498db;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .content-wrapper {
        padding: 1rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .calendar-grid {
        grid-template-columns: repeat(7, 1fr);
        font-size: 0.8rem;
    }
    
    .calendar-day {
        min-height: 80px;
        padding: 10px 5px;
    }
    
    .time-input-group {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

@media (max-width: 480px) {
    .login-container {
        margin: 1rem;
        padding: 2rem;
    }
    
    .calendar-day {
        min-height: 60px;
        padding: 5px 2px;
    }
    
    .day-header {
        padding: 8px 4px;
        font-size: 0.8rem;
    }
    
    .activity-table {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.app-sidebar::-webkit-scrollbar {
    width: 6px;
}

.app-sidebar::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
}

.app-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.app-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
}

/* Style untuk Cetak Laporan */
.section-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cetak-modal-content {
    max-width: 90%;
    width: 1000px;
    max-height: 90vh;
}

.cetak-actions {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 10px;
    background: #f8f9fa;
}

.cetak-preview {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
    background: white;
}

/* Style untuk preview cetakan */
.cetak-container {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.4;
}

.kop-surat {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #333;
    padding-bottom: 15px;
}

.kop-surat h2 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.kop-surat h3 {
    margin: 5px 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

.kop-surat p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.cetak-info {
    margin: 20px 0;
}

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

.info-table td {
    padding: 5px 10px;
    vertical-align: top;
}

.bulan-section {
    margin: 25px 0;
    page-break-inside: avoid;
}

.bulan-section h4 {
    background: #007bff;
    color: white;
    padding: 10px;
    margin: 0 0 15px 0;
    border-radius: 4px;
    font-size: 14px;
}

.cetak-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    font-size: 12px;
}

.cetak-table th,
.cetak-table td {
    border: 1px solid #ddd;
    padding: 8px 6px;
    text-align: left;
}

.cetak-table th {
    background: #f8f9fa;
    font-weight: bold;
    text-align: center;
}

.cetak-summary {
    margin: 30px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #28a745;
}

.cetak-summary h4 {
    margin: 0 0 15px 0;
    color: #28a745;
    font-size: 14px;
}

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

.summary-table td {
    padding: 4px 8px;
}

.cetak-footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}

.ttd-section {
    float: right;
    text-align: center;
}

.ttd-placeholder {
    margin-top: 80px;
}

.ttd-placeholder p {
    margin: 5px 0;
    font-size: 12px;
}

.ttd-space {
    height: 80px;
    border-bottom: 1px solid #333;
    margin: 15px 0;
    width: 200px;
}

/* Print Styles */
@media print {
    .cetak-table {
        font-size: 10px;
    }
    
    .cetak-table th,
    .cetak-table td {
        padding: 6px 4px;
    }
    
    .bulan-section {
        page-break-inside: avoid;
    }
    
    .cetak-footer {
        page-break-inside: avoid;
    }
}

/* Style untuk Filter */
.filter-container {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #495057;
}

.filter-select {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    background: white;
    font-size: 0.9rem;
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.btn-outline {
    background: transparent;
    border: 1px solid #6c757d;
    color: #6c757d;
    padding: 8px 16px;
}

.btn-outline:hover {
    background: #6c757d;
    color: white;
}

.table-info {
    background: #e9ecef;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.table-info p {
    margin: 0;
    color: #495057;
}

/* Style untuk filter cetakan */
.cetak-filter {
    padding: 15px;
    border-bottom: 1px solid #eee;
    background: #f8f9fa;
    display: flex;
    gap: 20px;
    align-items: end;
}

.cetak-filter .filter-group {
    margin-bottom: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-select {
        min-width: auto;
        width: 100%;
    }
    
    .cetak-filter {
        flex-direction: column;
        gap: 10px;
    }
}

    /* User Info Small */
.user-info-small {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
}

.text-muted {
    color: #6c757d !important;
    font-size: 0.8rem;
}

/* Badge Styles */
.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background: linear-gradient(135deg, #d6eaf8, #aed6f1);
    color: #1b4f72;
    border: 1px solid #aed6f1;
}

.badge-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    border: 1px solid #ffeaa7;
}

.badge-info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.badge-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.badge-secondary {
    background: linear-gradient(135deg, #e2e3e5, #d6d8db);
    color: #383d41;
    border: 1px solid #d6d8db;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-action {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    text-decoration: none;
}

.btn-action.edit {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.btn-action.delete {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ==================== LAPORAN HARIAN STYLES ==================== */

/* Filter Container */
.filter-container {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
    display: flex;
    gap: 1.5rem;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 150px;
}

.filter-group label {
    font-weight: 600;
    color: #495057;
    font-size: 0.875rem;
}

.filter-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Laporan List Container */
.laporan-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Laporan Item Card */
.laporan-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: slideIn 0.3s ease-out;
}

.laporan-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.laporan-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #007bff;
}

.laporan-item.pending::before { background: #ffc107; }
.laporan-item.disetujui::before { background: #28a745; }
.laporan-item.ditolak::before { background: #dc3545; }

/* Laporan Header */
.laporan-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.laporan-date, .laporan-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.laporan-date {
    font-weight: 600;
    color: #495057;
}

.laporan-date i { color: #007bff; }
.laporan-time i { color: #6c757d; }

.laporan-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
}

.laporan-status.pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.laporan-status.disetujui {
    background: #d1edff;
    color: #004085;
    border: 1px solid #b3d7ff;
}

.laporan-status.ditolak {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f1b0b7;
}

/* Laporan Content */
.laporan-content {
    margin-bottom: 1.5rem;
}

.laporan-content p {
    color: #495057;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #007bff;
}

/* Laporan Actions */
.laporan-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.btn-action {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-action.edit {
    background: #007bff;
    color: white;
}

.btn-action.edit:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.btn-action.delete {
    background: #dc3545;
    color: white;
}

.btn-action.delete:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.btn-action:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.btn-action:disabled:hover {
    background: #6c757d;
    transform: none;
}

/* Empty State untuk Laporan */
.laporan-empty-state {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.laporan-empty-state i {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.laporan-empty-state h4 {
    color: #495057;
    margin-bottom: 0.5rem;
}

.laporan-empty-state p {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .laporan-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .laporan-status {
        margin-left: 0;
        align-self: flex-start;
    }
    
    .laporan-actions {
        justify-content: stretch;
    }
    
    .btn-action {
        flex: 1;
        justify-content: center;
    }
}

/* Animation for new items */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Catatan Verifikasi */
.laporan-catatan {
    background: #e7f3ff;
    border: 1px solid #b3d7ff;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid #007bff;
}

.laporan-catatan strong {
    color: #004085;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.laporan-catatan p {
    color: #004085;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    background: none;
    padding: 0;
    border-left: none;
}

/* Status colors untuk border */
.laporan-item.pending .laporan-catatan {
    background: #fffbf0;
    border-color: #ffeaa7;
    border-left-color: #ffc107;
}

.laporan-item.pending .laporan-catatan strong,
.laporan-item.pending .laporan-catatan p {
    color: #856404;
}

.laporan-item.ditolak .laporan-catatan {
    background: #fef0f1;
    border-color: #f1b0b7;
    border-left-color: #dc3545;
}

.laporan-item.ditolak .laporan-catatan strong,
.laporan-item.ditolak .laporan-catatan p {
    color: #721c24;
}

/* Notifikasi */
.app-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    z-index: 10000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.app-notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    background: #28a745;
    border-left: 4px solid #1e7e34;
}

.notification-error {
    background: #dc3545;
    border-left: 4px solid #c82333;
}

.notification-info {
    background: #17a2b8;
    border-left: 4px solid #138496;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Perbaikan tabel verifikasi */
.verifikasi-table-container {
    overflow-x: auto;
    margin-top: 1rem;
}

.verifikasi-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.verifikasi-table th,
.verifikasi-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

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

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

/* Status badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-badge.disetujui {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.status-badge.ditolak {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Action buttons */
.action-buttons {
    display: flex;
    gap: 5px;
}

.btn-action {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-action.view {
    background: #17a2b8;
    color: white;
}

.btn-action.view:hover:not(:disabled) {
    background: #138496;
}

.btn-action:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Deskripsi content */
.deskripsi-content, .catatan-content {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    border-left: 3px solid #007bff;
    margin-top: 5px;
}

.catatan-content {
    border-left-color: #ffc107;
    background: #fff3cd;
}

/* Dashboard Styles */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 4px solid #007bff;
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-card:nth-child(1) .stat-icon { background: #007bff; }
.stat-card:nth-child(2) .stat-icon { background: #28a745; }
.stat-card:nth-child(3) .stat-icon { background: #ffc107; }
.stat-card:nth-child(4) .stat-icon { background: #dc3545; }

.stat-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: #2c3e50;
}

.stat-info p {
    margin: 0.25rem 0 0 0;
    color: #6c757d;
    font-weight: 500;
}

/* Role Specific Dashboard */
.role-specific-dashboard {
    margin-bottom: 2rem;
}

.role-specific-dashboard h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

/* Recent Activity */
.recent-activity {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.recent-activity h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fa;
    transition: background-color 0.2s ease;
}

.activity-item:hover {
    background: #e9ecef;
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.activity-icon.approved { background: #28a745; }
.activity-icon.rejected { background: #dc3545; }
.activity-icon.pending { background: #ffc107; }

.activity-content {
    flex: 1;
}

.activity-content p {
    margin: 0 0 0.25rem 0;
    color: #2c3e50;
    line-height: 1.4;
}

.activity-time {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Calendar */
.calendar-section {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.calendar-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.calendar {
    max-width: 100%;
}

.calendar-header {
    text-align: center;
    margin-bottom: 1rem;
}

.month-year {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.day-header {
    text-align: center;
    font-weight: 600;
    color: #6c757d;
    padding: 0.5rem;
    font-size: 0.9rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    font-weight: 500;
    transition: all 0.2s ease;
}

.calendar-day.current-month {
    background: #f8f9fa;
    color: #2c3e50;
}

.calendar-day.other-month {
    background: #e9ecef;
    color: #adb5bd;
}

.calendar-day.today {
    background: #007bff;
    color: white;
    font-weight: 700;
}

.calendar-day.has-activity {
    border: 2px solid #28a745;
}

.calendar-day:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.activity-dot {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #28a745;
    border-radius: 50%;
}

/* Empty States */
.laporan-empty-state, .empty-state-enhanced {
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
}

.laporan-empty-state i, .empty-state-enhanced i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #adb5bd;
}

.laporan-empty-state h4, .empty-state-enhanced h4 {
    color: #495057;
    margin-bottom: 0.5rem;
}

/* Role Specific Dashboard - Standardized */
.role-specific-dashboard {
    margin-bottom: 2rem;
}

.role-dashboard {
    display: none;
}

.dashboard-section {
    margin-bottom: 2rem;
}

.dashboard-section h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

/* Standardized Stats Grid untuk semua role */
.role-specific-dashboard .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1rem;
}

/* Warna stat icon yang konsisten berdasarkan kategori */
.stat-icon.personal {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-icon.team {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-icon.performance {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-icon.system {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-icon.activity {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* Konsistensi card design */
.role-specific-dashboard .stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border-left: 4px solid;
    height: 100%;
}

.role-specific-dashboard .stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* Border colors berdasarkan kategori */
.role-specific-dashboard .stat-card:nth-child(1) { border-left-color: #007bff; }
.role-specific-dashboard .stat-card:nth-child(2) { border-left-color: #28a745; }
.role-specific-dashboard .stat-card:nth-child(3) { border-left-color: #ffc107; }

.role-specific-dashboard .stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.role-specific-dashboard .stat-info h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
    color: #2c3e50;
    line-height: 1;
}

.role-specific-dashboard .stat-info p {
    margin: 0.5rem 0 0 0;
    color: #6c757d;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .role-specific-dashboard .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .role-specific-dashboard .stat-card {
        padding: 1.25rem;
    }
    
    .role-specific-dashboard .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .role-specific-dashboard .stat-info h3 {
        font-size: 1.8rem;
    }
}

/* Empty state styling */
.stats-grid:empty::before,
.role-specific-dashboard:empty::before {
    content: "Data sedang dimuat...";
    display: block;
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-style: italic;
}

/* Zero data state */
.zero-data .stat-card {
    opacity: 0.7;
    background: #f8f9fa;
}

.zero-data .stat-info h3 {
    color: #6c757d;
}

/* Loading animation */
.loading .stat-card {
    position: relative;
    overflow: hidden;
}

.loading .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: loadingShimmer 1.5s infinite;
}

@keyframes loadingShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Loading states for dashboard */
.loading .stat-card {
    position: relative;
    overflow: hidden;
}

.loading .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loadingShimmer 1.5s infinite;
}

@keyframes loadingShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.stat-card {
    transition: all 0.3s ease;
}

/* Dashboard Role Specific */
.role-dashboard {
    margin-top: 2rem;
}

.dashboard-section {
    margin-bottom: 2rem;
}

.dashboard-section h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.5rem;
}

/* Stat Icon Colors */
.stat-icon.personal {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-icon.team {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-icon.performance {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stat-icon.system {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-icon.activity {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

/* Loading State */
.stats-grid.loading .stat-card,
.role-specific-dashboard.loading .role-dashboard {
    opacity: 0.6;
    pointer-events: none;
}

.stats-grid.loading::after {
    content: "Memuat data...";
    display: block;
    text-align: center;
    padding: 1rem;
    color: #666;
}
.calendar-container {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: bold;
    color: #666;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    background: white;
}

.calendar-day:hover {
    background: #f8f9fa;
    border-color: #007bff;
}

.calendar-day.today {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.calendar-day.has-laporan {
    border-color: #28a745;
    background: #f8fff9;
}

.calendar-day.empty {
    background: #f8f9fa;
    border-color: transparent;
    cursor: default;
}

.day-number {
    font-size: 0.9rem;
    font-weight: 500;
}

.laporan-indicator {
    position: absolute;
    bottom: 4px;
    width: 6px;
    height: 6px;
    background: #28a745;
    border-radius: 50%;
}

.calendar-error {
    text-align: center;
    padding: 2rem;
    color: #dc3545;
}

.calendar-error i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.calendar-day-header {
    padding: 0.5rem;
    font-size: 0.8rem;
    color: #666;
}

/* Calendar Styles untuk struktur HTML yang ada */
.calendar-section {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.calendar-section h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.2rem;
}

.calendar {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

.calendar-header {
    text-align: center;
    margin-bottom: 1rem;
}

.month-year {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.day-header {
    text-align: center;
    padding: 0.5rem;
    font-weight: bold;
    color: #666;
    font-size: 0.8rem;
    background: #e9ecef;
    border-radius: 4px;
}

.calendar-days {
    display: contents; /* Important untuk grid layout */
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    background: white;
    font-size: 0.9rem;
    font-weight: 500;
}

.calendar-day:hover {
    background: #f8f9fa;
    border-color: #007bff;
    transform: translateY(-2px);
}

.calendar-day.today {
    background: #007bff;
    color: white;
    border-color: #007bff;
    font-weight: bold;
}

.calendar-day.has-laporan {
    border-color: #28a745;
    background: #f8fff9;
}

.calendar-day.has-laporan .day-number {
    color: #28a745;
    font-weight: bold;
}

.calendar-day.empty {
    background: transparent;
    border-color: transparent;
    cursor: default;
}

.calendar-day.empty:hover {
    background: transparent;
    transform: none;
}

.day-number {
    font-size: 0.9rem;
}

.laporan-indicator {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #28a745;
    border-radius: 50%;
}

/* Legend */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #666;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-color.today {
    background: #007bff;
}

.legend-color.has-laporan {
    background: #28a745;
}

/* Activity List Styles */
.recent-activity {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.recent-activity h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.2rem;
}

.activity-list {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

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

.activity-item:hover {
    background: #f8f9fa;
    border-radius: 6px;
}

.activity-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 0.8rem;
}

.activity-icon.pending {
    background: #fff3cd;
    color: #856404;
}

.activity-icon.approved {
    background: #d1edff;
    color: #004085;
}

.activity-icon.rejected {
    background: #f8d7da;
    color: #721c24;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #333;
}

.activity-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #666;
}

.activity-date {
    font-weight: 500;
}

.activity-status {
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

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

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

.activity-status.rejected {
    background: #f8d7da;
    color: #721c24;
}
.error-state {
    text-align: center;
    padding: 2rem;
    color: #dc3545;
}

.error-state i {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.error-state h4 {
    margin-bottom: 0.5rem;
}

.empty-state-enhanced {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.empty-state-enhanced i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state-enhanced h4 {
    margin-bottom: 0.5rem;
    color: #333;
}
/* Dashboard Layout */
.dashboard-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    .dashboard-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Style untuk Absensi Apel */
.info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.info-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.info-header i {
    font-size: 1.5rem;
}

.info-content p {
    margin: 0.5rem 0;
    display: flex;
    justify-content: space-between;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

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

.badge-warning {
    background: #ffc107;
    color: #212529;
}

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

.badge-info {
    background: #17a2b8;
    color: white;
}

.absensi-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.absensi-info p {
    margin: 0.5rem 0;
    display: flex;
    justify-content: space-between;
}

/* Preview Foto */
.foto-preview {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    border: 2px solid #dee2e6;
    margin-top: 0.5rem;
}

/* Status Absensi */
.status-hadir { color: #28a745; }
.status-tidak_hadir { color: #dc3545; }
.status-terlambat { color: #ffc107; }
.status-pending { color: #6c757d; }

/* Responsive Table */
.table-responsive {
    overflow-x: auto;
}

/* Geolocation Status */
.geolocation-status {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.geolocation-status.success {
    color: #28a745;
}

.geolocation-status.error {
    color: #dc3545;
}

/* Absensi Styles */
.absensi-section {
    margin-bottom: 2rem;
}

.location-info {
    background: #e8f4fd;
    border-left: 4px solid #2196F3;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.location-info p {
    margin: 5px 0;
    font-size: 14px;
}

.gps-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.gps-status .status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4CAF50;
    animation: pulse 2s infinite;
}

.gps-status .status-indicator.inactive {
    background: #f44336;
    animation: none;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.rapat-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.rapat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.rapat-header h4 {
    margin: 0;
    color: #333;
}

.rapat-info {
    margin-bottom: 15px;
}

.rapat-info p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

.rapat-info i {
    width: 20px;
    color: #666;
}

/* Absensi Status Badges */
.status-hadir { background: #4CAF50; color: white; }
.status-terlambat { background: #FF9800; color: white; }
.status-tidak-hadir { background: #f44336; color: white; }
.status-izin { background: #2196F3; color: white; }
.status-sakit { background: #9C27B0; color: white; }
.status-pending { background: #FFC107; color: #333; }

/* Table responsive */
@media (max-width: 768px) {
    .absensi-table th,
    .absensi-table td {
        padding: 8px 5px;
        font-size: 12px;
    }
    
    .absensi-table .btn-action {
        padding: 3px 8px;
        font-size: 11px;
    }
}

/* Modal specific */
.modal-content.absensi-modal {
    max-width: 500px;
}

.modal-body .form-group {
    margin-bottom: 15px;
}

.modal-body label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.modal-body input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #f9f9f9;
}

/* Time display */
.time-display {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    background: #f5f5f5;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

/* Quick actions */
.absensi-quick-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.absensi-quick-actions .btn {
    flex: 1;
    min-width: 150px;
    justify-content: center;
}

/* Verification section */
.verification-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.verification-badge.pending {
    background: #FFF3CD;
    color: #856404;
}

.verification-badge.approved {
    background: #D4EDDA;
    color: #155724;
}

.verification-badge.rejected {
    background: #F8D7DA;
    color: #721C24;
}

/* Jadwal Rapat Styles */
.jadwal-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.rapat-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.rapat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.rapat-header h4 {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.rapat-info {
    margin-bottom: 15px;
}

.rapat-info p {
    margin: 8px 0;
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
}

.rapat-info i {
    width: 20px;
    color: #666;
    margin-right: 8px;
    margin-top: 2px;
}

.rapat-peserta {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #eee;
}

.rapat-peserta-label {
    font-weight: 500;
    color: #666;
    margin-bottom: 5px;
    display: block;
}

.peserta-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.peserta-badge {
    background: #e8f4fd;
    color: #2196F3;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.rapat-actions {
    margin-top: 15px;
}

.rapat-actions .btn {
    width: 100%;
}

/* Status Badge Rapat */
.status-akan-datang {
    background: #FF9800;
    color: white;
}

.status-berlangsung {
    background: #4CAF50;
    color: white;
}

.status-selesai {
    background: #9E9E9E;
    color: white;
}

.status-lewat {
    background: #F44336;
    color: white;
}

/* Modal Rapat */
.rapat-detail {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #2196F3;
}

.rapat-detail h4 {
    margin-top: 0;
    color: #333;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.detail-item {
    margin-bottom: 8px;
}

.detail-item label {
    display: block;
    font-weight: 500;
    color: #666;
    font-size: 13px;
    margin-bottom: 3px;
}

.detail-item span, .detail-item p {
    color: #333;
    font-size: 14px;
}

.detail-item.full-width {
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 768px) {
    .jadwal-container {
        grid-template-columns: 1fr;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Style untuk Jadwal Rapat */
.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row .form-group {
  flex: 1;
}

.peserta-selector {
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

.peserta-options {
  flex: 1;
}

.select-multiple {
  width: 100%;
  height: 150px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.peserta-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.btn-small {
  padding: 5px 10px;
  font-size: 12px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 3px;
  cursor: pointer;
}

.peserta-selected {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 15px;
}

.selected-list {
  max-height: 150px;
  overflow-y: auto;
  margin-top: 10px;
}

.selected-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  margin-bottom: 5px;
  background: #e8f4ff;
  border-radius: 4px;
}

.selected-item button {
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
  font-size: 14px;
}

/* Style untuk jadwal rapat card */
.rapat-card {
  background: white;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.rapat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.rapat-header h4 {
  margin: 0;
  color: #2c3e50;
}

.rapat-info {
  color: #666;
  font-size: 14px;
}

.rapat-info p {
  margin: 5px 0;
}

.rapat-peserta {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

.peserta-badge {
  display: inline-block;
  background: #e8f4ff;
  color: #3498db;
  padding: 3px 8px;
  margin: 2px;
  border-radius: 12px;
  font-size: 12px;
}

.rapat-actions {
  margin-top: 15px;
}

/* Status badges untuk rapat */
.badge-akan-datang {
  background: #17a2b8;
  color: white;
}

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

.badge-selesai {
  background: #6c757d;
  color: white;
}

/* Style untuk jadwal container */
.jadwal-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Style untuk manajemen rapat */
.table-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Style untuk status rapat */
.status-akan-datang { background: #17a2b8; color: white; }
.status-berlangsung { background: #28a745; color: white; }
.status-selesai { background: #6c757d; color: white; }
.status-lewat { background: #ffc107; color: #212529; }

/* Style untuk empty state button */
.empty-state .btn {
    margin-top: 15px;
}

/* Style untuk filter container */
.filter-container {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-weight: 500;
    color: #555;
    white-space: nowrap;
}

.filter-input, .filter-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    min-width: 150px;
}

.filter-select {
    background: white;
    cursor: pointer;
}

/* Tambahkan di style.css */
.badge-harian {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.badge-apel {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.badge-rapat {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.badge-default {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

/* Status baru */
.status-izin {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #2c3e50;
}

.status-sakit {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: #2c3e50;
}

/* Tambahkan di style.css */
.form-section {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
  border-left: 4px solid #4e73df;
}

.form-section h4 {
  color: #4e73df;
  margin-bottom: 15px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-section h4 i {
  font-size: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 10px;
}

.form-group small {
  display: block;
  margin-top: 5px;
  color: #6c757d;
  font-size: 12px;
}

/* Tambahkan di style.css untuk styling tabel */

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.data-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.data-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

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

.data-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

/* Action buttons styling */
.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-action {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-action:hover {
    background-color: #e9ecef;
}

.btn-action.edit:hover {
    color: #28a745;
}

.btn-action.delete:hover {
    color: #dc3545;
}

.btn-action.view:hover {
    color: #17a2b8;
}

.btn-action:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* User info styling */
.user-info {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 500;
    color: #2c3e50;
}

.user-jabatan {
    font-size: 12px;
    color: #6c757d;
}

/* Badge styling */
.badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

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

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

.badge-warning {
    background-color: #ffc107;
    color: #212529;
}

.badge-info {
    background-color: #17a2b8;
    color: white;
}

.badge-primary {
    background-color: #007bff;
    color: white;
}

.badge-secondary {
    background-color: #6c757d;
    color: white;
}

/* Empty state styling */
.empty-state {
    padding: 40px 20px;
    text-align: center;
    color: #6c757d;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #adb5bd;
}

.empty-state h4 {
    margin: 10px 0;
    color: #495057;
}

.error-state {
    padding: 20px;
    text-align: center;
    color: #dc3545;
}

.error-state i {
    font-size: 36px;
    margin-bottom: 10px;
}

.cetak-laporan-container {
    padding: 20px;
}

.filter-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.filter-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.preview-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.preview-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

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

.preview-table th {
    background-color: #f8f9fa;
    padding: 12px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
    font-weight: 600;
}

.preview-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e0e0e0;
}

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

.table-footer {
    margin-top: 10px;
    text-align: right;
    color: #6c757d;
}

.stats-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

.stat-label {
    font-size: 14px;
    color: #6c757d;
    margin-top: 5px;
}

.loading-state, .empty-state, .error-state {
    text-align: center;
    padding: 40px;
    color: #6c757d;
}

.loading-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #3498db;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #95a5a6;
}

.error-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #e74c3c;
}

@media print {
    .filter-card, .filter-actions, .stats-card {
        display: none;
    }
    
    .preview-table {
        width: 100%;
        border-collapse: collapse;
    }
    
    .preview-table th, .preview-table td {
        border: 1px solid #000;
        padding: 8px;
    }
}