﻿:root {
  --bg: #0A0A0F; --surface: #111118; --surface2: #18181F;
  --border: #222230; --border2: #2E2E40;
  --text: #F0F0F8; --muted: #606080;
  --accent: #D4A843; --accent2: #B8892E;
  --studio: #4A90D9; --rental: #9B72CF; --gold: #D4AF7A;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'DM Sans', sans-serif; min-height: 100vh; }
body::before { content: ''; position: fixed; inset: 0; background: radial-gradient(ellipse 80% 50% at 20% 0%, rgba(74,144,217,.06) 0%, transparent 60%), radial-gradient(ellipse 60% 40% at 80% 100%, rgba(155,114,207,.06) 0%, transparent 60%); pointer-events: none; z-index: 0; }
.wrap { position: relative; z-index: 1; max-width: 480px; margin: 0 auto; padding: 0 16px; }
.hero { text-align: center; padding: 40px 20px 28px; }
.hero-badge { display: inline-block; font-family: 'DM Mono', monospace; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(212,168,67,.3); padding: 5px 14px; border-radius: 20px; margin-bottom: 14px; background: rgba(212,168,67,.05); }
.hero-title { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; line-height: 1.2; margin-bottom: 8px; background: linear-gradient(135deg, #F0F0F8 0%, var(--gold) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 12px; color: var(--muted); line-height: 1.6; }
.version-badge { display: inline-flex; align-items: center; gap: 5px; font-family: 'DM Mono', monospace; font-size: 9px; color: #44445A; margin-top: 4px; }
.version-dot { width: 5px; height: 5px; border-radius: 50%; background: #2ECC71; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
@keyframes fadeUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
@keyframes bounce { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-8px)} }

/* LAYANAN SECTION */
.layanan-section { margin-bottom: 16px; }
.svc-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; margin-bottom: 10px; background: var(--surface); border: 1px solid var(--border2); border-radius: 14px; padding: 12px 10px; }
.svc-btn { background: var(--surface2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 6px; text-align: center; cursor: pointer; transition: all .2s; user-select: none; }
.svc-btn:active { transform: scale(.96); }
.svc-btn:hover { border-color: rgba(212,168,67,.5); background: rgba(212,168,67,.05); }
.svc-btn.active-studio { border-color: var(--studio); background: rgba(74,144,217,.1); }
.svc-btn.active-rental { border-color: var(--rental); background: rgba(155,114,207,.1); }
.svc-btn.active-cetak { border-color: #93C5FD; background: rgba(147,197,253,.08); }
.svc-btn.active-event { border-color: #F97316; background: rgba(249,115,22,.08); }
.svc-btn .svc-icon { font-size: 22px; margin-bottom: 4px; }
.svc-btn .svc-lbl { font-size: 11px; font-weight: 600; }

/* MINI FORMS */
.mini-form { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 16px; margin-bottom: 10px; animation: fadeUp .25s ease forwards; }
.mini-form.hidden { display: none; }
.mf-title { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.mf-title::after { content:''; flex:1; height:1px; background: rgba(212,168,67,.2); }
.field { margin-bottom: 12px; }
.field:last-child { margin-bottom: 0; }
.field label { display: block; font-size: 10px; font-weight: 600; color: var(--muted); letter-spacing: .4px; text-transform: uppercase; margin-bottom: 5px; }
.field label span { color: var(--accent); margin-left: 2px; }
.field input, .field select { width: 100%; background: var(--surface2); border: 1px solid var(--border2); border-radius: 8px; padding: 10px 12px; font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--text); outline: none; transition: border-color .2s; appearance: none; -webkit-appearance: none; }
.field input[type="date"] { color-scheme: dark; }
.field input:focus, .field select:focus { border-color: var(--accent); }
.field select { cursor: pointer; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* rental info badge */
.rental-info { background: rgba(155,114,207,.08); border: 1px solid rgba(155,114,207,.25); border-radius: 8px; padding: 8px 12px; margin-bottom: 12px; font-size: 11px; color: #C4B5FD; }
.rental-info div { display: flex; justify-content: space-between; margin-bottom: 3px; }
.rental-info div:last-child { margin-bottom: 0; }
.rental-info .ri-label { color: var(--muted); }

/* price estimate */
.price-est { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: rgba(212,168,67,.07); border: 1px solid rgba(212,168,67,.2); border-radius: 8px; margin-bottom: 10px; font-size: 12px; }
.price-est .lbl { color: var(--muted); }
.price-est .amt { font-weight: 700; color: var(--gold); }
.btn-add-cart { width: 100%; background: var(--surface2); border: 1px solid var(--gold); color: var(--gold); border-radius: 10px; padding: 10px; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; transition: all .2s; }
.btn-add-cart:active { transform: scale(.98); background: rgba(212,168,67,.1); }
.btn-add-cart:disabled { opacity: .4; cursor: not-allowed; }

/* CART SECTION */
.cart-section { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 16px; margin-bottom: 16px; animation: fadeUp .3s ease forwards; }
.cart-header { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.cart-header::after { content:''; flex:1; height:1px; background: rgba(212,168,67,.2); }
.cart-empty-msg { text-align: center; padding: 20px 0; color: var(--muted); font-size: 12px; font-style: italic; }
.cart-items { margin-bottom: 12px; }
.cart-item { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.05); }
.cart-item:last-child { border-bottom: none; }
.ci-num { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--muted); width: 18px; flex-shrink: 0; }
.ci-icon { font-size: 16px; flex-shrink: 0; width: 22px; text-align: center; }
.ci-body { flex: 1; min-width: 0; }
.ci-name { font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-meta { font-size: 10px; color: var(--muted); margin-top: 1px; }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex-shrink: 0; }
.ci-harga { font-size: 12px; font-weight: 700; color: var(--gold); }
.ci-qty-ctrl { display: flex; align-items: center; gap: 6px; }
.ci-qty-btn { background: var(--surface2); border: 1px solid var(--border2); border-radius: 6px; width: 24px; height: 24px; color: var(--text); font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center; line-height: 1; }
.ci-qty-btn:active { background: var(--border2); }
.ci-qty-num { font-size: 12px; font-weight: 600; min-width: 20px; text-align: center; }
.ci-remove { background: none; border: none; color: #F87171; cursor: pointer; font-size: 15px; padding: 2px 4px; }
.cart-divider { height: 1px; background: rgba(212,168,67,.2); margin: 8px 0; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 4px; }
.cart-total-lbl { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); }
.cart-total-amt { font-size: 16px; font-weight: 700; color: var(--gold); }

/* SUBMIT BUTTON — sticky bottom, constrained like form width */
.submit-section {
  margin-top: 14px;
}
.btn-submit { width: 100%; background: linear-gradient(135deg, #D4A843 0%, #B8892E 100%); border: none; border-radius: 14px; padding: 15px 16px; font-family: 'DM Sans', sans-serif; font-size: 15px; font-weight: 700; color: #0A0A0E; cursor: pointer; transition: all .2s; box-shadow: 0 4px 24px rgba(212,168,67,.4); display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-submit:active { transform: scale(.98); opacity: .9; }
.btn-submit:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn-submit .total-badge { font-size: 12px; font-weight: 400; opacity: 0.85; }

/* DATA DIRI */
.data-diri-section { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 16px; margin-bottom: 16px; }
.dd-title { font-family: 'DM Mono', monospace; font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.dd-title::after { content:''; flex:1; height:1px; background: rgba(212,168,67,.2); }

/* SUCCESS SCREEN */
.success-screen { display: none; text-align: center; padding: 48px 20px; }
.success-icon { font-size: 52px; margin-bottom: 18px; }
.success-title { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; margin-bottom: 8px; color: var(--accent); }
.success-ref { font-family: 'DM Mono', monospace; font-size: 13px; color: var(--gold); background: rgba(212,168,67,.1); border: 1px solid rgba(212,168,67,.25); border-radius: 8px; padding: 6px 16px; display: inline-block; margin-bottom: 16px; }
.success-sub { font-size: 12px; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.success-items { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 20px; text-align: left; }
.si-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 12px; border-bottom: 1px solid rgba(255,255,255,.05); }
.si-row:last-child { border-bottom: none; }
.si-row .si-name { color: var(--text); font-weight: 500; }
.si-row .si-harga { color: var(--gold); font-weight: 600; }
.si-total { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; margin-top: 6px; border-top: 1px solid rgba(212,168,67,.3); font-size: 13px; font-weight: 700; color: var(--gold); }
.btn-back { background: var(--surface); border: 1px solid var(--border2); border-radius: 10px; padding: 11px 24px; font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--muted); cursor: pointer; }
.btn-back-member { display: none; width: 100%; background: linear-gradient(135deg, #D4A843 0%, #B8892E 100%); border: none; border-radius: 14px; padding: 13px 16px; font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 700; color: #0A0A0E; cursor: pointer; transition: all .2s; box-shadow: 0 4px 24px rgba(212,168,67,.35); margin-bottom: 10px; }
.btn-back-member:active { transform: scale(.98); opacity: .9; }

/* LOADING */
.loading-overlay { display: none; position: fixed; inset: 0; background: rgba(10,10,15,.85); backdrop-filter: blur(4px); z-index: 999; align-items: center; justify-content: center; flex-direction: column; gap: 14px; }
.loading-overlay.show { display: flex; }
.loading-dots span { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin: 0 3px; animation: bounce .8s infinite; }
.loading-dots span:nth-child(2) { animation-delay: .15s; }
.loading-dots span:nth-child(3) { animation-delay: .3s; }
.loading-text { font-size: 13px; color: var(--muted); }

/* member badge */
.member-badge { text-align:center; margin-bottom:10px; padding:8px 14px; background:rgba(212,168,67,.08); border:1px solid rgba(212,168,67,.2); border-radius:10px; font-size:12px; color:var(--accent); }

/* select disabled style */
select option:disabled { color: #555; }
