/* =========================
   ROOT COLOR SYSTEM 🔥
========================= */
:root {
    --primary: #40EDD0;
    --primary-dark: #00CED1;
    --primary-medium: #48D1CC;

    --bg-main: #F4FEFD;
    --bg-card: #E0F7F6;
    --accent: #2CCFC0;
    --border: #B8ECE8;

    --text-dark: #1F3A3A;
    --text-light: #6B8A8A;
}

/* =========================
   GLOBAL
========================= */
body {
    font-family: 'Segoe UI';
    scroll-behavior: smooth;
    background: var(--bg-main);
    color: var(--text-dark);
}

/* =========================
   TEXT & BUTTON
========================= */
.text-teal {
    color: var(--primary-dark);
}

.btn-teal {
    background: var(--primary-dark);
    color: white;
    border-radius: 12px;
    transition: 0.3s;
}

.btn-teal:hover {
    background: var(--accent);
}

/* =========================
   NAVBAR
========================= */
.navbar {
    backdrop-filter: blur(10px);
    background: white;
}

.nav-link {
    color: var(--text-dark);
    transition: 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-dark);
}

.active-menu {
    color: var(--primary-dark) !important;
    font-weight: 600;
}

.active-menu::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background: var(--primary-dark);
    border-radius: 10px;
}

/* =========================
   HERO
========================= */
.hero {
    padding: 60px 0;
    background: linear-gradient(to right, var(--bg-main), var(--bg-card));
}

.hero-img{
    max-width: 450px; /* ubah jadi 600px kalau mau lebih gede */
    width: 100%;
}

/* =========================
   MENU BOX
========================= */
.menu-box {
    background: var(--primary-dark);
    color: white;
    padding: 12px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.menu-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* =========================
   SLIDER
========================= */
.horizontal-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    scroll-behavior: smooth;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.scroll-card {
    min-width: 300px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 20px;
    border-radius: 20px;
    transition: 0.3s;
}

.scroll-card:hover {
    transform: scale(1.05);
}

/* =========================
   SLIDER PREMIUM 🔥
========================= */
.card-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.card-slider::-webkit-scrollbar {
    display: none;
}

.card-item {
    min-width: 520px;
    height: 220px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 25px;
    display: flex;
    align-items: center;
    padding: 30px;
    color: white;
    position: relative;
}

.card-content {
    width: 60%;
}

.card-item img {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 110%;
}

/* =========================
   BUTTON SCROLL
========================= */
.scroll-btn {
    position: absolute;
    top: 45%;
    background: white;
    border: none;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

/* =========================
   MAP
========================= */
#map,
#mapPneu,
#mapDbd,
#mapTbc,
#mapDiare {
    height: 400px;
    border-radius: 15px;
}

.map-box {
    position: relative;
}

.map-info {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: white;
    padding: 8px 12px;
    border-radius: 10px;
}

/* =========================
   ABOUT
========================= */
.about {
    background: var(--bg-card);
    padding: 50px 0;
}

.about-img {
    border-radius: 20px;
    max-height: 280px;
}

/* =========================
   PENYAKIT
========================= */
.penyakit-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 60px 0;
    border-radius: 10px;
}

.penyakit-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    transition: 0.3s;
}

.penyakit-card h6 {
    color: var(--primary-dark);
}

.penyakit-card p {
    color: var(--text-light);
}

/* =========================
   CONTACT
========================= */
.contact-modern {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
}

.contact-form {
    display: flex;
    gap: 10px;
}

.contact-form input {
    border: 1px solid var(--border);
    border-radius: 10px;
}

.contact-form button {
    background: var(--primary-dark);
    color: white;
    border-radius: 10px;
}

/* =========================
   HERO LANDING PAGE
========================= */
.pneu-hero {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 80px 0;
}

/* =========================
   FITUR
========================= */
.fitur-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 15px;
    border-radius: 12px;
    transition: 0.3s;
}

.fitur-box:hover {
    transform: translateY(-3px);
}

/* =========================
   CHART & LEGEND
========================= */
.chart-box,
.legend-box {
    background: white;
    padding: 20px;
    border-radius: 15px;
    height: 300px;
}

