*{box-sizing:border-box}body{margin:0;font-family:Arial,sans-serif;background:#f3f0ec;color:#34373a}.app-shell{max-width:480px;margin:auto;min-height:100vh;background:#fbfaf8}.topbar{padding:18px 20px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ded9d5;background:#fbfaf8;position:sticky;top:0;z-index:5}.brand{font-weight:800;font-size:22px;color:#9b6873}.tagline{font-size:11px;color:#77777a;margin-top:3px}.icon-btn{text-decoration:none;font-size:22px}.content{padding:20px 18px 100px}.hero h1{font-size:25px;margin:0 0 6px}.hero p,.muted{color:#77777a}.card{background:#fbfaf8;border:1px solid #f0e1e6;border-radius:18px;padding:18px;margin:14px 0;box-shadow:0 4px 16px rgba(70,30,45,.04)}.child-card{display:flex;align-items:center;gap:14px}.child-card b{display:block;font-size:18px}.child-card span,.info-card span{display:block;color:#77777a;margin-top:4px;font-size:13px}.avatar{width:52px;height:52px;border-radius:50%;background:#ded9d5;display:grid;place-items:center;font-size:26px}.avatar.large{width:82px;height:82px;font-size:42px;margin:auto}.section-title{font-size:12px;letter-spacing:.8px;font-weight:800;color:#786e70;margin:24px 0 8px}.food-row,.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.btn{display:inline-flex;justify-content:center;align-items:center;text-decoration:none;border:0;border-radius:14px;padding:15px 18px;font-weight:700;cursor:pointer;font-size:15px}.primary{background:#9b6873;color:white}.danger{background:#f4dce3;color:#9d3c5c}.full{width:100%;margin-top:12px}.text-link{display:block;text-align:center;color:#8f5f69;text-decoration:none;margin:16px}.page-heading h1{margin:0;font-size:27px}.page-heading p{color:#77777a}.date{color:#8f5f69;font-weight:700;font-size:13px}.grid-2>div{background:#f3f0ec;border-radius:12px;padding:12px}.grid-2 span{display:block;color:#66686b;font-size:13px;margin-top:5px}.form-card label{display:block;font-weight:700;margin:20px 0 10px}.options{display:grid;gap:8px}.option{padding:13px!important;border:1px solid #ddd8d4;border-radius:12px;font-weight:400!important;margin:0!important;cursor:pointer}.option.selected{border-color:#9b6873;background:#ded9d5}.form-card input[type=radio]{accent-color:#9b6873}.form-card textarea,.login-card input{width:100%;padding:14px;border:1px solid #ddd8d4;border-radius:12px;font:inherit}.history-item{display:flex;align-items:center;gap:12px;text-decoration:none;color:inherit}.history-item>div:first-child{flex:1}.history-item span{display:block;color:#77777a;font-size:12px;margin-top:5px}.badge{background:#ded9d5;color:#8f5f69;padding:7px 10px;border-radius:999px;font-size:12px}.detail p{padding-bottom:14px;border-bottom:1px solid #ded9d5}.success-card{text-align:center;padding:60px 20px}.success-icon{width:70px;height:70px;border-radius:50%;background:#e7ecef;color:#71818c;display:grid;place-items:center;font-size:38px;margin:auto}.profile-card{text-align:center}.profile-card p{color:#77777a}.empty{text-align:center;color:#77777a}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(480px,100%);height:70px;background:#fbfaf8;border-top:1px solid #ded9d5;display:grid;grid-template-columns:repeat(5,1fr);z-index:10}.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-decoration:none;color:#7c7b7d;font-size:20px}.bottom-nav span{font-size:10px}.bottom-nav a.active{color:#9b6873;font-weight:700}.login-page{min-height:100vh;display:grid;place-items:center;background:#f3f0ec;padding:20px}.login-card{width:min(420px,100%);background:#fbfaf8;border:1px solid #f0e1e6;border-radius:22px;padding:28px;box-shadow:0 10px 30px rgba(80,30,50,.08)}.logo{text-align:center;color:#9b6873;font-size:34px;font-weight:900}.center{text-align:center}.login-card label{display:block;font-weight:700;margin:18px 0 7px}.alert{background:#fbfaf8;color:#875963;border-radius:12px;padding:12px;margin-top:18px}.demo-box{margin-top:20px;padding:13px;background:#f3f0ec;border-radius:12px;text-align:center;font-size:13px;color:#77777a} 
/* =========================================================
   SAJIBALIK - FITUR FEEDBACK & DETAIL MENU
   MOBILE FIRST
========================================================= */


/* ---------- PAGE HEADING ---------- */

.eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 6px;
    opacity: .65;
}


/* ---------- FEEDBACK ---------- */

.feedback-menu-mini {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    margin-bottom: 16px;
    border-radius: 20px;
    background: #f3f0ec;
}

.mini-menu-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: white;
    font-size: 24px;
}

.feedback-menu-mini small,
.feedback-menu-mini strong,
.feedback-menu-mini span {
    display: block;
}

.feedback-menu-mini small {
    font-size: 10px;
    font-weight: 800;
    opacity: .55;
}

.feedback-menu-mini strong {
    margin-top: 2px;
    font-size: 14px;
}

