:root {
  --orange: #FF6B2B;
  --orange-dark: #E55A1F;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --bg: #fafafa;
  --card: #fff;
  --border: #e5e5e5;
  --error: #d32f2f;
  --success: #2e7d32;
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang HK", "Microsoft JhengHei", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.5;
}
.container { max-width: 640px; margin: 0 auto; padding: 24px 16px; }
header { background: var(--orange); color: #fff; padding: 24px 16px; }
.brand { display: flex; align-items: center; gap: 14px; max-width: 640px; margin: 0 auto; }
.brand-logo {
  height: 52px; width: 52px; border-radius: 13px; background: #fff; color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px;
  flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
.brand-text { min-width: 0; }
.brand-text h1 { margin: 0 0 4px; font-size: 22px; }
.brand-text p { margin: 0; opacity: 0.92; font-size: 13px; }
.brand .top-right { margin-left: auto; }
.brand .top-right a { color: #fff; opacity: 0.9; font-size: 13px; text-decoration: underline; cursor: pointer; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 16px; }
.card h2 { margin: 0 0 12px; font-size: 18px; }
.card h3 { margin: 16px 0 8px; font-size: 15px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; }
.muted { color: var(--muted); font-size: 13px; }

.option {
  display: flex; align-items: center; gap: 12px;
  border: 1.5px solid var(--border); border-radius: 10px; padding: 14px;
  margin-bottom: 10px; transition: all 0.15s;
}
.option .price { font-size: 18px; font-weight: 700; color: var(--orange); white-space: nowrap; }
.option .body { flex: 1; min-width: 0; }
.option .label { font-weight: 600; font-size: 14px; }
.option .sub { color: var(--muted); font-size: 12px; margin-top: 2px; }

input[type=text], input[type=email], input[type=password], input[type=number], textarea {
  width: 100%; padding: 11px 12px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 15px; font-family: inherit; box-sizing: border-box;
}
input:focus, textarea:focus { outline: none; border-color: var(--orange); }
label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--muted); }
.form-row { margin-bottom: 14px; }

button.primary {
  width: 100%; background: var(--orange); color: #fff; border: none;
  padding: 14px; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; transition: background 0.15s;
}
button.primary:hover { background: var(--orange-dark); }
button.primary:disabled { background: #ccc; cursor: not-allowed; }
button.secondary {
  width: 100%; background: #fff; color: var(--text); border: 1.5px solid var(--border);
  padding: 12px; border-radius: 10px; font-size: 15px; cursor: pointer; margin-top: 8px;
}
button.secondary:hover { border-color: var(--orange); color: var(--orange); }
button.mini { width: auto; padding: 8px 14px; font-size: 14px; border-radius: 8px; background: var(--orange); color: #fff; border: none; cursor: pointer; }
button.mini.ghost { background: #fff; color: var(--text); border: 1.5px solid var(--border); }
button.mini:disabled { background: #ccc; cursor: not-allowed; }

.error { color: var(--error); font-size: 13px; margin-top: 8px; }
.success { color: var(--success); font-size: 13px; margin-top: 8px; }

.kv { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; font-size: 14px; }
.kv .k { color: var(--muted); }
.iccid { font-family: ui-monospace, Menlo, monospace; font-size: 14px; word-break: break-all; }
.pill { display: inline-block; font-size: 11px; padding: 2px 9px; border-radius: 999px; background: #fff4ed; color: var(--orange); border: 1px solid #ffd2b3; }
.totals { border-top: 2px solid #222; margin-top: 10px; padding-top: 10px; display: flex; justify-content: space-between; font-size: 18px; font-weight: 800; }

footer { text-align: center; padding: 32px 16px; color: var(--muted); font-size: 12px; }
