
body {
    font-family: 'Outfit', sans-serif;
    background-color: #f4f6f9;
    color: #333;
}

.top-navbar {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.main-content {
    padding-top: 2rem;
}

.kpi-card {
    border-radius: 16px;
    border: none;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

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

.kpi-icon {
    position: absolute;
    right: -10px;
    bottom: -15px;
    font-size: 5rem;
    opacity: 0.15;
    z-index: 0;
}

.kpi-card p {
    position: relative;
    z-index: 1;
}

.kpi-card .heading {
    font-size: 0.85rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

.kpi-card .title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-top: 5px;
}

.has-background-primary {
    background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%) !important;
}
.has-background-danger {
    background: linear-gradient(135deg, #f43f5e 0%, #e11d48 100%) !important;
}
.has-background-info {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%) !important;
}
.has-background-warning {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%) !important;
}
.has-background-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
}

.chart-container {
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
    padding: 1.5rem;
    height: 100%;
}

div.dataTables_wrapper div.dataTables_filter input {
    border-radius: 20px !important;
    border: 1px solid #ddd !important;
    padding-left: 15px;
}
div.dataTables_wrapper div.dataTables_filter input:focus {
    box-shadow: 0 0 0 0.125em rgba(14, 165, 233, 0.25) !important;
    border-color: #0ea5e9 !important;
    outline: none;
}
table.dataTable thead th {
    background-color: #f8fafc !important;
    color: #475569 !important;
    font-weight: 600 !important;
    border-bottom: 2px solid #e2e8f0 !important;
}
table.dataTable tbody td {
    border-bottom: 1px solid #f1f5f9 !important;
    color: #334155 !important;
    vertical-align: middle;
}

.badge-ontime {
    background-color: #dcfce7;
    color: #166534;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}
.badge-late {
    background-color: #fee2e2;
    color: #991b1b;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}
.badge-paused {
    background-color: #fef3c7;
    color: #92400e;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}