.feedback-menu-mini span {
    font-size: 11px;
    opacity: .55;
}


.question-block {
    position: relative;
    z-index: 1;

    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.question-number {
    flex: 0 0 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #e8edef;
    color: #5f707a;

    font-size: 12px;
    font-weight: 800;
}

.question-content {
    flex: 1;
}

.question-title {
    display: block;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 12px;
}

.question-help {
    font-size: 12px;
    line-height: 1.5;
    opacity: .65;
}


/* =========================================================
   PILIHAN FEEDBACK
   ========================================================= */

.options {
    position: relative;
    z-index: 10;

    display: flex;
    flex-direction: column;
    gap: 8px;
}


.option {
    position: relative;
    z-index: 11;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 48px;

    box-sizing: border-box;

    padding: 12px 14px;
    margin: 0;

    border: 1px solid #ddd9d5;
    border-radius: 14px;

    background: #fbfaf8; 

    cursor: pointer;

    transition: .2s ease;

    pointer-events: auto;
}


/* Radio button */

.option input[type="radio"] {
    position: relative;
    z-index: 12;

    width: 18px;
    height: 18px;

    margin: 0 10px 0 0;

    flex: 0 0 auto;

    cursor: pointer;

    accent-color: #9b6873;

    pointer-events: auto;
}


/* Teks pilihan */

.option span {
    position: relative;
    z-index: 12;

    flex: 1;

    font-size: 13px;

    cursor: pointer;

    pointer-events: auto;
}


/* Saat dipilih */

.option:has(input[type="radio"]:checked) {
    border-color: #b68b93;
    background: #f3ebeb;
}


.option:has(input[type="radio"]:checked) span {
    color: #5f707a;
    font-weight: 700;
}


/* Saat disentuh */

.option:active {
    transform: scale(.99);
}

.photo-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 155px;
    padding: 20px;

    border: 2px dashed #c7b2b5;
    border-radius: 20px;

    background: #f7f5f2;

    cursor: pointer;
    text-align: center;
}

.photo-upload input {
    display: none;
}

.upload-icon {
    font-size: 32px;
    margin-bottom: 7px;
}

.photo-upload strong {
    font-size: 14px;
}

.photo-upload span {
    font-size: 10px;
    margin-top: 5px;
    opacity: .55;
}


.photo-preview {
    margin-top: 12px;
}

.photo-preview img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    border-radius: 18px;
}


.feedback-submit {
    display: flex;
    justify-content: center;
    gap: 10px;
}


/* ---------- MENU CARD ---------- */

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


.menu-card-modern {
    overflow: hidden;

    background: white;
    border-radius: 24px;

    box-shadow:
        0 8px 30px rgba(30, 70, 50, .08);

    border: 1px solid #dfdcd8;
}


.menu-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}


.menu-image-placeholder {
    width: 100%;
    height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 55px;

    background: #f3f0ec;
}


.menu-card-content {
    padding: 18px;
}


.date-badge,
.today-badge {
    display: inline-flex;
    align-items: center;

    padding: 6px 10px;

    border-radius: 20px;

    background: #eee2e3;
    color: #8f5f69;

    font-size: 10px;
    font-weight: 800;
}


.menu-card-content h2 {
    margin: 12px 0 7px;
    font-size: 20px;
}


.menu-card-content p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    opacity: .65;
}


.food-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}


.food-chips span {
    padding: 7px 9px;

    border-radius: 10px;

    background: #f5f7f6;

    font-size: 10px;
}


.menu-detail-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    box-sizing: border-box;

    padding: 11px 14px;
    margin-top: 16px;

    border-radius: 12px;

    background: #9b6873;
    color: #fbfaf8;

    text-align: center;
    text-decoration: none;

    font-size: 13px;
    font-weight: 700;
}


/* ---------- DETAIL MENU ---------- */

.detail-header {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 18px;

    font-size: 15px;
    font-weight: 800;
}


.back-button {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #eeeae6;

    color: inherit;
    text-decoration: none;

    font-size: 20px;
}


.menu-detail-page {
    overflow: hidden;

    background: white;

    border-radius: 25px;

    box-shadow:
        0 8px 30px rgba(30, 70, 50, .08);
}


.detail-menu-image {
    width: 100%;
    height: 220px;

    display: block;

    object-fit: cover;
}


.detail-menu-placeholder {
    width: 100%;
    height: 220px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 65px;

    background: #f3f0ec;
}


.detail-content {
    padding: 20px;
}


.detail-content h1 {
    margin: 12px 0 8px;
    font-size: 24px;
}


.detail-description {
    font-size: 13px;
    line-height: 1.6;
    opacity: .65;
}


.detail-section {
    margin-top: 28px;
}


.detail-section h2,
.nutrition-section h2 {
    font-size: 16px;
    margin-bottom: 14px;
}


.food-detail-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.food-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 13px;

    border-radius: 16px;

    background: #f5f2ef;
}


.food-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: white;

    font-size: 20px;
}


.food-detail-item small,
.food-detail-item strong {
    display: block;
}


.food-detail-item small {
    font-size: 10px;
    opacity: .5;
}


