
:root { 
    --sakura-pink: #D81B60; 
    --sakura-card: #FAF3F6;
    --tujuan-card: #C8025A;
}
body { background-color: #fff; font-family: 'Segoe UI', sans-serif; margin: 0; padding: 0; }

/* Navbar Rounded Style */
.nav-container {
    background: var(--sakura-card); 
    margin: 25px auto; 
    width: 85%;
    padding: 12px 45px; 
    border-radius: 50px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.06);
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    border: 1px solid #f2f2f2;
}

.nav-brand {
    color: var(--sakura-pink);
    font-weight: 800;
    font-size: 20px;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav-links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: #555; font-size: 15px; font-weight: 500; transition: 0.3s; }
.nav-links a.active, .nav-links a:hover { color: var(--sakura-pink); }

.auth-group { display: flex; gap: 12px; }
.btn-masuk { 
    color: var(--sakura-pink); 
    border: 1.5px solid var(--sakura-pink); 
    padding: 8px 28px; 
    border-radius: 25px; 
    text-decoration: none; 
    font-size: 14px;
    font-weight: 600;
}

.btn-daftar { 
    background: var(--sakura-pink); 
    color: #fff; 
    padding: 8px 28px; 
    border-radius: 25px; 
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.wrapper { width: 85%; margin: 0 auto; }

.sakura-section {
    background-color: #FFF1F6;
    border-radius: 40px;
    padding-top: 40px;
    padding-bottom: 60px;
}

/* Base circle */
.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, #FAD1E1 0%, #FFE3EE 70%);
    opacity: 0.8;
    z-index: 1;
}

/* Lingkaran kiri */
.circle-left {
    width: 420px;
    height: 420px;
    left: -200px;
    top: 120px;
}

/* Lingkaran kanan */
.circle-right {
    width: 320px;
    height: 320px;
    right: -160px;
    bottom: 120px;
}

/* Responsive */
@media (max-width: 768px) {
    .circle-left {
        width: 280px;
        height: 280px;
        left: -140px;
    }
    .circle-right {
        width: 220px;
        height: 220px;
        right: -110px;
    }
}

.why-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #D81B60;
    color: #D81B60;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    flex-shrink: 0;
}
/* SECTION */
.expert-section {
    background: #ffffff;
    overflow: hidden;
}

/* JUDUL */
.slider-title {
    text-align: center;
    font-weight: 700;
    color: #D81B60;
    margin-bottom: 40px;
}

/* WRAPPER */
.slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}
 
/* CARD */
.expert-card {
    min-width: 240px;
    height: 300px;
    padding: 10px;
    background: #ffffff;              /* frame putih */
    border-radius: 18px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    overflow: hidden;                  /* ❗ PENTING */
    flex-shrink: 0;
}

/* IMAGE */
.expert-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* ANIMASI */
@keyframes autoSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .expert-card {
        min-width: 200px;
        height: 260px;
    }
}

.login-card {
    background: #fff;
    max-width: 500px;
    margin: 50px auto;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #FFE3EE;
    text-align: center;
    box-shadow: 0 10px 30px rgba(216, 27, 96, 0.05);
}

