:root {
  --bg: #0f1115;
  --panel: #171a21;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --primary: #f97316;
  --primary-2: #fb923c;
  --danger: #ef4444;
  --border: #2a2f3a;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 5% 0%, rgba(249, 115, 22, 0.15), transparent 35%),
    radial-gradient(circle at 100% 0%, rgba(251, 146, 60, 0.12), transparent 30%),
    var(--bg);
}

.container {
  width: min(1060px, 92%);
  margin: 28px auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 2px 2px;
}

.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.brand-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}
.header-logo {
  height: 170px;
  width: auto;
  object-fit: contain;
}

.header-claim {
  font-size: 35px;
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  text-wrap: balance;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  margin-bottom: 14px;
  box-shadow: var(--shadow);
}

h2, h3 {
  margin: 0 0 10px;
  letter-spacing: 0.1px;
}

p { margin: 8px 0; }

.grid { display: grid; gap: 12px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.stat {
  background: linear-gradient(180deg, #1c2029, #171a21);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
}
.stat .k { color: var(--muted); font-size: 12px; }
.stat .v { font-size: 20px; font-weight: 700; margin-top: 4px; }

input, select, button {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  background: #11141b;
  color: var(--text);
}

input:focus, select:focus {
  outline: none;
  border-color: #fb923c;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2);
}

button {
  background: linear-gradient(180deg, var(--primary-2), var(--primary));
  color: #fff;
  cursor: pointer;
  border: none;
  font-weight: 600;
}

button.secondary { background: #374151; }
button.danger { background: #b91c1c; }

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}

th, td {
  border-bottom: 1px solid var(--border);
  text-align: left;
  padding: 11px 10px;
  white-space: nowrap;
}

th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted);
}

.badge {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge.pending { background: #5b4200; color: #fef3c7; }
.badge.ok { background: #14532d; color: #dcfce7; }
.badge.cancel { background: #7f1d1d; color: #fee2e2; }

.error { color: var(--danger); margin-top: 8px; }
.muted { color: var(--muted); }
.inline-form { display: inline; }

.chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}
.logo-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  background: #161b24;
  border-radius: 10px;
  padding: 10px 12px;
}
.logo-dot {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.logo-green { background: #16a34a; }
.logo-sky { background: #0284c7; }
.logo-pink { background: #db2777; }
.logo-red { background: #dc2626; }
.logo-blue { background: #2563eb; }
.logo-indigo { background: #4f46e5; }
.logo-cyan { background: #0891b2; }
.logo-black { background: #111827; }
.logo-dark { background: #1f2937; }
.logo-orange { background: #ea580c; }
.logo-royal { background: #1d4ed8; }
.logo-steel { background: #334155; }

.chip {
  display: inline-block;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #1f2530;
  color: #e5e7eb;
  font-size: 13px;
}

.chip-country {
  background: #2a1d12;
  border-color: #523721;
}

.faq-wrap {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--border);
  background: #161b24;
  border-radius: 10px;
  padding: 12px;
}

.panel-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.alert-banner {
  background: #2b0f0f;
  color: #fecaca;
  border: 1px solid #7f1d1d;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 12px;
  font-weight: 600;
}

.kpi-card {
  border-radius: 12px;
  padding: 14px;
  border: 1px solid var(--border);
}

.kpi-title {
  font-size: 14px;
  color: #e5e7eb;
}

.kpi-value {
  margin-top: 6px;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
}

.kpi-balance { background: linear-gradient(180deg, #065f46, #064e3b); }
.kpi-usage { background: linear-gradient(180deg, #1d4ed8, #1e40af); }
.kpi-support { background: linear-gradient(180deg, #0e7490, #155e75); }

.service-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
}

.service-btn {
  border-radius: 9px;
  min-height: 44px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.service-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

.service-red { background: #dc2626; }
.service-blue { background: #2563eb; }
.service-cyan { background: #0891b2; }
.service-green { background: #16a34a; }
.service-indigo { background: #4f46e5; }
.service-sky { background: #0284c7; }
.service-pink { background: #db2777; }
.service-navy { background: #1e3a8a; }
.service-black { background: #111827; }
.service-azure { background: #0369a1; }
.service-royal { background: #1d4ed8; }
.service-orange { background: #ea580c; }

@media (max-width: 720px) {
  .container { width: 94%; }
  .brand { font-size: 18px; }
  th, td { padding: 9px 8px; }
  .header-logo { height: 56px; }
  .header-claim { font-size: 28px; font-weight: 800; line-height: 1.05; }
}