.food-detail-item strong {
    margin-top: 3px;
    font-size: 13px;
}


/* ---------- NUTRITION ---------- */

.nutrition-section {
    margin-top: 28px;
}


.nutrition-intro {
    font-size: 11px;
    opacity: .6;
    margin-top: -7px;
}


.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}


.nutrition-card {
    padding: 15px;

    border-radius: 18px;

    background: #f5f3f0;
}


.nutrition-card span {
    font-size: 20px;
}


.nutrition-card small {
    display: block;

    margin-top: 8px;

    font-size: 10px;
    opacity: .55;
}


.nutrition-card strong {
    display: block;

    margin-top: 3px;

    font-size: 17px;
}


.nutrition-card em {
    font-size: 10px;
    font-style: normal;
    opacity: .5;
}


.nutrition-note {
    margin-top: 14px;
    padding: 15px;

    border-radius: 18px;

    background: #fbfaf8;
}


.nutrition-note strong {
    font-size: 12px;
}


.nutrition-note p {
    margin: 7px 0 0;

    font-size: 11px;
    line-height: 1.6;
}


/* ---------- HOME MENU ---------- */

.home-menu-card {
    display: block;

    overflow: hidden;

    background: white;

    border-radius: 23px;

    border: 1px solid #dfdcd8;

    box-shadow:
        0 8px 30px rgba(30, 70, 50, .08);

    color: inherit;
    text-decoration: none;
}


.home-menu-card img {
    width: 100%;
    height: 170px;

    object-fit: cover;

    display: block;
}


.home-menu-placeholder {
    height: 170px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 55px;

    background: #f3f0ec;
}


.home-menu-content {
    padding: 17px;
}


.home-menu-content h3 {
    margin: 10px 0 5px;
    font-size: 19px;
}


.home-menu-content p {
    margin: 0;

    font-size: 11px;
    line-height: 1.6;

    opacity: .6;
}


.home-menu-footer {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    margin-top: 16px;
    padding: 11px 14px;

    border-radius: 12px;

    background: #9b6873;
    color: #fbfaf8;

    font-size: 13px;
    font-weight: 700;

    box-sizing: border-box;
    text-align: center;
}


.home-menu-footer span {
    width: 100%;
    color: #fbfaf8;
    text-align: center;
}


/* Efek saat disentuh */

.home-menu-card:hover .home-menu-footer {
    background: #82545e;
}

.home-menu-footer strong {
    font-size: 18px;
}

/* =========================================================
   DETAIL MENU MBG
   ========================================================= */

.detail-menu-image {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 16px;
    background: #f3f4f6;
}

.detail-menu-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.detail-image-placeholder {
    width: 100%;
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    background: #f3f0ec;
}


.detail-date {
    background: #fbfaf8;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #77777a;
    box-shadow: 0 6px 20px rgba(0,0,0,.05);
}

.detail-date strong {
    color: #34373a;
    margin-left: 5px;
}


.detail-description {
    margin-bottom: 22px;
}


.detail-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #77777a;
    margin-bottom: 7px;
}


.detail-description h2 {
    margin: 0 0 8px;
    font-size: 20px;
}


.detail-description p {
    margin: 0;
    line-height: 1.6;
    color: #77777a;
}


.detail-food-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 25px;
}


.food-detail-card {
    background: #fbfaf8;
    border-radius: 18px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,.05);
}


.food-icon {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    font-size: 23px;
    flex-shrink: 0;
}


.food-detail-card span {
    display: block;
    font-size: 12px;
    color: #858589;
    margin-bottom: 3px;
}


.food-detail-card strong {
    display: block;
    font-size: 14px;
    color: #34373a;
}


.nutrition-card {
    background: #fbfaf8;
    border-radius: 22px;
    padding: 18px;
    margin-bottom: 22px;
    box-shadow: 0 8px 25px rgba(0,0,0,.06);
}


.nutrition-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}


.nutrition-header h2 {
    margin: 0;
    font-size: 20px;
}


.nutrition-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee7e8;
    font-size: 25px;
}


.nutrition-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}


.nutrition-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f4f1ee;
    border-radius: 15px;
    padding: 12px;
}


.nutrition-icon-small {
    font-size: 21px;
}


.nutrition-item span:not(.nutrition-icon-small) {
    display: block;
    font-size: 11px;
    color: #858589;
}


.nutrition-item strong {
    display: block;
    margin-top: 3px;
    font-size: 15px;
    color: #34373a;
}


.nutrition-description {
    margin-top: 15px;
    padding: 15px;
    border-radius: 15px;
    background: #eee9e7;
}


.nutrition-description strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}


.nutrition-description p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #64666a;
}


.menu-detail-button.full {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    display: block;
    margin-bottom: 20px;
}


/* =========================================================
   RESPONSIVE HP
   ========================================================= */

@media (max-width: 480px) {

    .detail-menu-image img {
        height: 210px;
    }

    .detail-food-grid {
        grid-template-columns: 1fr;
    }

    .nutrition-grid {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 360px) {

    .nutrition-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   FOTO PADA RIWAYAT FEEDBACK
   ========================================================= */

.history-item {
    position: relative;
    display: block;
    overflow: hidden;
}


.history-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-right: 20px;
}


.history-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.history-info b {
    font-size: 15px;
    color: #34373a;
}


.history-info span {
    font-size: 12px;
    color: #77777a;
}


.history-photo {
    position: relative;
    width: 100%;
    margin-top: 14px;
    border-radius: 16px;
    overflow: hidden;
    background: #f2efeb;
}


.history-photo img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
}


