/* ============================================================
   Alzriss & Okta — Platform Deploy
   Stylesheet utama (dark, elegan, gradient violet -> pink)
   ============================================================ */

:root {
  --bg: #07070b;
  --bg2: #0c0c13;
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f6;
  --muted: #9b9ba8;
  --muted2: #6e6e7a;
  --brand1: #8b5cf6;
  --brand2: #ec4899;
  --grad: linear-gradient(135deg, #8b5cf6, #ec4899);
  --ok: #34d399;
  --warn: #fbbf24;
  --bad: #f87171;
  --radius: 14px;
  --radius-sm: 10px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 15% -5%, rgba(139, 92, 246, 0.14), transparent 60%),
    radial-gradient(900px 500px at 85% 105%, rgba(236, 72, 153, 0.12), transparent 60%);
}

a { color: #c4b5fd; text-decoration: none; }
a:hover { color: #ddd6fe; }
code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.25);
  padding: 1px 7px;
  border-radius: 6px;
  word-break: break-all;
}
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 12px;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { background: var(--card-hover); border-color: var(--border-strong); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.primary {
  background: var(--grad);
  border: none;
  color: #fff;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}
.btn.primary:hover { filter: brightness(1.12); box-shadow: 0 10px 28px rgba(139, 92, 246, 0.45); }
.btn.ghost { background: transparent; }
.btn.danger { border-color: rgba(248, 113, 113, 0.4); color: #fca5a5; }
.btn.danger:hover { background: rgba(248, 113, 113, 0.12); }
.btn.lg { padding: 13px 26px; font-size: 16px; border-radius: 14px; }
.btn.sm { padding: 7px 14px; font-size: 13.5px; border-radius: 10px; }
.btn.full { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ---------- kartu ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: background 0.18s ease, border-color 0.18s ease;
}

/* ---------- navigasi ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 7, 11, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 17px; letter-spacing: -0.2px; }
.brand-name em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero { padding: 84px 0 64px; text-align: center; }
.badge {
  display: inline-block;
  font-size: 13px;
  color: #d8c9ff;
  border: 1px solid rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.12;
}
.hero .sub {
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 17px;
}
.hero .sub strong { color: var(--text); }

/* klaim subdomain */
.claim { display: flex; gap: 12px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.claim-box {
  display: flex;
  align-items: center;
  background: var(--bg2);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 0 16px;
  min-width: min(520px, 92vw);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.claim-box:focus-within {
  border-color: var(--brand1);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.22);
}
.claim-box.ok:focus-within { border-color: var(--ok); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18); }
.claim-box.bad { border-color: rgba(248, 113, 113, 0.6); }
.claim-prefix { color: var(--muted2); font-family: var(--mono); font-size: 14px; }
.claim-box input {
  flex: 1;
  min-width: 120px;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--mono);
  font-size: 15.5px;
  padding: 14px 8px;
}
.claim-box input::placeholder { color: var(--muted2); }
.claim-suffix {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 13.5px;
  white-space: nowrap;
}
.claim-status { margin-top: 14px; font-size: 14px; color: var(--muted); min-height: 22px; }
.claim-status .ok { color: var(--ok); font-weight: 600; }
.claim-status .bad { color: var(--bad); font-weight: 600; }
@media (max-width: 640px) {
  .claim { flex-direction: column; align-items: stretch; }
  .claim-box { min-width: 0; flex-wrap: wrap; padding: 4px 14px; }
  .claim-suffix { font-size: 12px; width: 100%; text-align: center; padding-bottom: 8px; }
}

/* statistik */
.stats {
  display: flex;
  justify-content: center;
  gap: 46px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -1px; }
.stat span { color: var(--muted); font-size: 13.5px; }

/* ---------- section umum ---------- */
.section { padding: 72px 0; }
.section.alt { background: rgba(255, 255, 255, 0.015); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { font-size: clamp(26px, 4vw, 34px); font-weight: 800; letter-spacing: -0.8px; text-align: center; }
.section-sub { text-align: center; color: var(--muted); margin: 10px 0 40px; }

/* langkah */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.step { position: relative; }
.step-num {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--grad);
  font-weight: 800;
  font-size: 17px;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(139, 92, 246, 0.3);
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* fitur */
.grid-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.feat h3 { font-size: 16.5px; margin-bottom: 6px; }
.feat p { color: var(--muted); font-size: 14.5px; }
.feat-ico { font-size: 26px; margin-bottom: 12px; }
.feat:hover { background: var(--card-hover); }

/* mockup browser */
.browser { padding: 0; overflow: hidden; }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.browser-url {
  flex: 1;
  margin: 0 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  padding: 6px 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.browser-open { font-size: 13px; font-weight: 600; }
.browser iframe {
  display: block;
  width: 100%;
  height: 460px;
  border: none;
  background: #0a0a10;
}

/* faq */
.faq { margin-bottom: 12px; padding: 18px 22px; cursor: pointer; }
.faq summary { font-weight: 600; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--muted); transition: transform 0.2s; }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--muted); margin-top: 10px; font-size: 14.5px; }

/* cta band */
.cta-band { text-align: center; padding: 84px 24px; }
.cta-band h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -1px; }
.cta-band p { color: var(--muted); margin: 10px 0 26px; }

