/* ==========================================================================
   DUMAS SMAN 1 Cikalong — Modern Full-Color Responsive Theme
   ========================================================================== */

:root {
    --brand-indigo: #4338CA;
    --brand-sky: #0284C7;
    --brand-teal: #0D9488;
    --brand-emerald: #10B981;
    --brand-amber: #F59E0B;
    --brand-rose: #F43F5E;
    --brand-violet: #8B5CF6;
    --bg-soft: #F4F7FB;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --radius-lg: 1.25rem;
    --radius-md: 0.9rem;
    --shadow-soft: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 40px -10px rgba(67, 56, 202, 0.18);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-soft);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Navbar Publik */
.navbar-dumas {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    transition: all 0.25s ease;
}

.brand-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4F46E5 0%, #0EA5E9 55%, #10B981 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.32);
    flex-shrink: 0;
}

.brand-logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 12px;
    flex-shrink: 0;
}

.report-logo-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.nav-pill-link {
    font-weight: 600;
    color: #334155 !important;
    border-radius: 999px;
    padding: 0.5rem 1rem !important;
    transition: all 0.2s ease;
}

.nav-pill-link:hover,
.nav-pill-link.active {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(14, 165, 233, 0.12));
    color: #4338CA !important;
}

/* Tombol Gradasi Penuh Warna */
.btn-gradient-primary {
    background: linear-gradient(135deg, #4F46E5 0%, #0EA5E9 60%, #10B981 100%);
    border: none;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 10px 22px -6px rgba(79, 70, 229, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -6px rgba(14, 165, 233, 0.5);
    color: #fff !important;
}

.btn-gradient-amber {
    background: linear-gradient(135deg, #F59E0B 0%, #F97316 100%);
    border: none;
    color: #fff !important;
    font-weight: 700;
    box-shadow: 0 10px 20px -6px rgba(245, 158, 11, 0.45);
}

.btn-gradient-amber:hover {
    transform: translateY(-2px);
    color: #fff !important;
}

.btn-gradient-rose {
    background: linear-gradient(135deg, #F43F5E 0%, #EC4899 100%);
    border: none;
    color: #fff !important;
    font-weight: 700;
}

/* Hero Aurora Full Color */
.hero-aurora {
    position: relative;
    background: linear-gradient(125deg, #1E1B4B 0%, #3730A3 35%, #0284C7 72%, #0D9488 100%);
    color: #fff;
    overflow: hidden;
}

.hero-aurora::before,
.hero-aurora::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.42;
    pointer-events: none;
}

.hero-aurora::before {
    width: 380px;
    height: 380px;
    background: #F43F5E;
    top: -120px;
    right: -80px;
}

.hero-aurora::after {
    width: 340px;
    height: 340px;
    background: #FBBF24;
    bottom: -140px;
    left: -90px;
}

.hero-glass-card {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--radius-lg);
}

.hero-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

/* KPI Stat Cards Full Color */
.stat-colorful-card {
    border: none;
    border-radius: var(--radius-lg);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease;
}

.stat-colorful-card:hover {
    transform: translateY(-4px);
}

.stat-colorful-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    top: -35px;
    right: -35px;
}

.bg-grad-indigo { background: linear-gradient(135deg, #4338CA 0%, #6366F1 100%); }
.bg-grad-sky    { background: linear-gradient(135deg, #0284C7 0%, #38BDF8 100%); }
.bg-grad-amber  { background: linear-gradient(135deg, #D97706 0%, #FBBF24 100%); }
.bg-grad-emerald{ background: linear-gradient(135deg, #059669 0%, #34D399 100%); }
.bg-grad-rose   { background: linear-gradient(135deg, #E11D48 0%, #FB7185 100%); }
.bg-grad-violet { background: linear-gradient(135deg, #7C3AED 0%, #A78BFA 100%); }

/* Kartu Kategori Berwarna */
.category-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.category-top-bar {
    height: 6px;
    width: 100%;
}

.category-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}

/* Kartu Umum & Form Modern */
.modern-card {
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.form-control,
.form-select {
    border-radius: 0.75rem;
    border: 1.5px solid #CBD5E1;
    padding: 0.65rem 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #4F46E5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14);
}

/* Pilihan Mode Privasi */
.privacy-option-card {
    cursor: pointer;
    border: 2px solid #E2E8F0;
    border-radius: var(--radius-md);
    padding: 1rem;
    transition: all 0.2s ease;
    background: #fff;
}

.privacy-radio:checked + .privacy-option-card {
    border-color: #4F46E5;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.06), rgba(14, 165, 233, 0.06));
    box-shadow: 0 8px 20px -6px rgba(79, 70, 229, 0.25);
}

/* Badge Status & Prioritas */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid transparent;
    white-space: nowrap;
}

/* Timeline Tiket */
.timeline-list {
    position: relative;
    padding-left: 1.75rem;
}

.timeline-list::before {
    content: "";
    position: absolute;
    left: 7px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: linear-gradient(180deg, #4F46E5, #0EA5E9, #10B981);
}

.timeline-item {
    position: relative;
    padding-bottom: 1.25rem;
}

.timeline-dot {
    position: absolute;
    left: -1.75rem;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4F46E5;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #6366F1;
}

/* Panel Petugas Sidebar Layout */
.panel-wrapper {
    display: flex;
    min-height: 100vh;
}

.panel-sidebar {
    width: 270px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #1E1B4B 0%, #312E81 55%, #0F172A 100%);
    color: #E2E8F0;
    display: flex;
    flex-direction: column;
}

.panel-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 0.85rem;
    color: #CBD5E1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.panel-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.panel-nav-link.active {
    background: linear-gradient(90deg, #0EA5E9 0%, #10B981 100%);
    color: #fff;
    box-shadow: 0 8px 18px -4px rgba(14, 165, 233, 0.45);
}

.panel-main {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* Step Circle di Beranda */
.step-circle {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1rem;
}

/* Rating Stars */
.star-rating-group {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 0.35rem;
}

.star-rating-group input {
    display: none;
}

.star-rating-group label {
    font-size: 2rem;
    color: #CBD5E1;
    cursor: pointer;
    transition: color 0.15s ease, transform 0.15s ease;
}

.star-rating-group label:hover,
.star-rating-group label:hover ~ label,
.star-rating-group input:checked ~ label {
    color: #F59E0B;
    transform: scale(1.08);
}

/* Footer Publik */
.footer-dumas {
    background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
    color: #CBD5E1;
}

@media (max-width: 991.98px) {
    .panel-sidebar {
        display: none;
    }
}

@media print {
    .no-print,
    .navbar-dumas,
    .panel-sidebar,
    .footer-dumas {
        display: none !important;
    }
    body {
        background: #fff !important;
    }
    .modern-card {
        box-shadow: none !important;
        border: 1px solid #cbd5e1 !important;
    }
}