.photo-label {
    position: absolute;
    left: 10px;
    bottom: 10px;
    padding: 7px 10px;
    border-radius: 9px;
    background: rgba(0, 0, 0, 0.65);
    color: #fbfaf8;
    font-size: 11px;
    font-weight: 600;
}


.history-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 25px;
    color: #888486;
}


/* HP */

@media (max-width: 480px) {

    .history-photo img {
        height: 170px;
    }

}

/* =========================================================
   DETAIL FEEDBACK
   ========================================================= */

.detail-feedback-item {
    padding: 14px 0;
    border-bottom: 1px solid #dfdcd8;
}

.detail-feedback-item:last-child {
    border-bottom: none;
}

.detail-feedback-label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: #77777a;
}

.detail-feedback-item strong {
    display: block;
    font-size: 15px;
}

.detail-feedback-item p {
    margin: 0;
    line-height: 1.6;
    font-size: 14px;
}


/* =========================================================
   FOTO SISA MAKANAN
   ========================================================= */

.photo-feedback-section {
    padding-top: 18px;
}


/* Kotak foto mengikuti lebar card */

.feedback-photo {
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    border-radius: 14px;
    overflow: hidden;
    background: #f3f5f4;
    box-sizing: border-box;
}


/* Foto tidak boleh keluar dari kotak */

.feedback-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    box-sizing: border-box;
}


/* =========================================================
   TOMBOL KEMBALI
   ========================================================= */

.menu-detail-button.full {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    margin-top: 16px;
    margin-bottom: 20px;
}

/* =========================================================
   BOTTOM NAVIGATION
   ========================================================= */

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);

    width: 100%;
    max-width: 480px;

    height: 68px;

    display: flex;
    align-items: center;
    justify-content: space-around;

    background: #fbfaf8;

    border-top: 1px solid #ded9d5;

    z-index: 9999;

    box-sizing: border-box;

    padding: 6px 4px;
}


.bottom-nav a {
    flex: 1;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 3px;

    text-decoration: none;

    font-size: 10px;
    font-weight: 600;

    color: #77777a;

    min-width: 0;
}


.bottom-nav .nav-icon {
    font-size: 21px;
    line-height: 1;
}


.bottom-nav a.active {
    color: #9b6873;
}


.bottom-nav a:hover {
    color: #9b6873;
}


/* Supaya konten paling bawah tidak tertutup navbar */

.content {
    padding-bottom: 85px;
}


/* Tampilan HP */

@media (max-width: 480px) {

    .bottom-nav {
        height: 68px;
    }

}

/* =========================================================
   TOMBOL LIHAT DETAIL MENU - BERANDA
   ========================================================= */

.home-menu-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 16px;
    padding: 11px 14px;

    border-radius: 12px;

    background: #9b6873;
    color: #fbfaf8;

    font-size: 13px;
    font-weight: 700;

    box-sizing: border-box;
}


.home-menu-footer span {
    color: #fbfaf8;
}


.home-menu-footer strong {
    color: #fbfaf8;
    font-size: 18px;
    line-height: 1;
}


/* Efek saat disentuh */

.home-menu-card:hover .home-menu-footer {
    background: #82545e;
}

/* =========================================================
   PREVIEW FOTO FEEDBACK
   ========================================================= */

.photo-upload-box {
    position: relative;
    width: 100%;
    height: 190px;

    border: 2px dashed #c9c2bd;
    border-radius: 16px;

    background: #f5f2ef;

    overflow: hidden;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* Preview foto berada DI DALAM kotak upload */

#photoPreview {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 16px;
}


/* Foto memenuhi kotak */

#photoPreview img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 16px;
}


/* Tulisan/icon upload tetap di tengah */

.photo-upload-content {
    position: relative;
    z-index: 2;

    text-align: center;
}

/* =========================================================
   FEEDBACK - PILIHAN RADIO
   ========================================================= */

.feedback-form .options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.feedback-form .option {
    position: relative;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 46px;

    padding: 12px 14px;

    box-sizing: border-box;

    border: 1px solid #ddd9d5;
    border-radius: 12px;

    background: #fbfaf8;

    cursor: pointer;

    transition: 0.2s ease;
}


/* Radio */

.feedback-form .option input[type="radio"] {
    position: relative;

    width: 18px;
    height: 18px;

    margin: 0 10px 0 0;

    flex: 0 0 auto;

    cursor: pointer;

    accent-color: #9b6873;
}


/* Teks pilihan */

.feedback-form .option span {
    display: block;

    flex: 1;

    color: #34373a;

    font-size: 14px;

    cursor: pointer;
}


/* Pilihan yang dipilih */

.feedback-form .option:has(input[type="radio"]:checked) {
    border-color: #9b6873;

    background: #f3ebeb;
}


.feedback-form .option:has(input[type="radio"]:checked) span {
    color: #9b6873;

    font-weight: 700;
}