.form-group { text-align: left; margin-bottom: 20px; position: relative; }
.form-group label { display: block; font-weight: 600; margin-bottom: 8px; color: #444; font-size: 14px; }
.form-input { 
    width: 100%; 
    padding: 12px 15px; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    box-sizing: border-box; 
    font-size: 14px;
}
.form-help { font-size: 11px; color: #888; margin-top: 5px; display: block; }

.btn-login {
    width: 100%;
    background: var(--sakura-pink);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    font-size: 15px;
}

.btn-google {
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 14px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Footer Styles */
.main-footer {
    width: 85%;
    margin: 60px auto 30px;
    background: #fff;
    border: 1px solid #f0f0f0;
    padding: 40px 60px;
    border-radius: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.footer-social-icon {
    background: var(--sakura-pink);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: 0.3s;
}

.footer-social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(216, 27, 96, 0.3);
}

/* Container Utama */
.sakura-container {
    max-width: 1100px; /* Diperlebar agar kartu tidak terasa sempit */
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
}

/* Card Kuis Utama */
.quiz-card {
    background: #ffffff;
    border-radius: 30px;
    padding: 50px; /* Padding luas agar konten punya ruang napas */
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    width: 100%;
}

/* Progress Bar Custom */
.progress-wrapper {
    width: 100%;
    background: #f0f0f0;
    height: 6px;
    border-radius: 10px;
    margin-bottom: 15px;
    position: relative;
}

.progress-bar-fill {
    background: #D81B60;
    height: 6px;
    border-radius: 10px;
    transition: width 0.5s ease-in-out;
}

.progress-dot {
    position: absolute;
    right: 0;
    top: -3px;
    width: 12px;
    height: 12px;
    background: #D81B60;
    border-radius: 50%;
}

/* Tipografi */
.question-text {
    font-weight: 700;
    color: #333;
    margin-top: 20px;
    line-height: 1.5;
    font-size: 24px; /* Ukuran teks proporsional dengan kartu yang lebar */
}

/* Opsi Jawaban */
.options-container {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.custom-option {
    display: block;
    cursor: pointer;
}

.custom-option input {
    display: none;
}

.option-box {
    padding: 22px 30px;
    border: 2px solid #f0f0f0;
    border-radius: 20px;
    transition: all 0.3s ease;
    color: #555;
    background: #fff;
    font-weight: 500;
    font-size: 18px;
}

/* Efek Hover & Terpilih */
.custom-option:hover .option-box {
    border-color: #D81B60;
    background: #fff9fb;
}

.custom-option input:checked + .option-box {
    background: #FFF0F6;
    border-color: #D81B60;
    color: #D81B60;
    box-shadow: 0 8px 20px rgba(216, 27, 96, 0.1);
}

/* Tombol Navigasi */

.btn-next:hover {
    background: #ad144d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(216, 27, 96, 0.3);
}

.btn-back {
    background: #fff;
    color: #888;
    border: 1px solid #eee;
    padding: 18px 30px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

/* Responsive untuk HP */
@media (max-width: 768px) {
    .quiz-card {
        padding: 30px 20px;
    }
    .question-text {
        font-size: 20px;
    }
    .option-box {
        padding: 15px 20px;
        font-size: 16px;
    }
}

.sakura-hasil-wrapper {
    max-width: 900px;
    margin: 40px auto;
    font-family: 'Inter', sans-serif;
}

.hasil-loading {
    text-align: center;
    padding: 120px 20px;
}

.loader-sakura {
    width: 60px;
    height: 60px;
    border: 6px solid #eee;
    border-top: 6px solid var(--sakura-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hasil-header {
    text-align: center;
    margin-bottom: 30px;
}

.hasil-status {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 30px;
    border-left: 6px solid;
}

/* WARNA PER RISIKO */
.hasil-status.hasil-tinggi {
    border-color: #C62828;
}

.hasil-status.hasil-sedang {
    border-color: #F9A825;
}

.hasil-status.hasil-rendah {
    border-color: #2E7D32;
}

/* BAGIAN ATAS (ICON + JUDUL) */
.status-top {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
}

.status-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    color: #fff;
}

.hasil-tinggi .status-icon {
    background: #C62828;
}

.hasil-sedang .status-icon {
    background: #F9A825;
}

.hasil-rendah .status-icon {
    background: #2E7D32;
}

.status-title span {
    font-size: 13px;
    color: #777;
    font-weight: 600;
}

.status-title h2 {
    margin: 4px 0 0;
    font-size: 22px;
    font-weight: 800;
}

/* DESKRIPSI */
.status-desc p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 12px;
}

.faktor-box {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 15px;
}

.checklist li::before {
    content: "✔ ";
    color: var(--sakura-pink);
    font-weight: bold;
}

.hasil-catatan {
    background: #fff5f7;
    border-left: 5px solid var(--sakura-pink);
    padding: 20px;
    border-radius: 14px;
}

.hasil-action {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.btn-outline {
    flex: 1;
    border: 2px solid var(--sakura-pink);
    color: var(--sakura-pink);
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    flex: 1;
    background: var(--sakura-pink);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    cursor: pointer;
}

.text-pink {
    color: #D81B60;  
    font-weight: 600;
}

.faktor-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 40px;
}

.section-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 20px;
}

/* ACCORDION CARD */
.accordion-card {
    border: 1px solid #eee;
    border-radius: 14px;
    margin-bottom: 18px;
    overflow: hidden;
}

/* HEADER */
.accordion-header {
    width: 100%;
    background: #fff;
    border: none;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-left {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    font-size: 15px;
}

.accordion-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.accordion-icon.pink {
    background: #F48FB1;
}

.accordion-icon.purple {
    background: #CE93D8;
}

/* BODY */
.accordion-body {
    padding: 20px 26px 24px;
    border-top: 1px solid #eee;
    display: none;
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

.accordion-body ul {
    margin: 10px 0 12px 18px;
}

.accordion-body li {
    margin-bottom: 6px;
}

.accordion-body .note {
    margin-top: 10px;
    font-style: italic;
    color: #666;
}

/* PENUTUP */
.penutup {
    margin-top: 20px;
    font-size: 14px;
    color: #444;
    line-height: 1.7;
}

.accordion-card {
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 20px;
    margin-top: 15px;
}

.accordion-header {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.accordion-header h4 {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.btn-pink-small {
    display: inline-block;
    margin-top: 12px;
    background: #d81b60;
    color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
}

.icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle.pink {
    background: #FDE2EC;
    color: #D81B60;
}

.accordion-body {
    margin-top: 15px;
    line-height: 1.7;
    font-size: 14px;
    color: #444;
}

.info-box.green {
    background: #E9F7EF;
    border-left: 4px solid #2ECC71;
    padding: 12px 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 14px;
}

/* === DETAIL RISIKO === */
.detail-risiko {
    margin-top: 30px;
}

.risk-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    margin-bottom: 18px;
    overflow: hidden;
}

.risk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
}

.risk-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.risk-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

.risk-icon.yellow {
    background: #F4B400;
    color: #fff;
}

.risk-body {
    padding: 18px 20px;
    border-top: 1px solid #f1f1f1;
}

.risk-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.risk-inner {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
}

.risk-inner h5 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

.risk-list {
    list-style: none;
    padding: 0;
    margin-bottom: 12px;
}

.risk-list li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 6px;
    font-size: 14px;
}

.risk-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #F4B400;
}

.action-plan {
    border-left: 4px solid #F39C12;
    padding: 10px 12px;
    background: #FFF7E6;
    border-radius: 6px;
    font-size: 14px;
}

/* DEFAULT: TERTUTUP */
.risk-card .risk-body {
    display: none;
}

/* JIKA OPEN */
.risk-card.open .risk-body {
    display: block;
}

/* ROTASI ICON */
.risk-card .fa-chevron-up,
.risk-card .fa-chevron-down {
    transition: transform 0.3s ease;
}

.risk-card.open .fa-chevron-down {
    transform: rotate(180deg);
}

/* ===============================
   KATEGORI RENDAH - FIX TOTAL
================================ */

.kategori-rendah .accordion-card {
    border: 1px solid #e6f4ea;
    border-radius: 14px;
    margin-bottom: 18px;
    overflow: hidden;
    background: #fff;
}

.kategori-rendah .accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: #f9fdfb;
    cursor: pointer;
    border: none;
}

.kategori-rendah .accordion-header strong {
    font-size: 15px;
    color: #333;
}

.kategori-rendah .muted-text {
    font-size: 13px;
    color: #777;
    margin-top: 4px;
}

.kategori-rendah .accordion-body {
    padding: 18px 22px;
    display: none;
}

/* BOX HIJAU */
.kategori-rendah .risk-box.success {
    border: 1px solid #cdebd8;
    background: #f4fbf7;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 14px;
}

.kategori-rendah .risk-box.success h5 {
    margin-bottom: 10px;
    font-size: 14px;
    color: #2e7d32;
}

/* LIST CHECK */
.kategori-rendah .list-success {
    list-style: none;
    padding-left: 0;
    margin-bottom: 12px;
}

.kategori-rendah .list-success li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}

.kategori-rendah .list-success li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 1px;
    color: #2e7d32;
    font-weight: bold;
}

/* ACTION PLAN HIJAU */
.kategori-rendah .action-plan.success {
    border-left: 4px solid #4caf50;
    background: #ffffff;
    padding: 12px 14px;
    font-size: 13px;
    border-radius: 6px;
}

.kategori-rendah .action-plan.success strong {
    display: block;
    margin-bottom: 6px;
    color: #2e7d32;
}

/* ICON CHEVRON */
.kategori-rendah .accordion-header i {
    transition: transform 0.3s ease;
}

/* Catatan Penting Style */
.warning-note {
    background: #fff5f7;
    border-left: 5px solid #e11d48;
    border-radius: 10px;
    padding: 16px 20px;
    margin-top: 32px;
}

.warning-note .note-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.warning-note .note-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e11d48;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.warning-note h4 {
    margin: 0;
    font-size: 16px;
    color: #b91c1c;
}

.warning-note ul {
    padding-left: 18px;
    margin: 0;
}

.warning-note li {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 6px;
}

.profile-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1100px;
    margin: 30px auto;
}

