/* assets/css/daes-style.css */
body {
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 40% 20%, hsla(228, 100%, 74%, 0.15) 0px, transparent 50%),
        radial-gradient(at 80% 0%, hsla(189, 100%, 56%, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 50%, hsla(355, 100%, 93%, 0.15) 0px, transparent 50%);
    background-attachment: fixed;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
}

.glass-sidebar {
    background: rgba(10, 15, 28, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-item {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.active-nav {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: white !important;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transform: translateX(8px);
}

.nav-item:not(.active-nav):hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.08) !important;
}

.hover-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
}

.table-row-animate {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media print {
    body>* {
        display: none !important;
    }

    #laporan-ai-modal {
        display: block !important;
        position: static !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        box-shadow: none !important;
        border: none !important;
        transform: none !important;
    }

    #laporan-scroll-container {
        display: block !important;
        overflow: visible !important;
        height: auto !important;
        background: white !important;
    }

    #laporan-ai-modal>div:first-child,
    #laporan-ai-backdrop {
        display: none !important;
    }

    #laporan-print-area {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        visibility: visible !important;
    }

    #laporan-print-area * {
        visibility: visible !important;
    }

    .no-print {
        display: none !important;
    }

    @page {
        margin: 1.5cm;
        size: auto;
    }
}

.laporan-ai-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.evidence-train {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding: 10px 2px; /* Increased vertical padding to prevent clipping */
    margin-bottom: -5px; /* Compensate for extra padding */
}

.evidence-car {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    color: #64748b;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    position: relative;
    z-index: 9999 !important;
}

.evidence-car:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    color: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05);
}

.evidence-car i {
    font-size: 10px;
    color: #ef4444;
}

.dark .evidence-car {
    background: #0f172a;
    border-color: #1e293b;
    color: #94a3b8;
}

.dark .evidence-car:hover {
    background: #1e293b;
    border-color: #3b82f6;
    color: #3b82f6;
}