/* Saat disentuh */

.feedback-form .option:active {
    transform: scale(0.99);
}

/* Pastikan bagian pertanyaan tidak tertutup elemen lain */

.feedback-form .question-block {
    position: relative;
}

.feedback-form .question-content {
    position: relative;
}

.feedback-form .options {
    position: relative;
    z-index: 20;
}

/* =========================================================
   UPLOAD FOTO FEEDBACK
   ========================================================= */

.feedback-form .photo-block {
    position: relative;
    z-index: 30;
}


.feedback-form .photo-block .question-content {
    position: relative;
    z-index: 31;
}


.feedback-form .photo-upload {
    position: relative;
    z-index: 32;

    display: flex;

    cursor: pointer;
    pointer-events: auto;
}


.feedback-form .photo-upload input[type="file"] {
    cursor: pointer;
    pointer-events: auto;
}


/* Preview foto */

.feedback-form .photo-preview {
    position: relative;
    z-index: 31;

    width: 100%;

    margin-top: 12px;

    overflow: hidden;
    border-radius: 18px;
}


.feedback-form .photo-preview img {
    display: block;

    width: 100%;
    max-height: 250px;

    object-fit: cover;

    border-radius: 18px;
}

/* =========================================================
   FOTO FEEDBACK - PREVIEW DI DALAM KOTAK UPLOAD
   ========================================================= */

.feedback-form .photo-block .question-content {
    position: relative;
}

.feedback-form .photo-upload {
    position: relative;

    width: 100%;
    height: 190px;
    min-height: 190px;

    padding: 0;

    box-sizing: border-box;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px dashed #c7b2b5;
    border-radius: 20px;

    background: #f7f5f2;
}


/* Preview menjadi bagian dari kotak upload */

.feedback-form .photo-preview {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    margin: 0;

    overflow: hidden;

    border-radius: 18px;

    pointer-events: none;

    z-index: 5;
}


.feedback-form .photo-preview img {
    display: block;

    width: 100%;
    height: 100%;

    max-height: none;

    object-fit: cover;

    border-radius: 18px;
}


/* Isi upload berada di atas foto sebelum foto dipilih */

.feedback-form .photo-upload .upload-icon,
.feedback-form .photo-upload strong,
.feedback-form .photo-upload span {
    position: relative;
    z-index: 2;
}



/* =========================================================
   SAJIBALIK — DEWASA / ORANG TUA
   WARNA SAJA — STRUKTUR DAN UKURAN TETAP
   ========================================================= */

html,
body {
    background: #f3f0ec !important;
    color: #34373a !important;
}

.app-shell,
.content {
    background: transparent !important;
}

.topbar {
    background: #f7f5f2 !important;
    border-color: #ded9d5 !important;
}

.brand,
.logo {
    color: #8f5f69 !important;
}

.tagline,
.muted,
.page-heading p,
.hero p {
    color: #77777a !important;
}

.card,
.menu-card-modern,
.history-item,
.detail,
.child-card,
.menu-summary,
.menu-detail-page,
.detail-date,
.food-detail-card,
.nutrition-card,
.login-card {
    background: #fbfaf8 !important;
    border-color: #ded9d5 !important;
}

/* Tombol: SATU WARNA, TANPA GRADASI */
.btn.primary,
.primary,
.feedback-submit,
.menu-detail-button,
.home-menu-footer {
    background: #9b6873 !important;
    background-image: none !important;
    color: #ffffff !important;
}

.btn.primary:hover,
.primary:hover,
.feedback-submit:hover,
.menu-detail-button:hover,
.home-menu-card:hover .home-menu-footer {
    background: #82545e !important;
    background-image: none !important;
}

/* Pilihan feedback */
.option,
.feedback-form .option {
    background: #fbfaf8 !important;
    border-color: #ddd8d4 !important;
}

.option:hover,
.feedback-form .option:hover {
    background: #f4ecec !important;
    border-color: #b68b93 !important;
}

.option:has(input[type="radio"]:checked),
.feedback-form .option:has(input[type="radio"]:checked),
.option.selected {
    background: #eee2e3 !important;
    border-color: #b68b93 !important;
}

.option:has(input[type="radio"]:checked) span,
.feedback-form .option:has(input[type="radio"]:checked) span {
    color: #8f5f69 !important;
}

.option input[type="radio"],
.feedback-form .option input[type="radio"] {
    accent-color: #9b6873 !important;
}

/* Foto upload */
.photo-upload,
.photo-upload-box {
    background: #f7f5f2 !important;
    background-image: none !important;
    border-color: #c9b9bb !important;
}

.photo-upload:hover {
    background: #eee2e3 !important;
    border-color: #9b6873 !important;
}

/* Badge */
.eyebrow,
.today-badge,
.date-badge,
.badge {
    background: #eee2e3 !important;
    color: #8f5f69 !important;
}

/* Nomor pertanyaan dan ikon */
.question-number {
    background: #e8edef !important;
    color: #5f707a !important;
}

.avatar,
.mini-menu-icon,
.food-icon,
.nutrition-icon {
    background: #e8edef !important;
}