.profile-sidebar {
    width: 260px;
    background: #fff;
    border-radius: 16px;
    padding: 25px;
}

.avatar {
    width: 80px;
    height: 80px;
    background: #d81b60;
    color: #fff;
    border-radius: 50%;
    font-size: 32px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.menu {
    list-style: none;
    padding: 0;
}

.menu li {
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 5px;
}

.menu li.active,
.menu li:hover {
    background: #d81b60;
    color: white;
}

.profile-content {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    padding: 30px;
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.btn-primary {
    background: #d81b60;
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
}

.alert-success {
    background: #e8f5e9;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.dedikasi-quote-icon {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 80px;              /* ukuran besar */
    color: #f4b6c6;               /* pink lembut */
    line-height: 1;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.dedikasi-quote-icon {
    opacity: 0.9;
}

.gender-wrapper {
    display: flex;
    gap: 16px;
}

/* CARD */
.gender-card {
    flex: 1;
    border: 1.5px solid #d1d1d1;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    font-weight: 500;
    background: #fff;
    transition: all 0.2s ease;
}

/* HIDE RADIO */
.gender-card input {
    display: none;
}

/* ACTIVE STATE */
.gender-card:has(input:checked) {
    border-color: #ec407a;
    background: #fde4ec;
    color: #333;
}
.gender-wrapper {
    display: flex;
    gap: 16px;
}

/* CARD */
.gender-card {
    flex: 1;
    border: 1.5px solid #d1d1d1;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    font-weight: 500;
    background: #fff;
    transition: all 0.2s ease;
}

/* HIDE RADIO */
.gender-card input {
    display: none;
}

/* ACTIVE STATE */
.gender-card:has(input:checked) {
    border-color: #ec407a;
    background: #fde4ec;
    color: #333;
}
.profile-sidebar {
    width: 240px;
    background: #fff;
    border-radius: 16px;
    padding: 24px;
}

.menu {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.menu li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.menu li i {
    font-size: 16px;
    color: #999;
}

.menu li a {
    text-decoration: none;
    color: #444;
    font-weight: 500;
    flex: 1;
}

/* ACTIVE */
.menu li.active {
    background: var(--sakura-pink);
}

.menu li.active i,
.menu li.active a {
    color: #fff;
}

/* HOVER */
.menu li:hover {
    background: #fde4ec;
}


/* OVERLAY */
.logout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* CARD */
.logout-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    animation: scaleIn 0.2s ease;
}

/* ICON */
.logout-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

/* ACTIONS */
.logout-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.btn-cancel {
    padding: 10px 18px;
    border-radius: 20px;
    border: 1.5px solid var(--sakura-pink);
    background: #fff;
    color: var(--sakura-pink);
    cursor: pointer;
    font-weight: 600;
}

.btn-confirm {
    padding: 10px 18px;
    border-radius: 20px;
    background: var(--sakura-pink);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

/* ANIMASI */
@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.alert-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.alert-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 32px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    animation: scaleIn 0.2s ease;
}

.alert-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.alert-card h4 {
    margin-bottom: 10px;
}

.alert-card p {
    color: #555;
    font-size: 14px;
}

.alert-actions {
    margin-top: 24px;
}

.btn-confirm {
    padding: 10px 26px;
    border-radius: 24px;
    background: var(--sakura-pink);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}
.shake {
    animation: shake 0.4s;
}

.step-header{
    background:#D81B60;
    color:#fff;
    padding:20px;
    border-radius:14px;
    margin:15px 0 25px;
}

.progress-wrap{
    height:6px;
    background:#eee;
    border-radius:10px;
    margin-bottom:8px;
}

.progress-bar{
    height:6px;
    background:#D81B60;
    border-radius:10px;
}

.question-row{
    display:flex;
    gap:20px;
    margin-bottom:25px;
    align-items:flex-start;
}

.q-img{
    width:150px;
    border-radius:10px;
}

.q-content{
    flex:1;
}

.q-text{
    font-weight:600;
    margin-bottom:10px;
}

.q-options{
    display:flex;
    gap:15px;
}

.btn-option{
    flex:1;
}

.btn-option span{
    display:block;
    padding:12px;
    border:2px solid #ddd;
    border-radius:12px;
    text-align:center;
    cursor:pointer;
}

.btn-option input{
    display:none;
}

.btn-option input:checked + span{
    background:#FFE3EE;
    border-color:#D81B60;
    color:#D81B60;
}

.step-nav{
    display:flex;
    justify-content:space-between;
    margin-top:30px;
}
.deteksi-wrapper{
    padding:40px;
    background:#f6f7fb;
}

.deteksi-card{
    background:#fff;
    border-radius:25px;
    padding:40px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    max-width:1000px;
    margin:auto;
}

/* progress */
.progress-bar{
    height:6px;
    background:#eee;
    border-radius:10px;
    margin-bottom:10px;
}
.progress-fill{
    height:6px;
    background:#D81B60;
    border-radius:10px;
}

.step-text{
    color:#888;
    font-weight:600;
}

/* header pink */
.step-header{
    background:#D81B60;
    color:white;
    padding:20px 25px;
    border-radius:14px;
    margin:20px 0 30px;
}
.step-header h3{
    margin:0 0 8px;
}
.step-header p{
    margin:0;
}

/* question */
.question-item{
    display:flex;
    gap:20px;
    align-items:center;
    margin-bottom:25px;
}

.q-img{
    width:120px;
    border-radius:12px;
}

.q-content{
    flex:1;
}

.q-text{
    font-weight:600;
    margin-bottom:10px;
}

/* YA TIDAK BUTTON */
.btn-group-ya-tidak{
    display:flex;
    gap:15px;
}

.btn-group-ya-tidak input{
    display:none;
}

.btn-ya,
.btn-tidak{
    flex:1;
    text-align:center;
    padding:12px;
    border-radius:12px;
    border:1px solid #ddd;
    cursor:pointer;
    background:#f7f7f7;
    transition:0.2s;
}

/* aktif */
input:checked + label{
    background:#FFE3EE;
    border-color:#D81B60;
    color:#D81B60;
    font-weight:700;
}

/* button */
.btn-next-wrapper{
    text-align:right;
    margin-top:30px;
}

.btn-next{
    background:#D81B60;
    color:white;
    padding:14px 35px;
    border:none;
    border-radius:30px;
    font-weight:700;
    cursor:pointer;
}

.hasil-card{
    background:#fff;
    padding:40px;
    border-radius:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.05);
    text-align:center;
}

.icon-warning{
    width:70px;
    height:70px;
    background:#FFC107;
    color:#fff;
    border-radius:50%;
    font-size:32px;
    line-height:70px;
    margin:0 auto 15px;
}

.icon-safe{
    width:70px;
    height:70px;
    background:#4CAF50;
    color:#fff;
    border-radius:50%;
    font-size:32px;
    line-height:70px;
    margin:0 auto 15px;
}

.detail-box{
    text-align:left;
    margin-top:25px;
    padding:20px;
    border:1px solid #eee;
    border-radius:15px;
}

.detail-item{
    margin-bottom:15px;
}

.btn-ok{
    display:inline-block;
    margin-top:25px;
    background:#D81B60;
    color:#fff;
    padding:12px 40px;
    border-radius:30px;
    text-decoration:none;
}

