/* Custom Stylesheet - PRD e-SPMI USM v3.0 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --brand-primary: #2563eb;
    --brand-secondary: #4f46e5;
    --color-penetapan: #2563eb;
    --color-pelaksanaan: #059669;
    --color-evaluasi: #d97706;
    --color-pengendalian: #e11d48;
    --color-peningkatan: #4f46e5;
}

/* Custom Scrollbars */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 9999px;
}

.dark .custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #334155;
}

/* Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dark .glass-panel {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Badges & Cards Hover */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Diagram Image Preview */
.diagram-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: #ffffff;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.diagram-card img {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.diagram-card:hover img {
    transform: scale(1.02);
}

/* Tabs */
.tab-btn.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    font-weight: 600;
}
.dark .tab-btn.active {
    color: #60a5fa;
    border-bottom-color: #60a5fa;
}

/* Print Styles */
@media print {
    header, aside, footer, button, .print\:hidden {
        display: none !important;
    }
    main {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .break-inside-avoid {
        page-break-inside: avoid;
    }
}