/* Placeholder gambar */
.menu-image-placeholder,
.home-menu-placeholder,
.detail-menu-placeholder,
.detail-image-placeholder {
    background: #e8edef !important;
    background-image: none !important;
}

/* Kartu makanan/nutrisi */
.food-detail-item,
.nutrition-item {
    background: #f4f1ee !important;
}

.nutrition-description {
    background: #eee9e7 !important;
}

/* Menu mini */
.feedback-menu-mini {
    background: #f7f5f2 !important;
    background-image: none !important;
}

/* Chips */
.food-chips span {
    background: #eee7e8 !important;
    color: #665c60 !important;
    border-color: #ddd3d5 !important;
}

/* Form */
textarea,
input:not([type="radio"]):not([type="checkbox"]),
select,
.login-card input {
    background: #fbfaf8 !important;
    border-color: #ddd8d4 !important;
    color: #34373a !important;
}

textarea:focus,
input:focus,
select:focus {
    border-color: #9b6873 !important;
    box-shadow: 0 0 0 3px rgba(155, 104, 115, .12) !important;
}

/* Bottom navigation */
.bottom-nav {
    background: #f7f5f2 !important;
    border-color: #ded9d5 !important;
}

.bottom-nav a {
    color: #77777a !important;
}

.bottom-nav a.active,
.bottom-nav a:hover,
.text-link {
    color: #8f5f69 !important;
}

/* Detail feedback */
.detail-feedback-item {
    border-color: #dfdcd8 !important;
}

.detail-feedback-label {
    color: #77777a !important;
}

/* Tidak ada gradient pada elemen yang dapat diklik */
a,
button,
.btn,
.option,
.photo-upload,
.home-menu-card,
.history-item,
.menu-detail-button,
.home-menu-footer,
.bottom-nav {
    background-image: none !important;
}

/* =========================================================
   FEEDBACK BARU - PILIHAN MENU HABIS / TERSISA
   Tambahkan CSS ini di bagian PALING BAWAH style.css
   ========================================================= */

.feedback-choice-intro {
    text-align: center;
    margin: 18px 0 16px;
}

.feedback-choice-intro h2 {
    margin: 0 0 7px;
    font-size: 19px;
}

.feedback-choice-intro p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    opacity: .65;
}

.feedback-choice-grid {
    display: grid;
    gap: 14px;
}

.feedback-choice-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid #ddd9d5;
    background: #fbfaf8;
    color: inherit;
    text-decoration: none;
    transition: .2s ease;
}

.feedback-choice-card:hover {
    transform: translateY(-2px);
}

.feedback-choice-card:active {
    transform: scale(.99);
}

.feedback-choice-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    display: grid;
    place-items: center;
    border-radius: 17px;
    background: #eee2e3;
    font-size: 27px;
}

.feedback-choice-label {
    display: block;
    margin-bottom: 4px;
    color: #8f5f69;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
}

.feedback-choice-card h3 {
    margin: 0 0 5px;
    font-size: 15px;
}

.feedback-choice-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    opacity: .65;
}

.feedback-choice-habis {
    border-color: #d8c2c6;
}

.feedback-choice-tersisa {
    border-color: #d4dce0;
}

.feedback-choice-tersisa .feedback-choice-icon {
    background: #e8edef;
}

.feedback-habis-card,
.feedback-habis-detail {
    text-align: center;
    padding: 30px 20px;
}

.feedback-habis-icon {
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #eee2e3;
    font-size: 38px;
}

.feedback-habis-eyebrow {
    display: block;
    color: #8f5f69;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.feedback-habis-card h2,
.feedback-habis-detail h2 {
    margin: 8px 0;
    font-size: 21px;
}

.feedback-habis-card p,
.feedback-habis-detail p {
    max-width: 480px;
    margin: 0 auto 18px;
    font-size: 13px;
    line-height: 1.7;
    opacity: .68;
}

.feedback-habis-food {
    margin: 12px 0 22px;
    font-size: 28px;
    letter-spacing: 8px;
}

.feedback-back-link {
    display: block;
    margin: 14px 0 20px;
    color: #8f5f69;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
}

.feedback-mode-header {
    margin: 10px 0 16px;
}

.feedback-mode-badge {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eee2e3;
    color: #8f5f69;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
}

.feedback-mode-header h2 {
    margin: 10px 0 5px;
    font-size: 18px;
}

.feedback-mode-header p {
    margin: 0;
    font-size: 12px;
    line-height: 1.6;
    opacity: .65;
}

.feedback-empty-state {
    text-align: center;
    padding: 35px 20px;
}

.feedback-choice-icon {
    font-size: 36px;
}

.feedback-empty-state h2 {
    margin: 8px 0;
    font-size: 18px;
}

.feedback-empty-state p {
    margin: 0;
    font-size: 12px;
    opacity: .65;
}

/* =========================================================
   PENILAIAN SETIAP MAKANAN
   ========================================================= */

.food-rating-block {
    align-items: flex-start;
}

.food-rating-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.food-rating-card {
    padding: 15px;
    border: 1px solid #dfdcd8;
    border-radius: 18px;
    background: #fbfaf8;
}

.food-rating-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.food-rating-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #e8edef;
    font-size: 22px;
}

