/* WEB PANEL PROXY public CSS */
:root {
  --bg: #0c0a0b;
  --panel: #131012;
  --panel-2: #181316;
  --line: #2a2226;
  --text: #f3edf0;
  --muted: #9d9297;
  --accent: #e63462;
  --accent-2: #d81159;
  --green: #7fb069;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--bg);
  color: var(--text);

  font-family: Inter, sans-serif;
}

/* ---------- GATEWAY ---------- */

.gateway {
  width: 380px;

  border: 1px solid var(--line);
  border-radius: 14px;

  background: var(--panel);

  box-shadow: 0 25px 70px rgba(0, 0, 0, .35);
  overflow: hidden;
}

/* ---------- HEADER ---------- */

.gateway-head {
  display: flex;
  align-items: center;
  justify-content: space-between;

  height: 54px;
  padding: 0 17px;

  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;

  font-family: "Space Grotesk", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.03em;
}

.brand-mark {
  width: 9px;
  height: 9px;

  border-radius: 50%;
  background: var(--accent);
}

.status {
  display: flex;
  align-items: center;
  gap: 7px;

  color: var(--green);

  font-family: "IBM Plex Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.status-dot {
  width: 6px;
  height: 6px;

  border-radius: 50%;
  background: var(--green);
}

/* ---------- METRICS ---------- */

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;

  padding: 16px;
}

.metric {
  padding: 13px;

  border: 1px solid var(--line);
  border-radius: 9px;

  background: var(--panel-2);
}

.metric-label {
  margin-bottom: 5px;

  color: var(--muted);

  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.metric-value {
  font-family: "IBM Plex Mono", monospace;
  font-size: 18px;
  font-weight: 500;
}

.metric-value.good {
  color: var(--green);
}

/* ---------- FOOTER ---------- */

.gateway-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 17px;
  height: 38px;

  border-top: 1px solid var(--line);

  color: var(--muted);

  font-family: "IBM Plex Mono", monospace;
  font-size: 9px;
}

/* ---------- MOBILE ---------- */

@media (max-width: 430px) {
  .gateway {
    width: calc(100% - 28px);
  }
}