/* =========================================================================
   Smart KPI Assistant - style.css
   Versi: 3.0 (Glass-morphism & Enhanced Micro-interactions)
   ========================================================================= */

/* 1. Reset & Base Styling */
:root {
    --primary-color: #111827; /* Gray 900 */
    --accent-color: #2563eb;  /* Blue 600 */
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

body {
    background: var(--bg-gradient);
    color: #1f2937;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* 2. Form Enhancement & Interactivity */
input, select, textarea {
    transition: all 0.25s ease-in-out !important;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent-color) !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15) !important;
    background-color: #ffffff;
}

/* Efek transisi halus untuk Card Pilihan Konten */
.dynamic-radio {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dynamic-radio:hover {
    transform: translateY(-1px);
    background-color: #f8fafc;
}

/* 3. Animasi Kelas Kebawaan Form */
.animate-fadeIn {
    animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

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

/* 4. Dukungan Utility Shimmer Loading (Jika diperlukan ke depan) */
.loading-shimmer {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 5. Khusus Cetak Sisi Browser (Print-friendly fallbacks) */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    #export-container, button, header {
        display: none !important;
    }
    .max-w-4xl {
        max-w: 100% !important;
        width: 100% !important;
        padding: 0 !important;
    }
}