@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f0eee9;
  --panel: #ffffff;
  --soft: #f6f4f0;
  --hover: #e9e6e0;
  --line: #ebe7e1;
  --text: #1d1d1f;
  --muted: #7d7973;
  --primary: #f4581f;
  --primary-2: #ff7a1a;
  --primary-soft: #fdeee6;
  --green: #1f9d55;
  --green-soft: #e3f6ea;
  --red: #e5484d;
  --red-soft: #fde8e8;
  --yellow: #f7b928;
  --yellow-soft: #fff5d9;
  --blue: #3b82f6;
  --blue-soft: #e6efff;
  --teal: #14b8a6;
  --radius: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif; background: var(--bg); color: var(--text); font-size: 13px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
svg.i { width: 16px; height: 16px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
svg.i.sm { width: 13px; height: 13px; }
svg.i.lg { width: 20px; height: 20px; }
svg.i.xl { width: 28px; height: 28px; }

/* ---------- buttons & inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); background: #fff; padding: 8px 14px; border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 12.5px; transition: .15s; white-space: nowrap; }
.btn:hover { background: var(--soft); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: 0 4px 12px rgba(244,88,31,.32); }
.btn-primary:hover { background: #e54d15; }
.btn-dark { background: #1d1d1f; color: #fff; border-color: #1d1d1f; border-radius: 999px; }
.btn-dark:hover { background: #333; }
.btn-ghost { border-color: transparent; background: transparent; }
.btn-danger { color: var(--red); border-color: #f5c6c7; }
.btn-danger:hover { background: var(--red-soft); }
.btn-sm { padding: 5px 10px; font-size: 12px; border-radius: 8px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.input { width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 9px 12px; outline: none; transition: .15s; }
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(244,88,31,.12); }
label.lbl { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin: 0 0 6px; }
.field { margin-bottom: 13px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.muted { color: var(--muted); }
.small { font-size: 11.5px; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.hide { display: none !important; }
.row { display: flex; align-items: center; gap: 8px; }

/* ---------- badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 600; border: 1px solid transparent; white-space: nowrap; }
.b-active, .b-paid { background: var(--green-soft); color: var(--green); border-color: #bfe8cf; }
.b-pending { background: var(--yellow-soft); color: #a67400; border-color: #f4e2a1; }
.b-failed, .b-cancelled { background: var(--red-soft); color: var(--red); border-color: #f6c4c5; }
.b-expired, .b-suspended { background: #efefef; color: #666; border-color: #ddd; }
.b-node { background: var(--green-soft); color: var(--green); }
.b-python { background: var(--blue-soft); color: var(--blue); }
.b-orange { background: var(--primary-soft); color: var(--primary); }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; }
.sidebar { background: var(--bg); padding: 14px 12px; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.side-brand { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 14px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px; letter-spacing: -.2px; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.brand-mark img { width: 26px; height: auto; }
.brand b { color: var(--primary); font-weight: 700; }
.collapse-btn { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 6px; }
.collapse-btn:hover { background: var(--hover); }
.side-group { font-size: 11px; color: var(--muted); font-weight: 500; margin: 14px 8px 6px; }
.side-link { display: flex; align-items: center; gap: 10px; padding: 8px 9px; border-radius: 9px; color: #3a3a3a; cursor: pointer; font-weight: 500; border: 0; background: transparent; width: 100%; text-align: left; font-size: 13px; }
.side-link:hover { background: rgba(0,0,0,.035); }
.side-link.active { background: var(--hover); color: var(--text); font-weight: 600; }
.side-link .cnt { margin-left: auto; background: var(--hover); border-radius: 999px; padding: 1px 8px; font-size: 11px; color: var(--muted); font-weight: 500; }
.side-link.active .cnt { background: #fff; }
.side-promo { margin-top: auto; background: #ebe7e0; border-radius: 14px; padding: 16px 14px; position: relative; overflow: hidden; min-height: 110px; }
.side-promo p { margin: 0 0 12px; font-weight: 500; position: relative; z-index: 1; font-size: 13px; line-height: 1.45; max-width: 170px; }
.side-promo .btn { position: relative; z-index: 1; padding: 6px 12px; font-size: 11.5px; }
.side-promo .orb { position: absolute; right: -18px; bottom: -22px; width: 92px; height: 92px; border-radius: 50%; background: #ffd8b0; display: grid; place-items: center; color: var(--primary); }
.side-promo .orb svg { width: 30px; height: 30px; margin: -10px 0 0 -10px; }
.side-promo .dot2 { position: absolute; right: 54px; bottom: 58px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); }
.main { padding: 14px 18px 30px 6px; min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; min-height: 40px; }
.topbar h1 { font-size: 22px; margin: 0; letter-spacing: -.4px; font-weight: 500; }
.top-right { display: flex; gap: 8px; align-items: center; }
.search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; width: 220px; color: var(--muted); }
.search input { border: 0; outline: 0; width: 100%; background: transparent; font-size: 12.5px; }
.pill-btn { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 13px; cursor: pointer; font-weight: 500; font-size: 12.5px; }
.icon-btn { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; cursor: pointer; color: #444; position: relative; }
.icon-btn:hover { background: var(--soft); }
.icon-btn .ping { position: absolute; top: 6px; right: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); border: 1.5px solid #fff; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: #fcd9b6; display: grid; place-items: center; font-weight: 700; color: #8a4200; border: 1px solid #f6c89a; cursor: pointer; }
.menu-btn { display: none; }

/* ---------- panels ---------- */
.panel { background: var(--panel); border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 10px; flex-wrap: wrap; }
.card-title { font-weight: 600; font-size: 13.5px; margin: 0 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.date-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr) 1.65fr; gap: 10px; }
.stat { border: 1px solid var(--line); border-radius: 14px; padding: 13px; min-width: 0; }
.stat .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; margin-bottom: 12px; color: #555; }
.stat .lab { color: var(--muted); font-size: 12px; }
.stat .val { font-size: 26px; font-weight: 500; letter-spacing: -.6px; margin: 3px 0 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trend { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: var(--green-soft); color: var(--green); }
.trend.down { background: var(--red-soft); color: var(--red); }
.rev { display: flex; gap: 12px; }
.rev-left { flex: 1; min-width: 0; }
.bars { display: flex; align-items: flex-end; gap: 4px; height: 70px; }
.bar { flex: 1; display: flex; flex-direction: column-reverse; gap: 2px; height: 100%; }
.bar i { display: block; border-radius: 3px; min-height: 3px; }
.bar i.n { background: var(--primary); } .bar i.p { background: var(--yellow); }
.legend { display: flex; gap: 12px; font-size: 10.5px; color: var(--muted); margin-bottom: 6px; align-items: center; flex-wrap: wrap; }
.legend .sw { display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 4px; }
.row-2 { display: grid; grid-template-columns: 1fr 300px; gap: 12px; align-items: start; }
.checkout-stack { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.checkout-stack .panel { margin-bottom: 0; }
.heat { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.heat i { aspect-ratio: 1; border-radius: 5px; display: block; background: #f9e4d8; }
.heat i.l1 { background: #f6c9ad; } .heat i.l2 { background: #f3a079; } .heat i.l3 { background: #ee7744; } .heat i.l4 { background: #e2541c; }
.issue { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.issue .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; border: 1px solid #f8d9c8; }
.issue b { margin-left: auto; font-size: 14px; font-weight: 600; }
.status-bar { display: flex; gap: 4px; height: 7px; margin: 10px 0; }
.status-bar i { border-radius: 4px; display: block; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: var(--green); }
.recent-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.recent-item .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; flex-shrink: 0; }
.recent-item .r { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.subtabs { display: inline-flex; background: var(--soft); border-radius: 9px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.subtabs button { border: 0; background: transparent; padding: 5px 12px; border-radius: 7px; cursor: pointer; font-weight: 500; color: var(--muted); font-size: 12px; }
.subtabs button.active { background: #fff; color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.seg { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 6px 12px; border-radius: 7px; cursor: pointer; font-weight: 500; color: #555; }
.seg button.active { background: var(--primary); color: #fff; }

/* ---------- table ---------- */
.table-wrap { overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 11.5px; color: var(--muted); font-weight: 500; padding: 9px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:hover td { background: #fcfbf9; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.empty { text-align: center; padding: 36px 10px; color: var(--muted); }
.empty .big { width: 46px; height: 46px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin: 0 auto 10px; }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.plan { border: 1px solid var(--line); border-radius: 14px; padding: 15px; display: flex; flex-direction: column; position: relative; background: #fff; }
.plan.popular { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary) inset; }
.plan .ribbon { position: absolute; top: 12px; right: 12px; }
.plan .ptype { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 10px; }
.plan .ptype.nodejs { background: var(--green-soft); color: var(--green); }
.plan .ptype.python { background: var(--blue-soft); color: var(--blue); }
.plan h3 { margin: 0 0 3px; font-size: 15px; font-weight: 600; }
.price { font-size: 24px; font-weight: 600; letter-spacing: -.6px; margin: 10px 0 2px; }
.price small { font-size: 12px; color: var(--muted); font-weight: 400; }
.specs { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; margin: 12px 0; }
.spec { background: var(--soft); border-radius: 9px; padding: 8px 4px; text-align: center; }
.spec b { display: block; font-size: 12.5px; font-weight: 600; } .spec span { font-size: 10.5px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 0 0 14px; flex: 1; }
.plan li { padding: 4px 0; display: flex; gap: 7px; align-items: center; color: #444; }
.plan li svg { color: var(--green); }

/* ---------- dashboard home redesign ---------- */
.dashboard-home { max-width: 1180px; }
.welcome-panel { min-height: 300px; border-radius: 24px; padding: 34px 38px; margin-bottom: 30px; color: #fff; background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 30%), linear-gradient(120deg, #f4581f 0%, #c93213 100%); display: flex; justify-content: space-between; align-items: center; overflow: hidden; position: relative; }
.welcome-panel h2 { font-size: 42px; letter-spacing: -1.7px; margin: 14px 0 10px; line-height: 1; }
.welcome-panel p { max-width: 470px; opacity: .88; font-size: 15px; line-height: 1.6; margin: 0 0 22px; }
.welcome-badge { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.28); letter-spacing: .8px; }
.welcome-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-light { background: #fff; color: var(--primary); border-color: #fff; }
.btn-outline-light { color: #fff; background: transparent; border-color: rgba(255,255,255,.5); }
.welcome-art { width: 330px; height: 220px; position: relative; flex-shrink: 0; }
.welcome-terminal { position: absolute; inset: 30px 0 0 35px; background: #201b1a; border: 1px solid rgba(255,255,255,.2); border-radius: 16px; padding: 18px; color: #fff; font: 12px/2 ui-monospace, monospace; box-shadow: 0 24px 45px rgba(65,15,4,.32); transform: rotate(5deg); }
.welcome-terminal .o { color: #ff995b; } .welcome-terminal .g { color: #4ade80; } .welcome-terminal .d { color: #aaa; }
.orbit { position: absolute; width: 230px; height: 230px; right: 5px; top: -5px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin: 0 0 16px; }
.section-heading h3 { margin: 5px 0 0; font-size: 24px; letter-spacing: -.6px; }
.eyebrow { color: var(--primary); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; }
.dashboard-plans { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 28px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.trust-strip > div { display: grid; grid-template-columns: 32px 1fr; column-gap: 9px; align-items: center; }
.trust-strip b { font-size: 12px; } .trust-strip small { grid-column: 2; color: var(--muted); font-size: 10.5px; }
.trust-icon { width: 32px; height: 32px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; grid-row: span 2; }

/* ---------- hero (beranda) ---------- */
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 14px; align-items: stretch; }
.hero-card { background: linear-gradient(135deg, #ff8a1f, #f4581f); color: #fff; border-radius: 14px; padding: 20px; position: relative; overflow: hidden; }
.hero-card h2 { font-size: 24px; margin: 6px 0 8px; letter-spacing: -.5px; line-height: 1.2; font-weight: 600; max-width: 420px; }
.hero-card p { opacity: .92; margin: 0 0 16px; max-width: 400px; line-height: 1.55; }
.hero-card .btn { background: #fff; color: var(--primary); border-color: #fff; }
.hero-card .ring { position: absolute; right: -40px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 28px solid rgba(255,255,255,.14); }
.term { background: #1d1d1f; color: #e8e8e8; border-radius: 14px; padding: 14px; font-family: ui-monospace, Menlo, monospace; font-size: 12px; line-height: 1.75; }
.term .g { color: #4ade80; } .term .o { color: #ff9a4d; } .term .d { color: #888; }
.term-head { display: flex; gap: 6px; margin-bottom: 8px; }
.term-head i { width: 9px; height: 9px; border-radius: 50%; background: #555; display: block; }
.term-head i:nth-child(1) { background: #ff5f57; } .term-head i:nth-child(2) { background: #febc2e; } .term-head i:nth-child(3) { background: #28c840; }
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.step { border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.step .n { width: 26px; height: 26px; border-radius: 8px; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 8px; font-size: 12px; }

/* ---------- misc ---------- */
.announce { background: var(--primary); color: #fff; text-align: center; padding: 7px 16px; font-weight: 500; font-size: 12.5px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 8px 12px; font-size: 12.5px; margin: 0; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; font-weight: 600; word-break: break-all; }
.qr-box { text-align: center; padding: 14px; background: var(--soft); border-radius: 14px; }
.qr-box img { width: 230px; height: 230px; background: #fff; padding: 10px; border-radius: 12px; }
.alert { padding: 10px 12px; border-radius: 10px; font-size: 12.5px; margin-bottom: 12px; display: none; }
.alert.show { display: flex; gap: 8px; align-items: flex-start; }
.alert-err { background: var(--red-soft); color: var(--red); }
.alert-ok { background: var(--green-soft); color: var(--green); }
.alert-info { background: var(--primary-soft); color: #9a3a10; }
.modal-bg { position: fixed; inset: 0; background: rgba(20,16,12,.45); display: none; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.modal-bg.show { display: flex; }
.modal { background: #fff; border-radius: 18px; width: 100%; max-width: 560px; max-height: 92vh; overflow-y: auto; padding: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.modal h3 { margin: 0 0 14px; font-size: 16px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.x { border: 0; background: var(--soft); width: 30px; height: 30px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.toast { position: fixed; bottom: 20px; right: 20px; background: #1d1d1f; color: #fff; padding: 11px 16px; border-radius: 12px; z-index: 200; font-weight: 500; opacity: 0; transform: translateY(10px); transition: .25s; pointer-events: none; max-width: 380px; display: flex; gap: 8px; align-items: center; }
.toast.show { opacity: 1; transform: none; }
.toast.err { background: var(--red); }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 500; }
.switch input { accent-color: var(--primary); width: 15px; height: 15px; }
.spinner { width: 16px; height: 16px; border: 2.5px solid rgba(244,88,31,.25); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; display: inline-block; vertical-align: middle; }
.spinner.w { border-color: rgba(255,255,255,.35); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.src { font-size: 10.5px; font-weight: 600; padding: 1px 6px; border-radius: 5px; background: var(--soft); color: var(--muted); margin-left: 6px; }
.src.env { background: var(--blue-soft); color: var(--blue); }
.src.admin { background: var(--green-soft); color: var(--green); }

/* ---------- auth pages ---------- */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side { background: linear-gradient(145deg, #ff8a1f, #f4581f); color: #fff; padding: 44px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-side::after { content: ""; position: absolute; right: -120px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; border: 50px solid rgba(255,255,255,.12); }
.auth-side h2 { font-size: 34px; letter-spacing: -1px; line-height: 1.15; font-weight: 600; }
.auth-main { display: grid; place-items: center; padding: 30px; }
.auth-card { width: 100%; max-width: 380px; }
.auth-card h1 { font-size: 24px; margin: 0 0 6px; letter-spacing: -.5px; font-weight: 600; }

@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .row-2 { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
  .search { width: 170px; }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: 200px 1fr; }
  .search, .pill-btn.opt { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: -260px; width: 240px; z-index: 90; transition: .2s; box-shadow: 0 0 40px rgba(0,0,0,.15); }
  .sidebar.open { left: 0; }
  .main { padding: 12px; }
  .menu-btn { display: grid; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-side { display: none; }
}
@media (max-width: 520px) {
  .stats, .steps { grid-template-columns: 1fr; }
  .rev { flex-direction: column; }
  .welcome-panel { padding: 26px 22px; min-height: 0; }
  .welcome-panel h2 { font-size: 34px; }
  .welcome-art { display: none; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .trust-strip { grid-template-columns: 1fr 1fr; }
}

/* InCloud v3: vertical-first layout. Product cards remain readable on mobile and never force a two-column dashboard. */
.row-2, .hero, .grid-2, .stats { grid-template-columns: 1fr !important; }
.vertical-flow, .checkout-stack { display: flex; flex-direction: column; gap: 14px; max-width: 900px; }
.plans { display: grid; grid-template-columns: 1fr; gap: 14px; }
.plan { width: 100%; box-sizing: border-box; }
.dashboard-home { max-width: 900px; }
.welcome-panel { flex-direction: column; align-items: flex-start; gap: 24px; }
.welcome-art { align-self: center; }
.section-heading { align-items: flex-start; flex-direction: column; }
.trust-strip { grid-template-columns: 1fr !important; }
@media (max-width: 640px) { .welcome-art { display: none; } .welcome-panel h2 { font-size: 32px; } .plan { padding: 14px; } .plans { gap: 10px; } }

.admin-ops .ops-card { margin-bottom: 0; }
.vertical-actions { display: flex; flex-direction: column; gap: 9px; align-items: stretch; }
.vertical-actions .btn { justify-content: flex-start; }

.checkout-warning { color: #d88900; font-size: 12px; line-height: 1.5; margin-top: 7px; }
.testimoni-list { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.receipt-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; position: relative; box-shadow: 0 5px 18px rgba(30,20,10,.05); }
.receipt-top { display:flex; align-items:center; gap:10px; }
.receipt-logo { width:36px; height:36px; border-radius:10px; display:grid; place-items:center; background:var(--primary); color:#fff; font-weight:800; }
.receipt-status { margin-left:auto; color:var(--green); border:1px solid #bfe8cf; background:var(--green-soft); border-radius:999px; padding:5px 10px; font-size:11px; font-weight:800; }
.receipt-line { border-top:1px dashed var(--line); margin:16px 0 10px; }
.receipt-kv { display:grid; grid-template-columns:110px 1fr; gap:7px; margin:0; font-size:12px; }
.receipt-kv dt { color:var(--muted); } .receipt-kv dd { margin:0; font-weight:600; text-align:right; }
.receipt-foot { border-top:1px dashed var(--line); margin-top:15px; padding-top:12px; color:var(--muted); font-size:11px; text-align:center; }
@media (max-width:640px) { .receipt-kv { grid-template-columns:90px 1fr; } .receipt-kv dd { text-align:right; } }

.checkout-section-title { font-size: 24px; font-weight: 500; margin: 8px 0 16px; letter-spacing: -.5px; }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.account-tab { background: transparent; border: 1px solid var(--line); border-radius: 14px; padding: 17px 12px; font-size: 17px; font-weight: 600; cursor: pointer; }
.account-tab.active { background: #f6f7fb; border-color: #8792a5; box-shadow: inset 0 0 0 1px #8792a5; }
@media (max-width:640px) { .account-tabs { gap: 9px; } .account-tab { font-size: 14px; padding: 14px 8px; } .checkout-section-title { font-size: 22px; } }

.public-access-note { display:flex; align-items:center; gap:14px; margin:18px 0; padding:15px 17px; border:1px solid #ffd7b5; border-radius:14px; background:#fff8f2; color:#7a3414; }
.public-access-note span { color:#9a5b35; font-size:13px; flex:1; }
@media (max-width:640px) { .public-access-note { align-items:flex-start; flex-direction:column; gap:7px; } .public-access-note .btn { width:100%; } }

/* ==========================================
   INCLOUD v5 — UI IMPROVEMENTS
   ========================================== */

/* ---------- login admin (redesign) ---------- */
.login-page { background: #f0eee9; min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.login-wrap { width: 100%; max-width: 420px; }
.login-box { background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: 36px 32px; box-shadow: 0 8px 40px rgba(0,0,0,.10); }
.login-logo { text-align: center; margin-bottom: 28px; }
.login-brand { font-size: 22px; font-weight: 700; color: var(--text); letter-spacing: -.4px; margin-top: 6px; }
.login-brand span { color: var(--primary); }
.login-sub { color: var(--muted); font-size: 13px; margin-top: 4px; }
.login-box .field { margin-bottom: 16px; }
.login-box .field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.login-box .field input { width: 100%; border: 2px solid var(--line); background: var(--soft); border-radius: 12px; padding: 12px 14px; outline: none; font-size: 14px; transition: .15s; }
.login-box .field input:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(244,88,31,.10); }
.btn-primary.w100 { width: 100%; padding: 13px; font-size: 14px; border-radius: 12px; font-weight: 700; margin-top: 4px; background: var(--primary); color: #fff; border: none; cursor: pointer; transition: .15s; }
.btn-primary.w100:hover { background: #e54d15; }
.btn-primary.w100:disabled { opacity: .65; cursor: not-allowed; }
.err-msg { color: var(--red); background: var(--red-soft); border: 1.5px solid #f6c4c5; border-radius: 10px; padding: 10px 13px; font-size: 12.5px; font-weight: 500; margin-bottom: 12px; }
.login-box form { display: flex; flex-direction: column; }

/* ---------- checkout page improvements ---------- */
/* Thicker borders on checkout panels */
.checkout-stack .panel {
  border: 2px solid #d8d3cc !important;
  border-radius: 16px;
}
/* Input border stronger */
.checkout-stack .input,
.checkout-stack select.input {
  border: 2px solid #ccc9c3;
  background: #fafaf8;
  font-size: 14px;
  padding: 11px 14px;
  border-radius: 11px;
  color: var(--text);
}
.checkout-stack .input:focus,
.checkout-stack select.input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(244,88,31,.10);
}
/* Label contrast fix */
.checkout-stack label.lbl {
  color: #3d3a36;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 7px;
}
/* Card title contrast */
.checkout-stack .card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--line);
  margin-bottom: 16px;
}
/* Account tab stronger borders */
.account-tab {
  border: 2px solid var(--line) !important;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
  padding: 16px 12px;
  background: #fff;
  color: #555;
  transition: .15s;
}
.account-tab:hover { border-color: var(--primary) !important; color: var(--primary); }
.account-tab.active {
  background: #fff8f4 !important;
  border-color: var(--primary) !important;
  border-width: 2px !important;
  box-shadow: inset 0 0 0 1.5px var(--primary);
  color: var(--primary) !important;
}
/* Pay button */
#coPay {
  font-size: 15px;
  font-weight: 700;
  padding: 14px !important;
  border-radius: 13px;
  letter-spacing: .2px;
}
/* Summary panel */
.checkout-stack .kv dt { color: var(--muted); font-size: 13px; }
.checkout-stack .kv dd { font-size: 13px; font-weight: 600; }

/* ---------- voucher section (checkout) ---------- */
.voucher-row { display: flex; gap: 8px; align-items: stretch; }
.voucher-row .input { flex: 1; text-transform: uppercase; letter-spacing: .8px; font-weight: 600; }
.voucher-row .btn { white-space: nowrap; border: 2px solid var(--line); font-weight: 700; flex-shrink: 0; border-radius: 11px; padding: 0 16px; }
.voucher-row .btn:hover { border-color: var(--primary); color: var(--primary); }
.voucher-ok { display: flex; align-items: center; gap: 8px; padding: 10px 13px; background: var(--green-soft); border: 1.5px solid #bfe8cf; border-radius: 10px; color: var(--green); font-size: 12.5px; font-weight: 600; margin-top: 8px; }
.voucher-ok .vc-discount { margin-left: auto; font-size: 14px; font-weight: 700; }
.voucher-err { color: var(--red); font-size: 12px; margin-top: 6px; font-weight: 500; }

/* ---------- voucher section (invoice summary) ---------- */
.discount-row { display: flex; justify-content: space-between; align-items: center; color: var(--green); font-size: 13px; font-weight: 600; margin: 4px 0; }

/* ---------- voucher management (admin) ---------- */
.voucher-badge-percent { background: var(--blue-soft); color: var(--blue); border-color: #bbd4ff; }
.voucher-badge-fixed   { background: var(--green-soft); color: var(--green); border-color: #bfe8cf; }
.voucher-inactive { opacity: .55; }

/* ---------- product filter tabs (plans page) ---------- */
.sort-note { font-size: 11.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }

/* ---------- QR download button ---------- */
.qr-download-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--soft); border: 2px solid var(--line); border-radius: 9px; padding: 6px 13px; font-size: 12px; font-weight: 600; cursor: pointer; color: var(--text); text-decoration: none; margin-top: 10px; transition: .15s; }
.qr-download-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }

/* ---------- checkout alert info stronger ---------- */
.checkout-stack .alert-info {
  background: #fff5ee;
  color: #7a3410;
  border: 1.5px solid #f8c9a7;
  border-radius: 11px;
}


/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-page { max-width: 640px; }
.contact-header { text-align: center; padding: 32px 16px 24px; }
.contact-logo { width: 68px; height: 68px; border-radius: 18px; display: block; margin: 0 auto 14px; box-shadow: 0 4px 20px rgba(0,0,0,.10); }
.contact-header h2 { font-size: 24px; font-weight: 700; margin: 0 0 8px; color: var(--text); }
.contact-header p { color: var(--muted); font-size: 14px; margin: 0; }

.contact-cards { display: flex; flex-direction: column; gap: 12px; }
.contact-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 2px solid var(--line);
  border-radius: 16px; padding: 16px 18px;
  text-decoration: none; color: var(--text);
  transition: border-color .15s, box-shadow .15s, transform .12s;
}
.contact-card:hover {
  border-color: var(--cc, var(--primary));
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  transform: translateY(-1px);
}
.cc-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cc-icon img { width: 30px; height: 30px; object-fit: contain; }
.cc-body { flex: 1; min-width: 0; }
.cc-label { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.cc-desc { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.cc-cta {
  flex-shrink: 0; color: #fff; font-size: 12px; font-weight: 700;
  padding: 7px 14px; border-radius: 9px; white-space: nowrap;
}

.contact-note {
  display: flex; align-items: flex-start; gap: 8px;
  background: #fdfaf6; border: 1.5px solid var(--line);
  border-radius: 12px; padding: 12px 14px;
  color: var(--muted); font-size: 12.5px; margin-top: 16px;
  line-height: 1.5;
}
.contact-note svg { flex-shrink: 0; margin-top: 1px; }

@media (max-width: 480px) {
  .cc-cta { display: none; }
  .contact-card { padding: 14px; }
}

/* ==========================================
   FINANCE BAR CHART
   ========================================== */
.finance-bar-chart {
  display: flex; align-items: flex-end; gap: 10px;
  height: 160px; padding: 0 4px 0;
  margin-top: 8px;
}
.fbc-col {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; height: 100%;
}
.fbc-val {
  font-size: 9px; color: var(--muted); text-align: center;
  white-space: nowrap; overflow: hidden; max-width: 100%;
  height: 20px; display: flex; align-items: center; justify-content: center;
}
.fbc-bar-wrap {
  flex: 1; width: 100%; display: flex;
  align-items: flex-end; min-height: 4px;
}
.fbc-bar {
  width: 100%; min-height: 4px; border-radius: 5px 5px 0 0;
  background: var(--primary); opacity: .85; transition: .3s;
}
.fbc-bar:hover { opacity: 1; }
.fbc-label { font-size: 11px; color: var(--muted); margin-top: 4px; }
.fbc-n { font-size: 10px; color: var(--muted); }