.food-rating-heading span {
    display: block;
    margin-bottom: 2px;
    color: #77777a;
    font-size: 10px;
    font-weight: 700;
}

.food-rating-heading strong {
    display: block;
    font-size: 14px;
}

.food-rating-options {
    gap: 7px;
}

.food-rating-options .option {
    min-height: 42px;
    padding: 10px 12px;
}

.food-other-field {
    margin-top: 10px;
}

.food-other-field[hidden] {
    display: none;
}

.food-other-field label {
    display: block;
    margin-bottom: 6px;
    color: #77777a;
    font-size: 11px;
    font-weight: 700;
}

.food-other-field textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 11px;
    border: 1px solid #ddd8d4;
    border-radius: 12px;
    background: #fff;
    font: inherit;
    font-size: 12px;
    resize: vertical;
}

/* =========================================================
   DETAIL FEEDBACK - PENILAIAN MAKANAN
   ========================================================= */

.submitted-food-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.submitted-food-item {
    padding: 12px;
    border: 1px solid #dfdcd8;
    border-radius: 14px;
    background: #fbfaf8;
}

.submitted-food-item > div {
    padding-right: 75px;
}

.submitted-food-name {
    display: block;
    color: #77777a;
    font-size: 10px;
    font-weight: 700;
}

.submitted-food-item strong {
    display: block;
    margin-top: 2px;
    font-size: 14px;
}

.submitted-food-rating {
    display: inline-block;
    margin-top: 8px;
    padding: 5px 9px;
    border-radius: 999px;
    background: #eee2e3;
    color: #8f5f69;
    font-size: 10px;
    font-weight: 800;
}

.submitted-food-item p {
    margin: 8px 0 0;
    padding: 8px 0 0;
    border-top: 1px solid #dfdcd8;
    font-size: 12px;
    line-height: 1.5;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (min-width: 600px) {

    .feedback-choice-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .food-rating-options {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
    }

}

/* ========================================
   FOOD FEEDBACK CARD
   ======================================== */

.food-feedback-card {
    background: #ffffff;
    border: 1px solid #e7e2df;
    border-radius: 20px;
    padding: 16px;
    margin-top: 14px;
    margin-bottom: 14px;

    box-shadow: 0 5px 18px rgba(50, 40, 40, 0.05);

    transition: .2s ease;
}

.food-feedback-card:hover {
    border-color: #d8c5c8;
    box-shadow: 0 7px 22px rgba(50, 40, 40, 0.08);
}


/* Bagian nama makanan */
.food-feedback-header {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 16px;
}


/* Ikon makanan */
.food-feedback-icon {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: linear-gradient(
        145deg,
        #f3e7e8,
        #eee8f0
    );

    font-size: 25px;

    box-shadow:
        inset 0 1px 2px rgba(255,255,255,.8),
        0 3px 8px rgba(80,60,70,.06);
}


/* Jenis makanan */
.food-feedback-header small {
    display: block;

    font-size: 11px;
    font-weight: 600;

    color: #9a8589;

    margin-bottom: 3px;
}


/* Nama makanan */
.food-feedback-header strong {
    display: block;

    font-size: 15px;
    font-weight: 800;

    color: #263746;
}


/* Label keterangan */
.food-feedback-label {
    display: block;

    font-size: 12px;
    font-weight: 700;

    color: #66575b;

    margin-bottom: 7px;
}


/* Textarea */
.food-feedback-card textarea {
    width: 100%;
    min-height: 78px;

    box-sizing: border-box;

    resize: vertical;

    padding: 12px 13px;

    border: 1px solid #e2dcdc;
    border-radius: 13px;

    background: #faf8f8;

    font-family: inherit;
    font-size: 12px;
    line-height: 1.5;

    color: #34424d;

    outline: none;

    transition: .2s ease;
}


/* Saat textarea diklik */
.food-feedback-card textarea:focus {
    border-color: #b88d96;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(184,141,150,.10);
}


/* Placeholder */
.food-feedback-card textarea::placeholder {
    color: #aaa0a2;
}

/* =====================================================
   FOTO SISA MAKANAN
   ===================================================== */

.photo-block {
    position: relative;
    z-index: auto;
}

/* Kotak upload */
.photo-upload {
    display: block;
    width: 100%;
    min-height: 155px;

    padding: 22px 20px;

    box-sizing: border-box;

    border: 2px dashed #c9949f;
    border-radius: 20px;

    background: #fbf6f7;

    cursor: pointer;
    text-align: center;

    transition: .2s ease;
}

/* Efek ketika diarahkan mouse */
.photo-upload:hover {
    background: #f8eef0;
    border-color: #a96f7c;
}

/* Input file tetap disembunyikan */
.photo-upload input[type="file"] {
    display: none;
}

/* Isi upload harus benar-benar di tengah */
.photo-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    min-height: 110px;
}

/* Icon kamera */
.photo-upload .upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 8px;

    border-radius: 16px;

    background: #f1e4e7;

    font-size: 27px;
}

/* Tulisan Tambah Foto */
.photo-upload strong {
    display: block;

    margin: 0;

    font-size: 15px;
    font-weight: 800;

    color: #24344a;
}

