/* Style halaman predator-alat-evaluasi.php (dipisah) */
/* ===== EVAL SECTION ===== */
        .eval-section {
            margin-top: 90px;
            margin-bottom: 60px;
            padding: 0 15px;
        }

        .eval-card {
            background: #ffffff;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0, 51, 102, 0.15);
            padding: 14px 35px 35px;
        }

        .eval-header {
            background: linear-gradient(135deg, var(--polines-navy) 0%, var(--polines-blue) 100%);
            color: #ffffff;
            padding: 30px;
            border-radius: 12px;
            margin-bottom: 20px;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0, 51, 102, 0.25);
        }

        .eval-header h3 {
            margin: 0 0 12px 0;
            font-size: 28px;
            font-weight: 700;
            color: var(--polines-gold);
            text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }

        .eval-header p {
            margin: 0;
            font-size: 15px;
            line-height: 1.7;
            color: #ffffff;
        }

        /* ===== PROGRESS ===== */
        .progress-indicator {
            background: linear-gradient(135deg, var(--polines-navy) 0%, var(--polines-blue) 100%);
            padding: 16px 24px;
            border-radius: 12px;
            margin-bottom: 24px;
            border: 3px solid var(--polines-gold);
            box-shadow: 0 4px 15px rgba(0,51,102,0.2);
        }

        .progress-indicator .prog-text {
            font-size: 14px;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 10px;
        }

        .prog-bar-track {
            background: rgba(255,255,255,0.2);
            border-radius: 99px;
            height: 8px;
            overflow: hidden;
        }

        .prog-bar-fill {
            background: linear-gradient(90deg, var(--polines-gold), var(--polines-yellow));
            height: 100%;
            border-radius: 99px;
            width: 0%;
            transition: width 0.4s ease;
        }

        /* ===== CATEGORY HEADER ===== */
        .category-header {
            display: flex;
            align-items: center;
            gap: 12px;
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-left: 5px solid var(--polines-navy);
            padding: 14px 20px;
            border-radius: 10px;
            margin-bottom: 16px;
            margin-top: 10px;
        }

        .category-header .cat-icon {
            font-size: 22px;
        }

        .category-header .cat-title {
            flex: 1;
        }

        .category-header .cat-title h5 {
            font-size: 15px;
            font-weight: 700;
            color: var(--polines-navy);
            margin: 0 0 2px 0;
        }

        .category-header .cat-title p {
            font-size: 12px;
            color: #666;
            margin: 0;
        }

        .cat-badge {
            background: var(--polines-navy);
            color: #ffffff;
            font-size: 11px;
            font-weight: 600;
            padding: 4px 12px;
            border-radius: 20px;
        }

        /* ===== RUBRIC BLOCK ===== */
        .rubric-block {
            background: #ffffff;
            padding: 22px;
            border-radius: 12px;
            border: 2px solid #e9ecef;
            border-left: 5px solid var(--polines-gold);
            margin-bottom: 16px;
            transition: all 0.3s ease;
        }

        .rubric-block:hover {
            box-shadow: 0 5px 20px rgba(253,181,21,0.15);
            border-left-color: var(--polines-navy);
            transform: translateY(-2px);
        }

        .rubric-block.answered {
            border-color: #c3e6cb;
            border-left-color: #28a745;
            background: #f8fff9;
        }

        .rubric-title {
            font-size: 15px;
            color: var(--polines-navy);
            margin-bottom: 12px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .rubric-num {
            width: 26px;
            height: 26px;
            background: var(--polines-navy);
            color: #ffffff;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 700;
            flex-shrink: 0;
        }

        .answered .rubric-num {
            background: #28a745;
        }

        .rubric-info {
            color: var(--polines-gold);
            cursor: pointer;
            font-size: 16px;
            margin-left: auto;
            transition: all 0.3s;
        }

        .rubric-info:hover {
            color: var(--polines-navy);
            transform: scale(1.2);
        }

        /* Example Box */
        .rubric-example {
            margin-top: 10px;
        }

        .rubric-example .card {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border: 2px solid var(--polines-gold);
            border-radius: 10px;
        }

        .rubric-example .card-body {
            padding: 16px;
            line-height: 1.8;
            color: #495057;
            font-size: 13px;
        }

        /* Select */
        .eval-item {
            width: 100%;
            padding: 12px 16px;
            border: 2px solid #ced4da;
            border-radius: 10px;
            font-size: 14px;
            font-family: 'Poppins', sans-serif;
            transition: all 0.3s ease;
            background: white;
            color: var(--polines-navy);
            cursor: pointer;
            font-weight: 500;
            appearance: none;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23003366' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 14px center;
            padding-right: 36px;
        }

        .eval-item:hover { border-color: var(--polines-gold); }
        .eval-item:focus {
            outline: none;
            border-color: var(--polines-navy);
            box-shadow: 0 0 0 3px rgba(0,51,102,0.15);
        }

        .eval-item.val-3 { border-color: #28a745; background-color: #f0fff4; }
        .eval-item.val-2 { border-color: #fd7e14; background-color: #fff8f0; }
        .eval-item.val-1 { border-color: #dc3545; background-color: #fff5f5; }

        /* ===== ACTION BUTTONS ===== */
        .btn-evaluate {
            background: linear-gradient(135deg, var(--polines-gold) 0%, var(--polines-yellow) 100%);
            border: 2px solid var(--polines-gold);
            color: var(--polines-navy);
            padding: 14px 40px;
            font-size: 16px;
            font-weight: 700;
            border-radius: 25px;
            transition: all 0.3s ease;
            box-shadow: 0 5px 20px rgba(253,181,21,0.4);
            font-family: 'Poppins', sans-serif;
        }

        .btn-evaluate:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(253,181,21,0.5);
            color: var(--polines-navy);
        }

        .btn-evaluate:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        .btn-reset {
            background: #ffffff;
            border: 2px solid #dee2e6;
            color: var(--polines-navy);
            padding: 14px 30px;
            font-size: 15px;
            font-weight: 600;
            border-radius: 25px;
            transition: all 0.3s ease;
            font-family: 'Poppins', sans-serif;
        }

        .btn-reset:hover {
            border-color: var(--polines-navy);
            background: #f8f9fa;
        }

        /* ===== RESULT SECTION ===== */
        .result-section {
            display: none;
            margin-top: 30px;
            animation: fadeUp 0.4s ease;
        }

        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(16px); }
            to   { opacity: 1; transform: translateY(0); }
        }

        /* Score Box */
        .score-box {
            background: linear-gradient(135deg, var(--polines-navy) 0%, var(--polines-blue) 100%);
            border-radius: 15px;
            padding: 30px;
            text-align: center;
            color: #ffffff;
            margin-bottom: 20px;
            box-shadow: 0 8px 30px rgba(0,51,102,0.2);
        }

        .score-ring-wrap {
            width: 120px;
            height: 120px;
            margin: 0 auto 20px;
            position: relative;
        }

        .score-ring-wrap svg { transform: rotate(-90deg); }
        .ring-bg   { fill: none; stroke: rgba(255,255,255,0.2); stroke-width: 8; }
        .ring-fill { fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1s ease; }

        .ring-text {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .ring-pct {
            font-size: 26px;
            font-weight: 800;
            color: #ffffff;
            line-height: 1;
        }

        .ring-lbl {
            font-size: 11px;
            color: rgba(255,255,255,0.7);
            margin-top: 2px;
        }

        .score-category {
            font-size: 20px;
            font-weight: 700;
            color: var(--polines-gold);
            margin-bottom: 10px;
        }

        .score-desc {
            font-size: 14px;
            color: rgba(255,255,255,0.85);
            line-height: 1.7;
            margin-bottom: 0;
        }

        /* Recommendation Box */
        .rekomen-box {
            border-radius: 12px;
            padding: 20px 24px;
            font-size: 14px;
            line-height: 1.8;
            border: 3px solid;
            margin-bottom: 20px;
        }

        .rekomen-box h5 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .rekomen-great { background: linear-gradient(135deg, #d4edda, #c3e6cb); border-color: #28a745; color: #155724; }
        .rekomen-good  { background: linear-gradient(135deg, #d1ecf1, #bee5eb); border-color: #17a2b8; color: #0c5460; }
        .rekomen-warn  { background: linear-gradient(135deg, #fff3cd, #ffeaa7); border-color: var(--polines-gold); color: #856404; }
        .rekomen-danger{ background: linear-gradient(135deg, #f8d7da, #f5c6cb); border-color: #dc3545; color: #721c24; }

        /* Breakdown */
        .breakdown-card {
            background: #ffffff;
            border-radius: 12px;
            border: 2px solid #e9ecef;
            padding: 24px;
            margin-bottom: 16px;
        }

        .breakdown-card h6 {
            font-size: 14px;
            font-weight: 700;
            color: var(--polines-navy);
            margin-bottom: 16px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f0f0f0;
        }

        .cat-breakdown {
            margin-bottom: 14px;
        }

        .cat-breakdown-label {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 13px;
            font-weight: 600;
            color: var(--polines-navy);
            margin-bottom: 6px;
        }

        .cat-bar-track {
            background: #e9ecef;
            border-radius: 99px;
            height: 8px;
            overflow: hidden;
        }

        .cat-bar-fill {
            height: 100%;
            border-radius: 99px;
            transition: width 0.8s ease;
        }

        /* Detail list */
        .detail-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .detail-row {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 14px;
            border-radius: 8px;
            background: #f8f9fa;
            font-size: 13px;
        }

        .detail-label {
            flex: 1;
            color: #333;
            line-height: 1.4;
        }

        .detail-badge {
            font-weight: 700;
            font-size: 12px;
            padding: 3px 10px;
            border-radius: 6px;
            white-space: nowrap;
        }

        .badge-3 { background: #d4edda; color: #155724; }
        .badge-2 { background: #fff3cd; color: #856404; }
        .badge-1 { background: #f8d7da; color: #721c24; }

        /* Result action buttons */
        .btn-result-action {
            padding: 11px 22px;
            font-size: 13px;
            font-weight: 600;
            border-radius: 25px;
            border: none;
            cursor: pointer;
            transition: all 0.3s;
            font-family: 'Poppins', sans-serif;
            display: inline-flex;
            align-items: center;
            gap: 7px;
        }

        .btn-result-action:hover { transform: translateY(-2px); opacity: 0.9; }
        .btn-cetak { background: var(--polines-navy); color: #ffffff; }



        /* Methodology */
        .methodology {
            background: linear-gradient(135deg, var(--polines-navy) 0%, var(--polines-blue) 100%);
            padding: 25px;
            border-radius: 12px;
            margin-top: 30px;
            border-left: 5px solid var(--polines-gold);
            box-shadow: 0 5px 20px rgba(0,51,102,0.2);
        }

        .methodology p {
            color: #ffffff;
            line-height: 1.9;
            font-size: 14px;
            margin-bottom: 0;
        }

        .methodology strong { color: var(--polines-gold); }
        .methodology a { color: var(--polines-gold); text-decoration: underline; }
        .methodology a:hover { color: var(--polines-yellow); }

        /* Call to Action */
        .call-to-action {
            background: linear-gradient(135deg, var(--polines-navy) 0%, var(--polines-blue) 100%);
            padding: 50px 0;
            margin-top: 60px;
        }

        .call-to-action h2 { color: var(--polines-gold); font-weight: 700; }
        .call-to-action h4 { color: #ffffff; font-weight: 400; }

        .call-to-action .border-button a {
            background-color: var(--polines-gold);
            color: var(--polines-navy);
            border: 2px solid var(--polines-gold);
            font-weight: 600;
            padding: 14px 30px;
            border-radius: 25px;
            transition: all 0.3s ease;
        }

        .call-to-action .border-button a:hover {
            background-color: transparent;
            color: var(--polines-gold);
            transform: translateY(-2px);
        }

        /* ===== PRINT ===== */
        @media print {
            * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
            @page { margin: 8mm 12mm 8mm 12mm; size: A4; }

            /* Sembunyikan semua elemen web */
            body > *:not(#print-container) { display: none !important; }

            /* Tampilkan hanya print container */
            #print-container {
                display: block !important;
                font-family: 'Poppins', Arial, sans-serif;
                font-size: 10pt;
                color: #111;
                background: #fff;
            }

            /* — header — */
            #print-header {
                background: #003366 !important;
                color: #fff !important;
                padding: 8px 14px;
                border-radius: 6px;
                margin-bottom: 6px;
                display: flex;
                align-items: center;
                justify-content: space-between;
            }
            #print-header .ph-left h1 { font-size: 13pt; color: #FDB515 !important; margin: 0 0 2px 0; font-weight: 700; }
            #print-header .ph-left p  { font-size: 8pt; color: rgba(255,255,255,0.85) !important; margin: 0; }
            #print-header .ph-right   { font-size: 8pt; color: rgba(255,255,255,0.75) !important; text-align: right; }

            #print-score-row {
                display: flex;
                gap: 6px;
                margin-bottom: 6px;
            }
            #print-score-main {
                background: #003366 !important;
                color: #fff !important;
                border-radius: 6px;
                padding: 8px 14px;
                flex: 1;
                display: flex;
                align-items: center;
                gap: 12px;
            }
            #print-score-main .psm-pct { font-size: 24pt; font-weight: 800; color: #FDB515 !important; line-height: 1; }
            #print-score-main .psm-info .psm-label { font-size: 11pt; font-weight: 700; color: #FDB515 !important; }
            #print-score-main .psm-info .psm-status { font-size: 8pt; color: rgba(255,255,255,0.85) !important; margin-top: 1px; }

            /* — skor per kategori — */
            #print-cat-box {
                background: #f5f7fa;
                border: 1px solid #dde1e7;
                border-radius: 6px;
                padding: 8px 12px;
                flex: 1.2;
            }
            #print-cat-box h3 { font-size: 8.5pt; font-weight: 700; color: #003366 !important; margin: 0 0 5px 0; border-bottom: 1px solid #dde1e7; padding-bottom: 4px; }
            .pcat-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; font-size: 8pt; }
            .pcat-row:last-child { margin-bottom: 0; }
            .pcat-name { color: #333 !important; font-weight: 600; }
            .pcat-pct  { font-weight: 700; }

            /* — rekomendasi — */
            #print-rekomen {
                border-radius: 6px;
                padding: 7px 12px;
                font-size: 8.5pt;
                margin-bottom: 7px;
                border-left: 4px solid;
                page-break-inside: avoid;
            }
            #print-rekomen h3 { font-size: 9pt; font-weight: 700; margin: 0 0 3px 0; }
            #print-rekomen p  { margin: 0; line-height: 1.5; }
            #print-rekomen small { font-size: 7.5pt; opacity: 0.8; }

            /* — detail kriteria — */
            #print-detail-title {
                font-size: 9.5pt;
                font-weight: 700;
                color: #003366 !important;
                margin: 7px 0 4px 0;
                padding-bottom: 4px;
                border-bottom: 2px solid #003366;
            }
            .pcat-section-title {
                background: #003366 !important;
                color: #fff !important;
                font-size: 7.5pt;
                font-weight: 700;
                padding: 3px 8px;
                border-radius: 3px;
                margin: 5px 0 3px 0;
                letter-spacing: 0.5px;
            }
            .pkriteria-row {
                display: flex;
                align-items: flex-start;
                gap: 7px;
                padding: 5px 8px;
                border-radius: 4px;
                margin-bottom: 3px;
                page-break-inside: avoid;
            }
            .pkriteria-row.pk-baik   { background: #eaf7ee !important; }
            .pkriteria-row.pk-cukup  { background: #fff8e6 !important; }
            .pkriteria-row.pk-buruk  { background: #fdecea !important; }
            .pkriteria-num {
                width: 18px; height: 18px;
                border-radius: 4px;
                display: flex; align-items: center; justify-content: center;
                font-size: 8pt; font-weight: 700; color: #fff !important;
                flex-shrink: 0; margin-top: 1px;
            }
            .pk-baik  .pkriteria-num { background: #28a745 !important; }
            .pk-cukup .pkriteria-num { background: #e67e22 !important; }
            .pk-buruk .pkriteria-num { background: #c0392b !important; }
            .pkriteria-body { flex: 1; }
            .pkriteria-body strong { font-size: 8.5pt; color: #111 !important; display: block; line-height: 1.2; }
            .pkriteria-body span   { font-size: 7.5pt; color: #555 !important; }
            .pkriteria-badge {
                font-size: 7.5pt;
                font-weight: 700;
                padding: 1px 7px;
                border-radius: 3px;
                white-space: nowrap;
                align-self: center;
            }
            .pk-baik  .pkriteria-badge { background: #d4edda !important; color: #155724 !important; }
            .pk-cukup .pkriteria-badge { background: #fff3cd !important; color: #856404 !important; }
            .pk-buruk .pkriteria-badge { background: #f8d7da !important; color: #721c24 !important; }

            /* — catatan & footer — */
            #print-catatan {
                margin-top: 10px;
                padding: 8px 12px;
                border: 1px solid #FDB515;
                border-radius: 6px;
                background: #fffbea !important;
                font-size: 8.5pt;
                color: #856404 !important;
                page-break-inside: avoid;
            }
            #print-footer {
                text-align: center;
                font-size: 8pt;
                color: #999 !important;
                margin-top: 12px;
                padding-top: 8px;
                border-top: 1px solid #ddd;
            }
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 992px) {
            .header-area .main-nav .nav { background-color: var(--polines-navy) !important; }
            .header-area .main-nav .nav li.has-sub ul.sub-menu { background-color: var(--polines-blue) !important; }
        }

        @media (max-width: 768px) {
            .eval-card { padding: 20px 16px; }
            .eval-header h3 { font-size: 22px; }
            .btn-evaluate, .btn-reset { width: 100%; margin-bottom: 8px; }
            .call-to-action { padding: 40px 0; }
        }
