:root {
    --primary: #ff4757;
    --bg-body: #0a0a0a;
    --bg-card: #141414;
    --text-main: #ffffff;
    --text-muted: #888888;
    --border: #222222;
    --input-bg: #1a1a1a;
    --note-bg: #0d0d0d;
    --accent: #2ed573;
}

.light-theme {
    --bg-body: #f1f2f6;
    --bg-card: #ffffff;
    --text-main: #1a1a1a;
    --text-muted: #57606f;
    --border: #dcdde1;
    --input-bg: #ffffff;
    --note-bg: #f8f9fa;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Poppins', sans-serif; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
body { background-color: var(--bg-body); color: var(--text-main); padding: 40px 15px; }

/* THEME TOGGLE */
.floating-theme-btn {
    position: fixed; bottom: 25px; right: 25px; width: 55px; height: 55px;
    border-radius: 50%; background: var(--primary); color: white; border: none;
    cursor: pointer; box-shadow: 0 10px 20px rgba(255, 71, 87, 0.3); z-index: 1000;
}

/* HERO */
.hero-header { text-align: center; margin-bottom: 50px; }
.badge-kalcer { 
    display: inline-block; background: var(--text-main); color: var(--bg-card); 
    padding: 6px 16px; font-size: 10px; font-weight: 900; border-radius: 4px;
    letter-spacing: 3px; margin-bottom: 15px;
}
.hero-header h1 { font-size: 3.5rem; font-weight: 900; letter-spacing: -2px; line-height: 0.9; }
.hero-header h1 span { color: var(--primary); }
.tagline { color: var(--text-muted); font-size: 0.85rem; margin-top: 12px; font-weight: 300; }

/* GRID & CARDS */
.main-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 30px; justify-items: center; align-items: start; max-width: 1200px; margin: 0 auto; }
.card { background: var(--bg-card); width: 100%; max-width: 400px; border-radius: 30px; padding: 35px; border: 1px solid var(--border); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.step-badge { background: var(--primary); color: white; width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold; transform: rotate(-10deg); }

/* MENU */
#menu-list { max-height: 350px; overflow-y: auto; padding-right: 10px; margin-bottom: 20px; }
#menu-list::-webkit-scrollbar { width: 4px; }
#menu-list::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
.category-label { font-size: 9px; font-weight: 900; color: var(--primary); margin: 25px 0 10px 0; letter-spacing: 2px; border-bottom: 1px solid var(--border); padding-bottom: 5px; text-transform: uppercase; }
.menu-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.price { color: var(--text-muted); font-size: 12px; }
.btn-add { background: var(--primary); color: white; border: none; width: 32px; height: 32px; border-radius: 10px; cursor: pointer; font-size: 18px; font-weight: bold; }

/* CART & TOTAL */
.cart-summary-box { background: var(--note-bg); border-radius: 20px; padding: 20px; border: 1px dashed var(--border); margin: 20px 0; }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin-bottom: 10px; font-weight: 600; }
.btn-qty { background: var(--bg-body); border: 1px solid var(--border); color: var(--text-main); width: 26px; height: 26px; border-radius: 6px; cursor: pointer; }
.total-section { text-align: right; margin: 15px 0; }
#total-display { color: var(--primary); font-size: 1.2rem; font-weight: 900; }

/* CHIPS (MODERN NOTES) */
.chip-container { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { 
    padding: 8px 16px; border-radius: 50px; background: var(--input-bg); 
    border: 1px solid var(--border); font-size: 11px; cursor: pointer; 
    color: var(--text-muted); font-weight: 500;
}
.chip.active { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4); }

/* QRIS MODERN CARD */
.qris-card { background: var(--note-bg); border-radius: 25px; padding: 25px; border: 1px solid var(--border); margin-bottom: 20px; }
.qris-frame { background: white; padding: 15px; border-radius: 20px; display: inline-block; margin: 15px 0; }
.qris-img { width: 170px; }
.qris-footer h4 { color: var(--text-main); font-weight: 800; margin-bottom: 5px; }
.qris-footer p { font-size: 11px; color: var(--text-muted); line-height: 1.6; }
/* UTILS */
.user-badge { margin-top: 20px; background: var(--note-bg); padding: 20px; border-radius: 20px; text-align: left; border: 1px solid var(--border); }
.input-group label { display: block; font-size: 10px; font-weight: 800; color: var(--text-muted); margin-bottom: 8px; letter-spacing: 1px; }
input { width: 100%; padding: 15px; border-radius: 12px; border: 2px solid var(--border); background: var(--input-bg); color: var(--text-main); outline: none; }
input:focus { border-color: var(--primary); }
.btn { width: 100%; padding: 18px; border: none; border-radius: 15px; font-weight: 800; cursor: pointer; font-size: 14px; margin-top: 15px; }
.btn-primary { background: var(--text-main); color: var(--bg-card); }
.btn-success { background: var(--accent); color: white; }
.hidden { display: none !important; }
.text-center { text-align: center; }
.pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.admin-trigger { width: 100%; margin-top: 40px; background: transparent; border: 1px dashed var(--border); color: var(--text-muted); padding: 10px; font-size: 9px; cursor: pointer; border-radius: 10px; letter-spacing: 2px; text-transform: uppercase; 