@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Arimo:ital,wght@0,400..700;1,400..700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Oswald&family=Rubik:ital,wght@0,300..900;1,300..900&family=Science+Gothic:wght@100..900&display=swap');


        .content-wrapper-indikator {
            display: flex;
            gap: 24px;
            width: 100%;
            max-width: 1180px;
            align-items: flex-start;
            flex-wrap: wrap;
            justify-content: center;
            border: #779677 dashed 1.7px;
            padding: 20px;
          /*  background-color: #708090; */
          background: linear-gradient(135deg, #F2F2F2 0%, #fff 65%, #F2F2F2 100%);
            border-radius: 10px;
            font-family: 'Rubik', sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;

        }

        /* ===== Kolom panah kiri & kanan ===== */
        .steps-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;
            max-width: 140px;
            flex: 1 1 300px;
        }

        .step-item {
            position: relative;
            width: 100%;
        }

        .step-item:not(:last-child)::after {
            content: '';
            position: absolute;
            left: 50%;
            bottom: -14px;
            width: 2px;
            height: 14px;
            background-color: rgba(0, 0, 0, 0.2);
            transform: translateX(-50%);
        }

        .step-arrow {
            display: block;
            width: 100%;
            text-align: left;
            background: linear-gradient(135deg, #6fcf7a 0%, #2e9e4f 55%, #1c7a38 100%);
            color: #ffffff;
            font-size: 12.5px;
            font-weight: 500;
            font-family: inherit;
            line-height: 1.35;
            padding: 12px 30px 12px 34px;
            border: none;
            cursor: pointer;
            position: relative;
            /* panah menunjuk ke kanan (kolom kiri) */
          /*  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);*/
            clip-path: none;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.18);
            margin: 0 0 14px 0;
            transition: background .2s ease, transform .15s ease, filter .2s ease;
             border-radius: 8px;
        }

        /* ===== Efek paku/pin di setiap tombol ===== */
        .step-arrow::before {
          /*
            content: '';
            position: absolute;
            left: 12px;
            top: 50%;
            transform: translateY(-50%);
            width: 13px;
            height: 13px;
            border-radius: 50%;
            background: radial-gradient(circle at 32% 28%, #ffffff, #c9c9c9 35%, #8a8a8a 65%, #555555 100%);
            box-shadow:
                0 2px 3px rgba(0, 0, 0, 0.55),
                inset 0 -1px 1px rgba(0, 0, 0, 0.35),
                inset 0 1px 1px rgba(255, 255, 255, 0.6);
            z-index: 2; */
        }

        .step-arrow.active::before {
            background: radial-gradient(circle at 32% 28%, #eafff0, #9be6ab 35%, #2e9e4f 65%, #1c7a38 100%);
        }

        /* panah kolom kanan menunjuk ke kiri (mengarah ke tengah) */
        .steps-wrapper.right .step-arrow {
            text-align: right;
            padding: 12px 34px 12px 30px;
           /* clip-path: polygon(12% 0, 100% 0, 100% 100%, 12% 100%, 0 50%);*/
            clip-path: none;
        }

        .steps-wrapper.right .step-arrow::before {
            left: auto;
            right: 12px;
        }

        .step-arrow:hover {
            background: linear-gradient(135deg, #82db8c 0%, #38b25c 55%, #218844 100%);
        }

        .step-arrow.active {
            background: #ffffff;
            color: #1c7a38;
            font-weight: 700;
            transform: scale(1.03);
            /* border biasa akan "hilang" di ujung lancip clip-path,
               drop-shadow mengikuti siluet asli sehingga tetap terlihat sampai ke ujung panah */
            filter:
                drop-shadow(1px 0 0 #2e9e4f)
                drop-shadow(-1px 0 0 #2e9e4f)
                drop-shadow(0 1px 0 #2e9e4f)
                drop-shadow(0 -1px 0 #2e9e4f)
                drop-shadow(0 3px 6px rgba(46, 158, 79, 0.35));
        }

        .step-item:last-child .step-arrow {
            margin-bottom: 0;
        }

         /* ===== Panel tengah ===== */
        .panel-wrapper {
            flex: 1 1 320px;
            min-width: 280px;
            max-width: 620px;
            background-color: #f4faf5;
            border: 1px solid #cdeed6;
            border-radius: 12px;
            padding: 24px;
            color: #1f2d24;
            min-height: 240px;
            align-self: center;
            position: sticky;
            top: 40px;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
            outline: none;
            scroll-margin-top: 24px;
            transition: box-shadow .25s ease;
        }

        .panel-wrapper.flash {
            box-shadow: 0 0 0 4px rgba(46, 158, 79, 0.35), 0 4px 14px rgba(0, 0, 0, 0.06);
        }

        .panel-wrapper h4 {
            margin: 0 0 12px 0;
            font-size: 17px;
            color: #1c7a38;
        }

        .panel-wrapper p {
            margin: 0;
            font-size: 14.5px;
            line-height: 1.7;
            color: #384b3f;
        }

        .panel-number {
            display: inline-block;
            background: linear-gradient(135deg, #6fcf7a 0%, #1c7a38 100%);
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            padding: 3px 10px;
            border-radius: 20px;
            margin-bottom: 10px;
        }

        /* ===== Bagian bawah panel: 2 kolom (sub indikator & slider target) ===== */
        .detail-grid {
            display: grid;
            //grid-template-columns: 300px 1fr 2fr;
            gap: 18px;
            margin-top: 18px;
            padding-top: 16px;
            border-top: 1.2px dashed #088F8F;
        }

        .detail-col h5 {
            margin: 0 0 10px 0;
            font-size: 11.5px;
            font-weight: 700;
            color: #1c7a38;
            text-transform: uppercase;
            letter-spacing: 0.04em;
        }

        /* ===== Mini slider per Sub Indikator (dengan capaian saat ini) ===== */
        .sub-item {
            margin-bottom: 20px;
        }

        .sub-item:last-child {
            margin-bottom: 0;
        }

        .sub-item-name {
            font-size: 12px;
            font-weight: 600;
            color: #1f2d24;
            line-height: 1.4;
            margin-bottom: 18px;
        }

        .sub-slider {
            position: relative;
            height: 5px;
            margin: 0 6px 8px 6px;
        }

        .sub-slider-track {
            position: absolute;
            inset: 0;
            background-color: #e2e8e4;
            border-radius: 4px;
        }

        .sub-slider-fill {
            position: absolute;
            left: 0;
            top: 0;
            bottom: 0;
            background: linear-gradient(90deg, #9be6ab, #2e9e4f);
            border-radius: 4px;
            transform-origin: left center;
            animation: fillGrow 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
        }

@keyframes fillGrow {
            from {
                transform: scaleX(0);
            }
            to {
                transform: scaleX(1);
            }
        }

        .sub-marker {
            position: absolute;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: #ffffff;
            border: 2px solid #9ca3af;
            z-index: 2;
        }

        .sub-marker.midterm {
            border-color: #f2a93b;
        }

        .sub-marker.endtarget {
            border-color: #2e9e4f;
        }

        .sub-marker.current {
            width: 13px;
            height: 13px;
            background: #1c7a38;
            border: 2px solid #ffffff;
            box-shadow: 0 0 0 3px rgba(46, 158, 79, 0.3);
            z-index: 3;
              opacity: 0;
            animation:
                markerPop 0.45s ease-out 0.75s both,
                markerPulse 2s ease-in-out 1.2s infinite;
        }
        @keyframes markerPop {
            from {
                opacity: 0;
                transform: translate(-50%, -50%) scale(0.3);
            }
            to {
                opacity: 1;
                transform: translate(-50%, -50%) scale(1);
            }
        }

        @keyframes markerPulse {
            0%, 100% {
                box-shadow: 0 0 0 3px rgba(46, 158, 79, 0.3);
            }
            50% {
                box-shadow: 0 0 0 6px rgba(46, 158, 79, 0.12);
            }
        }

        .sub-marker.current .current-value {
            position: absolute;
            top: -22px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 10px;
            font-weight: 700;
            color: #1c7a38;
            background: #ffffff;
            padding: 1px 6px;
            border-radius: 8px;
            border: 1px solid #cdeed6;
            white-space: nowrap;
       opacity: 0;
            animation: labelFade 0.4s ease-out 1.05s both;
        }

        @keyframes labelFade {
            from {
                opacity: 0;
                transform: translateX(-50%) translateY(4px);
            }
            to {
                opacity: 1;
                transform: translateX(-50%) translateY(0);
            }
        }

        .sub-slider-labels {
            display: flex;
            justify-content: space-between;
            font-size: 9.5px;
            color: #6b7c70;
            margin-top: 12px;
        }

        /* Slider vertikal 3 titik: baseline, mid term target, end target */
        .target-slider {
            position: relative;
            padding-left: 4px;
        }

        .target-slider::before {
            content: '';
            position: absolute;
            left: 9px;
            top: 8px;
            bottom: 8px;
            width: 2px;
            background: linear-gradient(#c7ccd1, #2e9e4f);
        }

        .slider-point {
            position: relative;
            display: flex;
            align-items: flex-start;
            gap: 10px;
            margin-bottom: 20px;
        }

        .slider-point:last-child {
            margin-bottom: 0;
        }

        .slider-dot {
            position: relative;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            flex-shrink: 0;
            margin-top: 2px;
            z-index: 1;
        }

        .slider-point.baseline .slider-dot {
            background: #9ca3af;
            box-shadow: 0 0 0 3px rgba(156, 163, 175, 0.25);
        }

        .slider-point.midterm .slider-dot {
            background: #f2a93b;
            box-shadow: 0 0 0 3px rgba(242, 169, 59, 0.25);
        }

        .slider-point.endtarget .slider-dot {
            background: #2e9e4f;
            box-shadow: 0 0 0 3px rgba(46, 158, 79, 0.25);
        }

        .slider-label {
            display: block;
            font-size: 10.5px;
            font-weight: 600;
            color: #6b7c70;
            text-transform: uppercase;
            letter-spacing: 0.03em;
        }

        .slider-value {
            display: block;
            font-size: 15px;
            font-weight: 700;
            color: #1f2d24;
            line-height: 1.3;
        }

        @media (max-width: 560px) {
            .detail-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 980px) {
            .content-wrapper {
                flex-direction: column;
                align-items: center;
            }
            .steps-wrapper,
            .steps-wrapper.right {
                max-width: 420px;
            }

            /* Ujung lancip panah dihilangkan di mobile, jadi kotak rounded biasa */
            .step-arrow,
            .steps-wrapper.right .step-arrow {
                clip-path: none;
                border-radius: 8px;
                text-align: left;
                padding: 12px 16px 12px 34px;
            }

            .step-arrow::before,
            .steps-wrapper.right .step-arrow::before {
                left: 12px;
                right: auto;
            }

            /* Karena tidak ada lagi ujung lancip, border aktif kembali pakai box-shadow biasa saja */
            .step-arrow.active {
                filter: drop-shadow(0 3px 6px rgba(46, 158, 79, 0.35));
                box-shadow: 0 0 0 1.5px #2e9e4f;
            }

            .panel-wrapper {
                position: static;
                max-width: 420px;
            }
        }