/* footer */
.footer { border-top: 1px solid var(--border); padding: 36px 0 44px; }
.footer-inner { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.footer .muted { font-size: 13px; }

/* ============================================================
   HALAMAN AUTH
   ============================================================ */
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; }
.auth-card { width: 100%; max-width: 420px; padding: 34px 32px; }
.auth-card .brand { margin-bottom: 20px; }
.auth-card h1 { font-size: 22px; letter-spacing: -0.4px; margin-bottom: 6px; }
.auth-card #auth-sub { font-size: 14.5px; margin-bottom: 22px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: rgba(0, 0, 0, 0.3); border-radius: 12px; padding: 5px; margin-bottom: 22px; }
.tab { text-align: center; padding: 9px; border-radius: 9px; font-weight: 600; font-size: 14.5px; color: var(--muted); transition: all 0.15s; }
.tab.active { background: var(--grad); color: #fff; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg2);
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus, .field textarea:focus {
  border-color: var(--brand1);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted2); }
.form-error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fca5a5;
  border-radius: 11px;
  padding: 11px 14px;
  font-size: 14px;
  margin-bottom: 16px;
}

/* ============================================================
   DASHBOARD
   ============================================================ */
.dash { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side {
  border-right: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
  gap: 20px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.side-top { padding: 0 6px; }
.side-nav { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.side-nav a {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14.5px;
  transition: all 0.15s;
}
.side-nav a:hover, .side-nav a.active { color: var(--text); background: var(--card-hover); }
.side-new {
  margin-top: 10px;
  border: none;
  background: var(--grad);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14.5px;
  padding: 11px;
  border-radius: 11px;
  cursor: pointer;
  transition: filter 0.15s;
}
.side-new:hover { filter: brightness(1.12); }
.side-bottom { display: flex; flex-direction: column; gap: 10px; }
.side-user { font-size: 13px; color: var(--muted); padding: 0 6px; overflow: hidden; text-overflow: ellipsis; }
.side-user b { color: var(--text); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.dash-main { padding: 34px 38px; max-width: 1120px; width: 100%; }
@media (max-width: 860px) {
  .dash { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .side-nav { flex-direction: row; flex-wrap: wrap; }
  .side-new { margin-top: 0; margin-left: auto; }
  .side-bottom { margin-left: auto; flex-direction: row; align-items: center; }
  .dash-main { padding: 24px 18px; }
}

.dash-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.dash-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.6px; }
.dash-head .sub { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.head-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* kartu proyek */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.project-card { cursor: pointer; }
.project-card:hover { background: var(--card-hover); border-color: var(--border-strong); }
.project-card h3 { font-size: 16.5px; margin-bottom: 4px; word-break: break-all; }
.project-domain { font-family: var(--mono); font-size: 13px; color: #a5b4fc; margin-bottom: 12px; word-break: break-all; }
.project-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; color: var(--muted2); font-size: 12.5px; }

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}
.badge-status.live { background: rgba(52, 211, 153, 0.12); color: #6ee7b7; border: 1px solid rgba(52, 211, 153, 0.3); }
.badge-status.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.badge-status.idle { background: rgba(255, 255, 255, 0.06); color: var(--muted); border: 1px solid var(--border); }
.badge-status.failed { background: rgba(248, 113, 113, 0.1); color: #fca5a5; border: 1px solid rgba(248, 113, 113, 0.3); }
.badge-status.uploading { background: rgba(251, 191, 36, 0.1); color: #fcd34d; border: 1px solid rgba(251, 191, 36, 0.3); }

/* kosong */
.empty {
  text-align: center;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 56px 24px;
  color: var(--muted);
}
.empty .big { font-size: 40px; margin-bottom: 12px; }
.empty h3 { color: var(--text); margin-bottom: 6px; font-size: 18px; }
.empty .btn { margin-top: 18px; }

/* header proyek */
.proj-head-url {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg2);
  border: 1px solid var(--border-strong);
  padding: 9px 8px 9px 16px;
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 14px;
  max-width: 100%;
  flex-wrap: wrap;
}
.proj-head-url a { color: #a5b4fc; word-break: break-all; }
.icon-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 8px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.15s;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }

/* tabel deployment */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.6px; background: rgba(255, 255, 255, 0.025); }
tr:last-child td { border-bottom: none; }
tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
td .note { color: var(--text); }
td .when, td .meta { color: var(--muted); font-size: 12.5px; }

/* pengaturan */
.settings-grid { display: grid; gap: 16px; max-width: 620px; }
.danger-zone { border-color: rgba(248, 113, 113, 0.3); }
.danger-zone h3 { color: #fca5a5; }
.switch-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.switch-row p { color: var(--muted); font-size: 13.5px; margin-top: 2px; }

/* toggle */
.switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track {
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s;
}
.switch .track::before {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  border-radius: 50%;
  background: #fff;
  transition: 0.2s;
}
.switch input:checked + .track { background: var(--grad); }
.switch input:checked + .track::before { transform: translateX(20px); }

/* ============================================================
   MODAL & TOAST
   ============================================================ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fadeIn 0.16s ease;
}
.modal {
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  background: #12121a;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 26px 26px 24px;
  animation: slideUp 0.2s ease;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
.modal h2 { font-size: 19px; letter-spacing: -0.3px; margin-bottom: 4px; }
.modal .modal-sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.modal-close {
  float: right;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
}
.modal-close:hover { color: var(--text); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(14px); } }

#toast-root { position: fixed; bottom: 22px; right: 22px; z-index: 200; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: #16161f;
  border: 1px solid var(--border-strong);
  border-left: 4px solid var(--brand1);
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 14.5px;
  max-width: 380px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  animation: slideUp 0.2s ease;
}
.toast.ok { border-left-color: var(--ok); }
.toast.bad { border-left-color: var(--bad); }
.toast a { font-weight: 600; }

/* ============================================================
   DEPLOY: TAB, DROPZONE, EDITOR, TEMPLATE
   ============================================================ */
.deploy-tabs { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; background: rgba(0, 0, 0, 0.3); border-radius: 12px; padding: 5px; margin-bottom: 20px; }
.deploy-tabs button {
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  padding: 9px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.15s;
}
.deploy-tabs button.active { background: var(--grad); color: #fff; }

.dropzone {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius);
  padding: 40px 20px;
  text-align: center;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s;
}
.dropzone:hover, .dropzone.drag { border-color: var(--brand1); background: rgba(139, 92, 246, 0.07); color: var(--text); }
.dropzone .big { font-size: 34px; margin-bottom: 8px; }
.dropzone b { color: var(--text); }
.dropzone .hint { font-size: 12.5px; color: var(--muted2); margin-top: 6px; }

.filelist { margin-top: 14px; max-height: 180px; overflow-y: auto; font-size: 13px; font-family: var(--mono); color: var(--muted); border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px; }
.filelist div { padding: 2px 0; display: flex; justify-content: space-between; gap: 12px; }
.filelist .sz { color: var(--muted2); }

.progress { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin: 14px 0 6px; }
.progress > div { height: 100%; background: var(--grad); border-radius: 999px; transition: width 0.25s ease; }
.progress-label { font-size: 13px; color: var(--muted); }

.editor-area {
  width: 100%;
  min-height: 300px;
  background: #0a0a11;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: #e2e8f0;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.65;
  padding: 14px 16px;
  outline: none;
  resize: vertical;
  tab-size: 2;
}
.editor-area:focus { border-color: var(--brand1); box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18); }

.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.tpl {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  text-align: left;
  background: var(--card);
  color: var(--text);
  font-family: var(--font);
  transition: all 0.15s;
}
.tpl:hover { border-color: var(--brand1); background: rgba(139, 92, 246, 0.08); }
.tpl .ico { font-size: 24px; margin-bottom: 8px; }
.tpl b { display: block; font-size: 14px; margin-bottom: 3px; }
.tpl span { font-size: 12px; color: var(--muted); line-height: 1.4; display: block; }

/* sukses deploy */
.deploy-success { text-align: center; padding: 6px 0 4px; }
.deploy-success .rocket { font-size: 44px; margin-bottom: 10px; }
.deploy-success h2 { margin-bottom: 6px; }
.deploy-success .url-big {
  display: inline-block;
  font-family: var(--mono);
  font-size: 15px;
  background: var(--bg2);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 20px;
  margin: 12px 0 6px;
  word-break: break-all;
  max-width: 100%;
}
.deploy-success .btns { display: flex; gap: 10px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.deploy-success p { color: var(--muted); font-size: 13.5px; }

/* spinner & loading */
.spinner {
  width: 34px; height: 34px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--brand1);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 14px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-block { text-align: center; color: var(--muted); padding: 80px 0; }

/* skeleton */
.skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,.05) 25%, rgba(255,255,255,.1) 50%, rgba(255,255,255,.05) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 10px;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* kecil */
.kbd {
  font-family: var(--mono);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: 1px 7px;
}
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.back-link:hover { color: var(--text); }
