/* ===== Panel Akun pemilik (gaya panel: sidebar gelap + kartu putih) ===== */
.akun-body{ margin:0; background:#f1f4f9; color:#1f2937; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.ak-wrap{ display:flex; min-height:100vh; }
.ak-side{ width:240px; background:#2d3748; color:#cbd5e1; flex:none; display:flex; flex-direction:column; }
.ak-brand{ background:#434b5a; color:#fff; padding:16px 18px; font-size:17px; font-weight:600; }
.ak-nav button{ display:flex; align-items:center; gap:10px; width:100%; background:none; border:none; color:#cbd5e1; font:inherit; font-size:15.5px; padding:12px 18px; cursor:pointer; text-align:left; }
.ak-nav button:hover{ background:#3a4556; color:#fff; }
.ak-nav button.active{ background:var(--primary); color:#fff; }
.ak-side-foot{ margin-top:auto; padding:14px 18px; font-size:12px; color:#94a3b8; }
.ak-main{ flex:1; min-width:0; display:flex; flex-direction:column; }
.ak-top{ height:52px; background:#333; color:#e5e7eb; display:flex; align-items:center; gap:10px; padding:0 16px; }
.ak-top .crumb{ font-size:14px; text-transform:uppercase; letter-spacing:.3px; }
.ak-top .sp{ flex:1; }
.ak-userbtn{ background:#f3f4f6; color:#111; border:none; border-radius:6px; padding:7px 12px; font:inherit; font-size:14px; cursor:pointer; }
.ak-menu-btn{ display:none; background:none; border:none; color:#fff; font-size:22px; cursor:pointer; }
.ak-content{ padding:24px; max-width:1200px; width:100%; box-sizing:border-box; }
.ak-card{ background:#fff; border-radius:14px; box-shadow:0 2px 10px rgba(15,23,42,.06); border:1px solid #e8edf3; margin-bottom:22px; }
.ak-card-h{ padding:16px 22px; border-bottom:1px solid #edf1f6; }
.ak-card-h h3{ margin:0; font-size:18px; display:flex; align-items:center; gap:8px; }
.ak-card-h p{ margin:3px 0 0; font-size:13px; color:#64748b; }
.ak-card-b{ padding:8px 22px 18px; }
.ak-grid2{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
.ak-grid3{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:22px; }
.ak-row{ display:grid; grid-template-columns:160px 1fr auto; gap:12px; align-items:center; padding:14px 0; border-bottom:1px solid #eef2f6; font-size:14.5px; }
.ak-row:last-child{ border-bottom:none; }
.ak-row .k{ color:#475569; }
.ak-row .v{ font-weight:600; word-break:break-word; }
.ak-row .v.muted, .ak-hint{ color:#64748b; font-weight:400; font-size:12.5px; }
.ak-badge{ display:inline-block; border-radius:999px; padding:3px 10px; font-size:12px; font-weight:700; color:#fff; background:#64748b; }
.ak-badge.green{ background:#16a34a; } .ak-badge.blue{ background:#2563eb; } .ak-badge.purple{ background:#7c3aed; }
.ak-badge.amber{ background:#d97706; } .ak-badge.red{ background:#dc2626; } .ak-badge.gray{ background:#94a3b8; }
.ak-badge.soft{ background:#eef2ff; color:#3730a3; }
.ak-btn{ display:inline-flex; align-items:center; gap:6px; border:1px solid #d6dde6; background:#fff; color:#111827; border-radius:8px; padding:9px 14px; font:inherit; font-size:14px; font-weight:600; cursor:pointer; text-decoration:none; }
.ak-btn:hover{ background:#f8fafc; }
.ak-btn.primary{ background:var(--primary); border-color:var(--primary); color:#fff; }
.ak-btn.primary:hover{ filter:brightness(1.05); }
.ak-btn.danger{ color:#dc2626; }
.ak-btn.sm{ padding:6px 10px; font-size:13px; }
.ak-btn:disabled{ opacity:.55; cursor:not-allowed; }
.ak-actions{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.ak-hero{ display:flex; align-items:center; gap:22px; padding:26px; }
.ak-avatar{ width:84px; height:84px; border-radius:50%; background:var(--primary); color:#fff; display:flex; align-items:center; justify-content:center; font-size:30px; font-weight:800; flex:none; box-shadow:0 6px 18px rgba(0,0,0,.15); }
.ak-hero h2{ margin:0; font-size:22px; }
.ak-hero .sp{ flex:1; }
.ak-sec{ font-size:13px; font-weight:800; letter-spacing:.4px; color:#334155; text-transform:uppercase; margin:16px 0 6px; display:flex; align-items:center; gap:6px; }
.ak-kv{ display:flex; justify-content:space-between; gap:10px; padding:10px 0; border-bottom:1px solid #eef2f6; font-size:14px; }
.ak-kv span:first-child{ color:#475569; }
.ak-kv span:last-child{ font-weight:600; text-align:right; }
.ak-box{ background:#f1f5f9; border-radius:10px; padding:12px 14px; margin-bottom:10px; }
.ak-cred{ display:flex; align-items:center; gap:8px; }
.ak-cred input{ width:130px; border:1px solid #d6dde6; border-radius:6px; padding:6px 8px; font:inherit; background:#fff; }
.ak-warn{ background:#fffbeb; border:1px solid #fcd34d; border-left:4px solid #f59e0b; border-radius:8px; padding:10px 12px; font-size:13px; color:#92400e; }
.ak-domain{ background:#f1f5f9; border-radius:10px; padding:12px 14px; margin-bottom:10px; }
.ak-domain .t{ display:flex; justify-content:space-between; font-weight:700; }
.ak-domain .s{ display:flex; justify-content:space-between; font-size:13px; color:#475569; margin-top:6px; }
.ak-tag{ border:1px solid #cbd5e1; border-radius:5px; padding:1px 7px; font-size:11.5px; font-weight:700; color:#475569; background:#fff; }
.ak-stat{ background:#fff; border:1px solid #e8edf3; border-radius:12px; padding:14px 16px; }
.ak-stat .l{ font-size:12.5px; color:#64748b; } .ak-stat .v{ font-size:22px; font-weight:800; margin-top:4px; }
.ak-stats{ display:grid; grid-template-columns:repeat(auto-fit, minmax(170px, 1fr)); gap:14px; margin-bottom:20px; }
.ak-table{ width:100%; border-collapse:collapse; font-size:14px; }
.ak-table th, .ak-table td{ padding:10px 8px; border-bottom:1px solid #eef2f6; text-align:left; }
.ak-table th{ font-size:12px; color:#64748b; text-transform:uppercase; }
.ak-table .r{ text-align:right; }
.ak-bars{ display:flex; align-items:flex-end; gap:3px; height:150px; padding-top:10px; }
.ak-bars div{ flex:1; background:var(--primary); border-radius:3px 3px 0 0; min-height:2px; position:relative; }
.ak-bars div:hover{ filter:brightness(1.15); }
.ak-empty{ text-align:center; padding:30px 10px; color:#2563eb; }
.ak-empty h3{ font-weight:400; font-size:24px; margin:0 0 6px; }
.ak-plans{ display:grid; grid-template-columns:repeat(3, 1fr); gap:10px; }
.ak-plan{ border:2px solid #e2e8f0; border-radius:12px; padding:12px; cursor:pointer; }
.ak-plan.active{ border-color:var(--primary); background:var(--primary-soft); }
.ak-plan b{ font-size:16px; } .ak-plan .pr{ font-size:18px; font-weight:800; margin:4px 0; }
.ak-plan p{ margin:0; font-size:12px; color:#475569; }
.ak-field{ margin-bottom:12px; }
.ak-field label{ display:block; font-size:13px; font-weight:600; color:#475569; margin-bottom:5px; }
.ak-field input, .ak-field select, .ak-field textarea{ width:100%; box-sizing:border-box; border:1px solid #d6dde6; border-radius:8px; padding:9px 11px; font:inherit; font-size:14px; background:#fff; }
.ak-two{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.ak-err{ color:#dc2626; font-size:13px; min-height:18px; }
.ak-modal-back{ position:fixed; inset:0; background:rgba(15,23,42,.45); display:flex; align-items:center; justify-content:center; z-index:50; padding:16px; }
.ak-modal{ background:#fff; border-radius:16px; width:100%; max-width:560px; max-height:calc(100vh - 32px); overflow:auto; padding:20px 22px; box-sizing:border-box; }
.ak-modal h2{ margin:0 0 12px; font-size:20px; }
.ak-modal .foot{ display:flex; justify-content:flex-end; gap:8px; margin-top:14px; flex-wrap:wrap; }
.ak-toast{ position:fixed; top:16px; left:50%; transform:translateX(-50%); background:#111827; color:#fff; padding:10px 16px; border-radius:10px; z-index:60; font-size:14px; box-shadow:0 8px 24px rgba(0,0,0,.2); }
.ak-toast.err{ background:#b91c1c; }
.ak-login{ min-height:100vh; display:flex; align-items:center; justify-content:center; padding:16px; }
.ak-login .ak-card{ width:100%; max-width:400px; padding:26px; box-sizing:border-box; }
.ak-pay{ background:#f8fafc; border:1px dashed #cbd5e1; border-radius:10px; padding:12px; font-size:14px; white-space:pre-wrap; }
.ak-total{ display:flex; justify-content:space-between; font-size:18px; font-weight:800; padding:10px 0; border-top:1px solid #e2e8f0; margin-top:8px; }
.ak-check{ display:flex; align-items:center; gap:8px; font-size:14px; margin:6px 0; }
.ak-check input{ width:16px; height:16px; }
.hidden{ display:none !important; }
@media (max-width: 900px){
  .ak-grid2, .ak-grid3{ grid-template-columns:1fr; }
  .ak-side{ position:fixed; z-index:40; inset:0 auto 0 0; transform:translateX(-100%); transition:transform .2s; }
  .ak-wrap.nav-open .ak-side{ transform:none; }
  .ak-menu-btn{ display:block; }
  .ak-content{ padding:14px; }
  .ak-hero{ flex-wrap:wrap; padding:18px; }
  .ak-row{ grid-template-columns:1fr; gap:4px; }
  .ak-plans{ grid-template-columns:1fr; }
  .ak-two{ grid-template-columns:1fr; }
}
@media (min-width: 901px) and (max-width: 1320px){
  .ak-grid3{ grid-template-columns:1fr 1fr; }
  .ak-grid3 > :nth-child(3){ grid-column:1 / -1; }
}