/* =========================
   LOGIN BUTTON
========================= */
.btn-login {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 25px;
    padding: 8px 20px;
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--accent), var(--primary-dark));
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .hero {
        text-align: center;
    }

    .card-item {
        min-width: 300px;
    }

    .contact-form {
        flex-direction: column;
    }

}

/* =========================
   STEP PROGRESS MODERN 🔥
========================= */
.step-wrapper {
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    min-width: 120px;
}

/* lingkaran */
.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E0F7F6;
    color: #6B8A8A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: 0.3s;
}

/* garis */
.step-line {
    height: 3px;
    width: 80px;
    background: #E0F7F6;
    margin: 0 10px;
    border-radius: 10px;
}

/* aktif */
.step-active .step-circle {
    background: linear-gradient(135deg, #40EDD0, #00CED1);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-active .step-title {
    color: #00CED1;
    font-weight: 600;
}

/* selesai */
.step-done .step-circle {
    background: #2CCFC0;
    color: white;
}

/* text */
.step-title {
    margin-top: 8px;
    font-size: 14px;
    color: #6B8A8A;
}

.step-wrapper {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* INPUT MODERN */
.modern-input {
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #E0F7F6;
    transition: 0.3s;
}

.modern-input:focus {
    border-color: #00CED1;
    box-shadow: 0 0 0 3px rgba(0, 206, 209, 0.15);
}

/* LABEL */
.form-label {
    font-size: 13px;
    color: #6B8A8A;
    margin-bottom: 4px;
}

/* =========================
   QUESTION CARD
========================= */
.question-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #E0F7F6;
    transition: 0.3s;
}

.question-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* TEXT */
.question-text {
    font-size: 14px;
    font-weight: 500;
    color: #1F3A3A;
}

/* =========================
   TOGGLE BUTTON (🔥 KEREN)
========================= */
.toggle-group {
    display: flex;
    gap: 10px;
}

/* tombol */
.btn-toggle {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: 0.3s;
}

/* default */
.btn-toggle.yes {
    background: #E0F7F6;
    color: #2CCFC0;
}

.btn-toggle.no {
    background: #f1f1f1;
    color: #888;
}

/* aktif YES */
input[type="radio"]:checked+.btn-toggle.yes {
    background: linear-gradient(135deg, #40EDD0, #00CED1);
    color: white;
    border: none;
}

/* aktif NO */
input[type="radio"]:checked+.btn-toggle.no {
    background: #6B8A8A;
    color: white;
    border: none;
}

/*css lidna*/
:root {
    --respi-dark-blue: #102C57;
}

body {
    background-color: #f4f6f9;
 font-family: 'Poppins', sans-serif;    margin: 0;
}

/* ================= SIDEBAR ================= */
.sidebar {
    width: 250px;
    height: 100vh;
    background-color: #ECF8F8;
    border-right: 1px solid #ddd;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
}

.sidebar .logo {
    font-weight: bold;
    font-size: 1.2rem;
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.sidebar .menu-label {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: bold;
    margin: 20px 20px 10px;
    text-transform: uppercase;
}

.sidebar a {
    display: block;
    padding: 10px 20px;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    border-radius: 8px;
    margin: 2px 15px;
}

.sidebar a:hover {
    background-color: #D9F3F4;
    color: var(--respi-dark-blue);
}

.sidebar a.active {
    background-color: #00BBC2;
    color: white;
    border-radius: 8px;
}

/* ================= MAIN ================= */
.main-content {
    margin-left: 250px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ================= TOPBAR ================= */
.topbar {
    background-color: white;
    padding: 15px 30px;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* ================= AVATAR ================= */
.avatar-circle {
    width: 42px;
    height: 42px;
    background-color: #FFE762;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 500;
}

/* ================= CONTENT ================= */
.content-body {
    padding: 30px;
    flex: 1;
}

/* ================= UTILITY ================= */
.header-card {
    background: linear-gradient(to right, #0a1e3f 0%, #4a82d8 100%);
    color: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.header-card .icon-box {
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 15px;
}

.table-container {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.btn-dark-blue {
    background-color: var(--respi-dark-blue);
    color: white;
}

.btn-dark-blue:hover {
    background-color: #0a1e3d;
    color: white;
}

.cursor-pointer {
    cursor: pointer;
}

.admin-text {
    font-size: 0.8rem;
    color: #00BBC2;
    font-weight: bold;
}

.content-body {
    background-color: white;
    padding: 30px;
    min-height: 100vh;
}
.footer {
    width:100%;
    margin-left:0;
    background: #00BBC2;
    color: white;
    padding: 40px 0;
    margin-top: 40px;
}
/* WELCOME BOX */
.welcome-box {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: #00BBC2;
    color: white;

    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
}

/* TEXT */
.welcome-text h5 {
    margin: 0;
    font-weight: 500;
    font-size: 30px;
}

.welcome-text h3 {
    margin: 5px 0;
    font-weight: 500;
    font-size: 30px;
    margin-bottom: 25px;
}

.welcome-text p {
    margin: 0;
    font-size: 20px;
}

/* ICON */
.welcome-icon {
    font-size: 100px;
    margin-right: 100px;
    opacity: 0.2;
}

/* ROW */
.stat-row {
    display: flex;
    gap: 20px;
    margin: 20px auto;  /* auto center */

    max-width: 800px;
}

/* CARD */
.stat-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;

    background: #f8f9fa;
    padding: 15px;
    border-radius: 15px;

    border-bottom: 4px solid #00c9a7;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* ICON */
.stat-icon {
    width: 45px;
    height: 45px;
    background: #e0f7f6;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #00a8cc;
    font-size: 18px;
}

/* TEXT */
.stat-info h3 {
    margin: 0;
    font-weight: 600;
}

.stat-info p {
    margin: 0;
    font-size: 13px;
    color: #6c757d;
}

/* COLORS */
.red { color: #D94C4C; }
.green { color: #49B875; }
.blue { color: #1A59A8; }

/* SECTION LUAR */
.section-card {
    background: #ECF8F8;
    padding: 20px;
    border-radius: 15px;
}

/* HEADER */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header h5 {
    margin: 0;
    font-weight: 600;
}

.section-block {
    margin-bottom: 25px;
}

.section-block:last-child {
    margin-bottom: 0;
}

.sub {
    font-size: 12px;
    color: #6c757d;
    margin-top: 8px;
}

/* FILTER */
.filter select,
.filter-group select {
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 12px;
}

/* GROUP FILTER */
.filter-group {
    display: flex;
    gap: 10px;
}

/* CARD DALAM (putih) */
.inner-card {
    background: white;
    padding: 0px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/* IMAGE */
.inner-card img {
    width: 100%;
    border-radius: 10px;
}

/* SECTION */
.artikel-section {
    width: 100%;
    overflow: hidden;
}

/* HEADER */
.artikel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* BUTTON TAMBAH */
.artikel-add {
    text-align: center;
    text-decoration: none;
}

.artikel-add img {
    width: 60px;
}

.artikel-add small {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: #000;
}

/* SCROLL */
.artikel-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

/* CARD */
.card-artikel {
    min-width: 300px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    position: relative;
}

/* IMAGE */
.artikel-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* ACTION BUTTON */
.artikel-action {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.artikel-action img {
    width: 24px;
}

/* CONTENT */
.artikel-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.artikel-content h5 {
    font-weight: 600;
}

.artikel-content p {
    color: #6c757d;
    font-size: 14px;
}

/* LINK */
.custom-link {
    margin-top: auto;
    color: #00BBC2;
    text-decoration: none;
    font-weight: 500;
}

.section-title {
    font-size: 22px;     

/* TABLE */
.table th, .table td {
    vertical-align: middle;
}

/* INPUT HASIL */
.form-control[readonly] {
    background: #f8f9fa;
}

/* BADGE */
.badge {
    padding: 6px 12px;
    border-radius: 20px;

}

/* wrapper dropdown avatar */
.avatar-dropdown {
    position: relative;
    display: inline-block;
}

/* dropdown default style */
.dropdown-menu {
    border-radius: 10px;
    padding: 10px 0;
    min-width: 160px;
    margin-top: 10px;
    display: none;
}

/* hover trigger */
.avatar-dropdown:hover > .dropdown-menu {
    display: block !important;
}

/* item style */
.dropdown-item {
    padding: 8px 15px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

/* hover item */
.dropdown-item:hover {
    background: #f5f5f5;
}

/* optional animasi smooth */
.dropdown-menu {
    opacity: 0;
    transform: translateY(10px);
    transition: 0.2s ease;
}

.avatar-dropdown:hover > .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
}

}

/* NOTIF */
.alert-box {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #20c997;
    color: white;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: bold;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.eye-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #666;
}

.eye-icon:hover {
    color: #000;
}

:root{
    --primary:#40EDD0;
    --dark:#00CED1;
    --medium:#48D1CC;

    --bg:#F4FEFD;
    --card:#E0F7F6;
    --accent:#2CCFC0;
    --border:#B8ECE8;

    --text-dark:#1F3A3A;
    --text-light:#6B8A8A;
}

/* GLOBAL */
body{
    background:var(--bg);
    color:var(--text-dark);
}

/* HERO FIGMA */
.hero-figma{
    height:520px;

    background:
        linear-gradient(90deg, rgba(0,206,209,0.9) 0%, rgba(0,206,209,0.6) 35%, rgba(0,0,0,0) 65%),
        url("../img/diare.png");

    background-size:cover;
    background-position:right center;
    background-repeat:no-repeat;

    border-radius:0 0 40px 40px;

    display:flex;
    align-items:center;
}

.hero-content-box{
    max-width:500px;
    color:white;
}

.hero-content-box h1{
    font-size:48px;
    font-weight:800;
}

.btn-hero{
    background:var(--primary);
    color:white;
    border-radius:30px;
    padding:10px 25px;
    font-weight:600;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

/* FITUR */
.fitur-box{
    background:var(--card);
    padding:18px;
    border-radius:12px;
    font-weight:600;
    color:var(--dark);
    transition:0.3s;
}

.fitur-box:hover{
    background:var(--accent);
    color:white;
    transform:translateY(-5px);
}

.text-teal{
    color:var(--dark);
}

/* INSIGHT SCROLL */
.scroll-container{
    display:flex;
    gap:20px;
    overflow-x:auto;
    padding-bottom:10px;
}


.scroll-container::-webkit-scrollbar{
    height:6px;
}

.scroll-container::-webkit-scrollbar-thumb{
    background:var(--accent);
}

/* CARD */
.card-gradient{
    background:linear-gradient(135deg,var(--dark),var(--primary));
    color:white;
}

/* CTA */
.btn-teal{
    background:var(--dark);
    color:white;
    border-radius:30px;
}

.btn-teal:hover{
    background:var(--accent);
}

/* MAP LABEL */
.label-desa{
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 2px 6px;
    font-size: 11px;
    border-radius: 6px;
}
.scroll-item h6{
    font-size:16px;
    font-weight:700;
    margin-bottom:5px;
}

.scroll-item small{
    font-size:13px;
    opacity:0.9;
}
.scroll-item .d-flex{
    width:100%;
    justify-content:space-between;
}
.scroll-item{
    box-shadow:0 10px 25px rgba(0,0,0,0.1);
}

.scroll-item:hover{
    transform:translateY(-5px);
    transition:0.3s;
}
/* ===== CAROUSEL INSIGHT ===== */
.carousel-wrapper{
    position:relative;
}

.scroll-container{
    display:flex;
    overflow:hidden;
    scroll-behavior:smooth;
}

.scroll-item{
    min-width:100%; /* 1 card 1 layar */
    height:180px;
    flex-shrink:0;
    border-radius:20px;
}


/* tombol */
.nav-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:40px;
    height:40px;
    border:none;
    border-radius:50%;
    background:var(--primary);
    color:white;
    font-size:22px;
    cursor:pointer;
    z-index:10;
}

.nav-btn.left{ left:-20px; }
.nav-btn.right{ right:-20px; }

.nav-btn:hover{
    background:var(--dark);
}
/* ===== PREMIUM SLIDER ===== */
.carousel-wrapper{
    position:relative;
}

.scroll-container{
    display:flex;
    overflow:hidden;
    scroll-behavior:smooth;
}

.scroll-item{
    min-width:100%;
    height:190px;
    flex-shrink:0;
    border-radius:20px;
}



/* tombol */
.nav-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:42px;
    height:42px;
    border:none;
    border-radius:50%;
    background:var(--primary);
    color:white;
    font-size:24px;
    cursor:pointer;
    z-index:10;
}

.nav-btn.left{ left:-20px; }
.nav-btn.right{ right:-20px; }

.nav-btn:hover{
    background:var(--dark);
}

/* dots */
.dots{
    text-align:center;
    margin-top:10px;
}

.dots span{
    display:inline-block;
    width:8px;
    height:8px;
    margin:5px;
    background:#ccc;
    border-radius:50%;
    cursor:pointer;
}

.dots span.active{
    background:var(--dark);
}
/* ===== RINGKASAN DATA ===== */
.ringkasan-box{
    background: linear-gradient(135deg, #b2dfdb, #00BBC2);
    border-radius: 15px;
    padding: 25px 30px;
    border: 2px solid #00BBC2;
    position: relative;
    overflow: hidden;
}

/* efek ilustrasi kanan */
.ringkasan-box::after{
    content:"";
    position:absolute;
    right:0;
    bottom:0;
    width:180px;
    height:120px;
    background: url("<?= base_url('img/ilustrasi.png') ?>") no-repeat;
    background-size: contain;
    opacity:0.2;
}

/* text */
.ringkasan-box h4{
    color:#00BBC2;
}

.ringkasan-box p{
    margin-bottom:8px;
    font-size:14px;
    color:#1F3A3A;
}

/* highlight angka */
.highlight-red{
    color:red;
    font-weight:600;
}

/* tombol kembali */
.btn-kembali{
    background:#00BBC2;
    color:white;
    padding:10px 35px;
    border-radius:25px;
    text-decoration:none;
    font-weight:600;
    box-shadow:0 5px 15px rgba(0,0,0,0.15);
    transition:0.3s;
}

.btn-kembali:hover{
    background:#ABFBFF;
    transform:translateY(-2px);
}
.scroll-item{
    min-height: 220px;
    border-radius: 25px;
    overflow: hidden;
    padding: 30px !important;
}

.scroll-item .d-flex{
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

/* TEXT */
.scroll-item h5{
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

.scroll-item p{
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.9;
}

/* IMAGE KANAN */
.scroll-item img{
    height: 140px;
    width: 220px;
    object-fit: cover;
    border-radius: 15px;
}

/* BIAR TEXT GA KEPEPET */
.scroll-item .text-area{
    max-width: 60%;
}
.scroll-item{
    transition: 0.3s;
}

.scroll-item:hover{
    transform: scale(1.02);
}
.card-summary{
    background:white;
    padding:20px;
    border-radius:15px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.summary-item{
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
    font-size:14px;
}

.summary-item span{
    color:#777;
}

.btn-save{
    background:#00BBC2;
    color:white;
    border:none;
    padding:10px 25px;
    border-radius:25px;
    box-shadow:0 5px 15px rgba(0,187,194,0.3);
}

.link-action{
    font-size:13px;
    color:#00BBC2;
    text-decoration:none;
}

.chart-img{
    max-width:100%;
    border-radius:10px;
}
*{
    --primary:#00BBC2 !important;
/* ================= FIX SIDEBAR TOGGLE ================= */

/* SIDEBAR */
.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    transition: left 0.3s ease;
}


/* SAAT SIDEBAR DIHIDE */
.wrapper.hide .sidebar {
    left: -250px;
}

/* BIAR FULL */
.wrapper.hide .main-content {
    margin-left: 0;
}

/* main content */
.main-content {
    margin-left: 250px;
    transition: all 0.3s ease;
}

/* SAAT DISEMBUNYIKAN */
.wrapper.hide .sidebar {
    left: -250px;
}

/* biar konten melebar */
.wrapper.hide .main-content {
    margin-left: 0;
}
.sidebar,
.main-content {
    transition: all 0.3s ease;
}

.main-content{
    margin-left:260px;
    width:calc(100% - 260px);
    min-height:100vh;
    background:#f8f9fc;
    transition:0.3s;
}

.wrapper.hide .main-content{
    margin-left:0;
}

.profile-card {
    background:white;
    max-width:800px;
    margin:60px auto;
    margin-top:60px;
    padding:40px;
    border-radius:12px;
    text-align:center;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
}

.avatar-box img{
    width:130px;
    height:130px;
    border-radius:50%;
    border:5px solid #e0f2f1;
    margin-bottom:15px;
}
.btn-upload{
    margin-top:15px;
}
/* ===== FIX SIDEBAR TOGGLE FINAL ===== */

.sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    transition: left 0.3s ease;
}

.main-content {
    margin-left: 250px;
    width: calc(100% - 250px);
    transition: all 0.3s ease;
}

/* saat sidebar disembunyikan */
.wrapper.hide .sidebar {
    left: -250px;
}

.wrapper.hide .main-content {
    margin-left: 0;
    width: 100%;
}
/* GLOBAL */
body {
    background: #f4f6f9;
}

/* HERO */
.pneu-hero {
    border-radius: 0 0 30px 30px;
    position: relative;
    overflow: hidden;
}

.pneu-hero img {
    transition: 0.4s;
}

.pneu-hero:hover img {
    transform: scale(1.05);
}

/* FITUR */
.fitur-box {
    background: white;
    font-weight: 500;
    transition: 0.3s;
    border-radius: 15px;
}

.fitur-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background: linear-gradient(135deg,#20c997,#0dcaf0);
    color: white;
}

/* INSIGHT */
.insight-card {
    border-radius: 20px;
    background: linear-gradient(135deg,#20c997,#0dcaf0);
    color: white;
    overflow: hidden;
    transition: 0.3s;
}

.insight-card:hover {
    transform: scale(1.02);
}

/* CTA */
.cta-box {
    border-radius: 20px;
    border: 2px solid #20c997;
    transition: 0.3s;
}

.cta-box:hover {
    background: #20c997;
    color: white;
}

.cta-box:hover a {
    background: white;
    color: #20c997;
}

/* CHART & MAP CARD */
.card-custom {
    border-radius: 15px;
    background: white;
    transition: 0.3s;
}

.card-custom:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* DROPDOWN */
select {
    border-radius: 10px !important;
    cursor: pointer;
}

/* MAP */
#peta {
    transition: 0.3s;
}

#peta:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* BADGE */
.badge {
    padding: 8px 12px;
    font-size: 12px;
}
/* WRAPPER */
.slider-wrapper {
    position: relative;
    overflow: hidden;
}

/* TRACK */
.slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px;
    scroll-behavior: smooth;
}

/* HILANGKAN SCROLLBAR */
.slider-track::-webkit-scrollbar {
    display: none;
}

/* ITEM */
.slider-item {
    flex: 0 0 70%;
    height: 180px;
    background: linear-gradient(135deg,#20c997,#0dcaf0);
    color: white;
    border-radius: 25px;
    display: flex;
    align-items: center;
    padding: 20px;
}

/* GAMBAR */
.slider-item img {
    width: 110px;
    height: 110px;
    border-radius: 15px;
    margin-right: 15px;
}

/* BUTTON */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #20c997;
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
}
.slider-item {
    flex-direction: row-reverse;
    text-align: left; /* penting */
}

.slider-item div {
    flex: 1;
    text-align: left;
}
.slider-btn.left { left: 10px; }
.slider-btn.right { right: 10px; }
}


.welcome-box:hover .welcome-icon i {
    transform: scale(1.1);

body {
    background: #ffffff;
}

/* STEP */
.step-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}
.step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    font-weight: 600;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
}

.step-item p {
    margin-top: 8px;
    font-size: 14px;
}
/* STEP AKTIF (ISI WARNA) */
.step.active {
    background: #00BBC2;
    color: white;
    border: none;
}

/* STEP BELUM AKTIF (HANYA GARIS) */
.step.inactive {
    background: transparent;
    color: #20b2aa;
    border: 2px solid #00BBC2;
}
.step-line {
    display: inline-block;
    width: 500px;
    border-top: 2px dashed #00BBC2;
    margin: 0 10px;
    transform: translateY(-20px);
}

/* CARD */
.card-custom {
    border-radius: 15px;
    border: 2px solid #00BBC2;
    background: #f1f3f5;
    padding: 50px;
}

/* INPUT */
.form-control, .form-select {
    border-radius: 10px;
    height: 45px;
}

/* BUTTON */
.btn-next {
    background: #555;
    color: white;
    border-radius: 10px;
    height: 50px;
    font-weight: bold;
    border: none;
    transition: 0.3s;
    
}

/* SAAT DIKLIK */
.btn-next:active {
    background: #00BBC2; /* tosca */
}

/* SAAT HOVER (BIAR LEBIH HIDUP) */
.btn-next:hover {
    background: #00BBC2;
}

.footer a {
    color: white;
    text-decoration: none;
}
.logo-footer {
    width: 60px;
    height: 60px;
    background: red;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.row {
    row-gap: 20px; /* jarak atas bawah */
    column-gap: 0px; /* jarak kiri kanan */
    --bs-gutter-x: 8rem; /* default cuma 1.5rem */
}
body {
    font-family: 'Poppins', sans-serif;
}
body {
    background: #ffffff;
}

/* STEP */
.step-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}
.step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    font-weight: 600;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
}
.step-item p {
    margin-top: 8px;
    font-size: 14px;
}
.step.active {
    background: #009B9F;
    color: white;
}
.step.inactive {
    background: #00BBC2;
    color: white;
}
.step-line {
    width: 500px;
    border-top: 2px dashed #00BBC2;
    margin: 0 10px;
    transform: translateY(-20px);
}
* {
    font-family: 'Poppins', sans-serif;
}
/* CARD */
.card-custom {
    border-radius: 15px;
    border: 2px solid #00BBC2;
    background: #f1f3f5;
    padding: 30px;
    max-width: 900px;
    margin: auto;
}

/* PERTANYAAN */
.pertanyaan {
    margin-bottom: 20px;
}

/* OPSI */
.opsi-group {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 8px;
}
.opsi {
    border-radius: 15px;
    padding: 10px 50px;
    font-size: 15px;
    cursor: pointer;
    background: #fafafa;
    color: #555;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.opsi.active {
    background: #00BBC2;
    color: white;
}

/* BUTTON */
.btn-kembali {
    border: 2px solid #00BBC2;
    color: #00BBC2;
    border-radius: 12px;
    height: 50px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-kirim {
    background: #00BBC2;
    color: white;
    border-radius: 12px;
    height: 50px;
    font-weight: 500;
}

/* PROGRESS */
#progressText {
    color: black;
    font-weight: 500;
    margin-bottom: 15px;
}

.footer a {
    color: white;
    text-decoration: none;
}
.logo-footer {
    width: 60px;
    height: 60px;
    background: red;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.pertanyaan label {
    display: block;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 15px;
}
body {
    background: #ffffff;
}

/* CARD */
.card-custom {
    border-radius: 15px;
    border: 2px solid #00BBC2;
    background: #f1f3f5;
    padding: 40px;
    max-width: 1000px;
    margin: 40px auto;
}

/* TITLE */
.section-title {
    font-weight: bold;
    margin: 25px 0 15px;
}

/* BOX */
.data-box {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* HASIL */
.hasil-box {
    background: #00BBC2;
    color: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
}

/* TABLE */
.table th {
    background: #00BBC2;
    color: white;
}
.badge {
    padding: 8px 15px;
    font-size: 14px;
}

/* TIPS */
.tips-box {
    border-radius: 12px;
    overflow: hidden;
    margin-top: 10px;
}

.tips-header {
    background: #00BBC2;
    color: white;
    padding: 10px 15px;
    font-weight: bold;
}

.tips-content {
    background: #cfe8f3;
    padding: 15px;
}

.tips-content ul {
    margin: 0;
    padding-left: 20px;
}

.form-control[readonly] {
    background-color: #f8f9fa;
    border-radius: 10px;
}

/* FOOTER */
.footer-text {
    text-align: center;
    margin-top: 30px;
    color: gray;
    font-size: 14px;
}
.btn-custom {
    height: 55px;
    border-radius: 12px;
    font-weight: 600;
}


.btn-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.btn-kembali, .btn-selesai, .btn-cetak {
    width: 160px;
    height: 50px;
    border-radius: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

/* warna */
.btn-kembali {
    background: white;
    border: 2px solid #00BBC2;
    color: #00BBC2;
}

.btn-selesai {
    background: #00BBC2;
    color: white;
}

.btn-cetak {
    width: 200px;
    height: 50px;
    background: #555;
    color: white;
    border-radius: 10px;
    font-weight: 600;
    
}
@media print {
    .btn-wrapper, .btn-cetak {
        display: none;
    }
}
.btn-cetak-full {
    width: 100%;                 /* full lebar */
    height: 50px;
    background: #00BBC2;         /* warna tosca */
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
}

.btn-cetak-full:hover {
    opacity: 0.9;
}
/* TABLE ROUNDED */
.table {
    border-radius: 12px;
    overflow: hidden;
}

/* HEADER */
.table thead tr th:first-child {
    border-top-left-radius: 12px;
}

.table thead tr th:last-child {
    border-top-right-radius: 12px;
}

/* FOOTER (baris terakhir) */
.table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}
/* BUTTON STYLE */ 
.btn-kembali { 
    background: white; 
    color: #00BBC2; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); } 

.btn-selesai { 
    background: #00BBC2; 
    color: white; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); }

/* SPACING BIAR NGGAK RAPET */
.section-title {
    margin-top: 35px;
}

.data-box {
    margin-bottom: 25px;
}

.table {
    margin-bottom: 25px;
}

.hasil-box {
    margin-bottom: 15px;
}

.tips-box {
    margin-top: 20px;
    margin-bottom: 30px;
}

.cetak-wrapper {
    margin-top: 20px;
}
* {
    font-family: 'Poppins', sans-serif;
}


/* =============================
  sidebar admin
============================= */
/* =============================
   WRAPPER
============================= */
.wrapper{
    display:flex;
    min-height:100vh;
}

/* =============================
   SIDEBAR
============================= */
.sidebar{
    position:fixed;
    top:0;
    left:0;
    width:260px;
    height:100vh;

    background:#ffffff;
    padding:20px 15px;

    overflow-y:auto;      /* ⭐ INI YANG MEMBUAT SCROLL */
    overflow-x:hidden;

    transition:0.3s;
    box-shadow:2px 0 10px rgba(0,0,0,0.05);
}

/* Scrollbar modern */
.sidebar::-webkit-scrollbar{
    width:6px;
}

.sidebar::-webkit-scrollbar-thumb{
    background:#cfcfcf;
    border-radius:10px;
}

/* =============================
   MENU SIDEBAR
============================= */
.sidebar a{
    display:block;
    padding:10px 15px;
    margin-bottom:6px;
    text-decoration:none;
    color:#444;
    border-radius:8px;
    transition:0.2s;
}

.sidebar a:hover{
    background:#eef2ff;
}

.sidebar a.active{
    background:#4e73df;
    color:#fff;
}

/* Label */
.menu-label{
    font-size:12px;
    font-weight:600;
    margin-top:20px;
    margin-bottom:10px;
    color:#888;
    text-transform:uppercase;
}

/* =============================
   MAIN CONTENT
============================= */
.main-content{
    margin-left:260px;
    width:calc(100% - 260px);
    min-height:100vh;
    background:#f8f9fc;
}

/* =============================
   SIDEBAR COLLAPSE
============================= */
.wrapper.hide .sidebar{
    left:-260px;
}

.wrapper.hide .main-content{
    margin-left:0;
}
.action-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-action {
    text-decoration: none;
}

.btn-action span {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.btn-view span {
    background: #2F80ED;
}

.btn-edit span {
    background: #F2C94C;
}

.btn-delete span {
    background: #EB5757;
}
}
/* =========================
   BERITA & FUNFACT MODERN
========================= */

.content-section{
    margin-top: 35px;
}

.section-title{
    font-size: 28px;
    font-weight: 700;
    color: #1F3A3A;
    margin-bottom: 5px;
}

.section-sub{
    color: #6B8A8A;
    font-size: 15px;
    margin-bottom: 20px;
}

/* CARD */
.info-card{
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 25px;

    background: linear-gradient(90deg, #12cfe0, #00BBC2);

    padding: 28px;
    border-radius: 24px;

    overflow: hidden;

    margin-bottom: 20px;

    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* TEXT */
.info-text{
    flex: 1;
    color: white;
}

.info-text h5{
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;

    margin-bottom: 15px;
}

.info-text p{
    font-size: 15px;
    line-height: 1.8;

    opacity: 0.95;

    margin-bottom: 10px;
}

.info-text small{
    font-size: 13px;
    opacity: 0.85;
}

/* IMAGE */
.info-image img{
    width: 240px;
    height: 160px;

    object-fit: cover;

    border-radius: 18px;
}
.info-card{
    transition: 0.3s;
}

.info-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.info-image img{
    transition: 0.3s;
}

.info-card:hover .info-image img{
    transform: scale(1.05);
}
.info-card{
    min-height: 220px;
}
.info-card{
    text-decoration: none;
    color: inherit;
}

.info-card:hover{
    text-decoration: none;
    color: inherit;
}
a.info-card{
    display: flex;
}