/* Keterangan JPG PNG WEBP */
.photo-upload span {
    display: block;

    margin-top: 6px;

    font-size: 11px;
    line-height: 1.4;

    color: #7d7d7d;
}

/* =====================================================
   PREVIEW FOTO
   ===================================================== */

.photo-preview {
    width: 100%;

    margin-top: 14px;

    text-align: center;
}

/* Foto hasil upload */
.photo-preview img {
    display: block;

    width: 100%;
    max-width: 100%;

    max-height: 260px;

    margin: 0 auto;

    object-fit: cover;

    border-radius: 18px;

    border: 1px solid #e5d9dc;

    box-sizing: border-box;
}

/* =====================================================
   FIX HEADER AGAR KONTEN TIDAK MENEMBUS HEADER
   ===================================================== */

header,
.site-header,
.app-header,
.main-header {
    position: relative;
    z-index: 9999 !important;
    background: #ffffff;
}

/* =====================================================
   FEEDBACK - PILIHAN MENU
   CLEAN & DEWASA
   ===================================================== */

.feedback-choice-intro {
    margin: 28px 0 22px;
    text-align: center;
}

.feedback-choice-intro h2 {
    margin: 0;

    font-size: 21px;
    line-height: 1.35;

    font-weight: 800;

    color: #26364a;
}

.feedback-choice-intro p {
    margin: 8px 18px 0;

    font-size: 13px;
    line-height: 1.5;

    color: #777;
}


/* =====================================================
   GRID
   ===================================================== */

.feedback-choice-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 30px;
}


/* =====================================================
   KARTU
   ===================================================== */

.feedback-choice-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 215px;

    padding: 19px 16px;

    box-sizing: border-box;

    border-radius: 22px;

    background: #fff;

    text-decoration: none;

    overflow: hidden;

    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease;
}


/* Jangan gradient */

.feedback-choice-habis {
    border: 1px solid #e3c8cd;

    background: #fffafb;
}

.feedback-choice-tersisa {
    border: 1px solid #cadbe4;

    background: #fbfdfe;
}


/* =====================================================
   ICON
   ===================================================== */

.feedback-choice-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    margin-bottom: 17px;

    font-size: 25px;
}

.feedback-choice-habis .feedback-choice-icon {
    background: #f5e7ea;
}

.feedback-choice-tersisa .feedback-choice-icon {
    background: #e9f1f5;
}


/* =====================================================
   LABEL
   ===================================================== */

.feedback-choice-label {
    display: block;

    margin-bottom: 6px;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1px;

    color: #9b7078;
}

.feedback-choice-tersisa .feedback-choice-label {
    color: #6d8998;
}


/* =====================================================
   JUDUL
   ===================================================== */

.feedback-choice-card h3 {
    margin: 0 0 8px;

    font-size: 17px;

    line-height: 1.3;

    font-weight: 800;

    color: #26364a;
}


/* =====================================================
   DESKRIPSI
   ===================================================== */

.feedback-choice-card p {
    margin: 0;

    font-size: 12px;

    line-height: 1.55;

    color: #777;
}


/* =====================================================
   PANAH
   ===================================================== */

.feedback-choice-arrow {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: auto;
    margin-left: auto;

    border-radius: 50%;

    font-size: 15px;
    font-weight: 700;
}

.feedback-choice-habis .feedback-choice-arrow {
    background: #f5e7ea;
    color: #956b74;
}

.feedback-choice-tersisa .feedback-choice-arrow {
    background: #e9f1f5;
    color: #657f8d;
}


/* =====================================================
   INTERACTION
   ===================================================== */

.feedback-choice-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 24px rgba(40, 50, 60, .08);
}

.feedback-choice-card:active {
    transform: scale(.98);
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 420px) {

    .feedback-choice-grid {
        gap: 12px;
    }

    .feedback-choice-card {
        min-height: 210px;

        padding: 17px 14px;

        border-radius: 20px;
    }

    .feedback-choice-icon {
        width: 49px;
        height: 49px;

        font-size: 23px;
    }

    .feedback-choice-card h3 {
        font-size: 16px;
    }

    .feedback-choice-card p {
        font-size: 11px;
    }

}

/* =====================================================
   DETAIL FEEDBACK - KETERANGAN SETIAP MAKANAN
   ===================================================== */

.food-detail-feedback {
    margin-top: 18px;
}

.submitted-food-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}

.submitted-food-item {
    padding: 16px;
    border: 1px solid #e2dfe0;
    border-radius: 16px;
    background: #fff;
}

.submitted-food-header {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.submitted-food-type {
    font-size: 12px;
    font-weight: 600;
    color: #8b8587;
}

.submitted-food-name {
    display: block;
    font-size: 17px;
    line-height: 1.3;
    color: #24344a;
}

.submitted-food-note {
    margin-top: 13px;
    padding-top: 11px;
    border-top: 1px solid #eee8e9;
}

.submitted-food-note-label {
    display: block;
    margin-bottom: 5px;

    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;

    color: #9a747c;
}

.submitted-food-note p {
    margin: 0;

    font-size: 14px;
    line-height: 1.55;

    color: #4f4a4c;
}

.submitted-food-note .no-food-note {
    color: #999;
    font-style: italic;
}