:root {
  --bg-color: #02070b;
  --accent: #17f2ff;
  --accent-soft: rgba(23, 242, 255, 0.35);
  --danger: #ff3b3b;
  --text-main: #e4f6f6;
  --text-muted: #7aa3a8;
  --card-bg: rgba(1, 12, 18, 0.9);
  --border-color: rgba(23, 242, 255, 0.4);
}

/* RESET / GLOBAL -------------------------------------------------------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* LOGIN ----------------------------------------------------------------- */

.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top, #06222d 0, transparent 55%),
    radial-gradient(circle at bottom, #041015 0, transparent 55%),
    var(--bg-color) url("img/bg-login.jpg") center/cover no-repeat fixed;
}

/* LOGIN – SCANLINE */

.scan-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0,
    rgba(0, 0, 0, 0.5) 1px,
    transparent 1px,
    transparent 3px
  );
  background-size: 100% 4px;
  opacity: 0.2;
  mix-blend-mode: screen;
}

/* LOGIN – KARTA */

.frame {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.frame::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 18px;
  border: 1px solid rgba(23, 242, 255, 0.15);
  box-shadow:
    0 0 25px rgba(23, 242, 255, 0.2),
    0 0 80px rgba(0, 0, 0, 0.8);
  pointer-events: none;
}

.login-card {
  position: relative;
  padding: 28px 26px 24px;
  border-radius: 14px;
  background: radial-gradient(circle at top, rgba(23, 242, 255, 0.12), transparent 55%),
              var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow:
    0 0 30px rgba(0, 0, 0, 0.9),
    0 0 35px rgba(23, 242, 255, 0.15);
  backdrop-filter: blur(12px);
}

.login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.login-title {
  font-size: 1.2rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.login-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.status-pill {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.divider {
  margin: 10px 0 18px;
  border-top: 1px solid rgba(23, 242, 255, 0.22);
  position: relative;
}

.divider::before {
  content: "ACCESS NODE: DEADZONE SŁUPSK";
  position: absolute;
  top: -9px;
  left: 12px;
  padding: 0 6px;
  background: var(--card-bg);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

input[type="text"],
input[type="password"] {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid rgba(23, 242, 255, 0.3);
  background: rgba(0, 0, 0, 0.55);
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder {
  color: #4f7075;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(23, 242, 255, 0.7);
  background: rgba(0, 0, 0, 0.8);
}

.login-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sectors-info {
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.sectors-info span {
  color: var(--accent);
}

/* PRZYCISKI ------------------------------------------------------------- */

.btn-primary {
  position: relative;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: radial-gradient(circle at top, rgba(23, 242, 255, 0.4), rgba(2, 14, 18, 1));
  color: #001316;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.15s ease;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.35), transparent 60%);
  opacity: 0;
  transform: translateX(-40%);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(23, 242, 255, 0.7);
  background: radial-gradient(circle at top, rgba(23, 242, 255, 0.7), rgba(1, 10, 14, 1));
}

.btn-primary:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 0 7px rgba(23, 242, 255, 0.5);
}

.btn-primary--small {
  padding: 6px 14px;
  font-size: 0.7rem;
}

/* WIADOMOŚCI ------------------------------------------------------------ */

.msg {
  margin-top: 12px;
  font-size: 0.8rem;
  min-height: 1.1em;
  color: var(--text-muted);
}

.msg--error {
  color: var(--danger);
}

.msg--ok {
  color: var(--accent);
}

/* RESPONSYWNOŚĆ LOGINU -------------------------------------------------- */

@media (max-width: 480px) {
  .frame::before {
    inset: -12px;
  }
  .login-card {
    padding: 22px 18px 18px;
  }
  .login-title {
    font-size: 1rem;
  }
  .divider::before {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
  }
}

/* MAPA / KAMPANIE – TŁO ------------------------------------------------- */

.map-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at top, #06222d 0, transparent 55%),
    radial-gradient(circle at bottom, #041015 0, transparent 55%),
    #02070b;
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* GÓRNY PASEK ----------------------------------------------------------- */

.map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  border-bottom: 1px solid rgba(23, 242, 255, 0.25);
}

.map-operator span {
  color: var(--accent);
}

.map-nav {
  display: flex;
  gap: 8px;
}

/* LISTA KAMPANII -------------------------------------------------------- */

.campaigns-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.campaigns-panel {
  width: 100%;
  max-width: 1000px;
  border-radius: 14px;
  border: 1px solid rgba(23, 242, 255, 0.35);
  background: radial-gradient(circle at top, rgba(23, 242, 255, 0.12), transparent 55%),
              rgba(1, 11, 16, 0.94);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
  padding: 18px 18px 14px;
}

.campaign-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  justify-content: center;
}

.campaign-form {
  margin: 0;
}

.campaign-card {
  width: 100%;
  max-width: 520px;
  border-radius: 12px;
  border: 1px solid rgba(23, 242, 255, 0.25);
  background: radial-gradient(circle at top, rgba(23, 242, 255, 0.15), transparent 55%),
              rgba(0, 10, 14, 0.95);
  display: flex;
  align-items: stretch;
  padding: 0;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.campaign-card:hover {
  box-shadow: 0 0 16px rgba(23, 242, 255, 0.9);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.campaign-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.campaign-thumb-wrap {
  flex: 0 0 110px;
  max-width: 110px;
  overflow: hidden;
}

.campaign-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.campaign-info {
  flex: 1;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.campaign-code {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.campaign-name {
  font-size: 0.95rem;
}

.campaign-role {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.campaign-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.campaign-enter {
  margin-top: auto;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  opacity: 0.85;
}

/* STOPKA --------------------------------------------------------------- */

.app-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 24px;
  font-size: 0.7rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(23, 242, 255, 0.25);
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.3)
  );
  z-index: 20;
}

.app-footer-left,
.app-footer-right {
  white-space: nowrap;
}

/* żeby nic nie wchodziło pod stopkę */

.login-body,
.map-body {
  padding-bottom: 40px;
}

/* LAYOUT MAPY KAMPANII -------------------------------------------------- */

.map-layout {
  flex: 1;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 260px;
  gap: 18px;
  padding: 18px 24px 48px;
}

.map-center {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-center-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.map-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

/* PANELE BOCZNE -------------------------------------------------------- */

.side-panel {
  border-radius: 14px;
  border: 1px solid rgba(23, 242, 255, 0.35);
  background: radial-gradient(circle at top, rgba(23, 242, 255, 0.12), transparent 55%),
              rgba(1, 11, 16, 0.94);
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.9);
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.panel-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 4px;
}

.panel-box {
  border-top: 1px solid rgba(23, 242, 255, 0.2);
  padding-top: 8px;
}

.panel-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.panel-value {
  font-size: 1.1rem;
  margin-top: 4px;
}

.panel-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.panel-box--log {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.log-list {
  margin-top: 6px;
  list-style: none;
  font-size: 0.75rem;
  color: var(--text-muted);
  max-height: 180px;
  overflow-y: auto;
}

/* SZYBKIE AKCJE -------------------------------------------------------- */

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

/* MAPA + PUNKTY ZWYCIĘSTWA --------------------------------------------- */

.map-board {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}

.map-victory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(23, 242, 255, 0.3);
  background: radial-gradient(circle at top, rgba(23, 242, 255, 0.12), transparent 55%),
              rgba(0, 8, 12, 0.95);
}

.vp-box {
  text-align: center;
}

.vp-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.vp-value {
  font-size: 1.4rem;
  margin-top: 4px;
}

.vp-target {
  font-size: 1rem;
  margin-top: 6px;
}

/* MODALE --------------------------------------------------------------- */

.hidden {
  display: none !important;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 50;
}

.modal {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  max-width: 1250px;   /* było 720px */
  width: 95%;
  max-height: 90vh;
  border-radius: 14px;
  border: 1px solid rgba(23, 242, 255, 0.35);
  background: radial-gradient(circle at top, rgba(23, 242, 255, 0.12), transparent 55%),
              rgba(1, 11, 16, 0.96);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.95);
  z-index: 60;
  display: flex;
  flex-direction: column;
}

.inv-name {
  font-weight: 600;
}

.inv-desc {
  color: var(--text-muted);
  max-width: 420px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.78rem;
}

.inventory-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  border: 1px solid rgba(23, 242, 255, 0.45); /* wyraźna ramka */
  border-radius: 8px;
  overflow: hidden; /* zaokrąglenie działa na cały grid */
}

.inventory-table th,
.inventory-table td {
  padding: 4px 6px;
  vertical-align: top;
  border-bottom: 1px solid rgba(23, 242, 255, 0.20); /* linia między wierszami */
}

.inventory-table tbody tr {
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.inventory-table tbody tr:hover {
  background: rgba(23, 242, 255, 0.08);         /* lekka poświata */
  box-shadow: inset 0 0 0 1px rgba(23, 242, 255, 0.35);
}

/* ostatni wiersz bez dolnej kreski, żeby nie dublować z ramką */
.inventory-table tbody tr:last-child td {
  border-bottom: none;
}


.modal-header {
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(23, 242, 255, 0.25);
}

.modal-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
}

.modal-body {
  padding: 10px 14px;
  overflow-y: auto;
  font-size: 0.85rem;
}

.modal-footer {
  padding: 8px 14px;
  border-top: 1px solid rgba(23, 242, 255, 0.25);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

/* MAPA – obraz + overlay ----------------------------------------------- */

.map-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;

  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(23, 242, 255, 0.35);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
}

/* brak sztywnej wysokości – wysokość z proporcji obrazka */

.map-image {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(0.9) contrast(1.05) brightness(0.85);
}

/* warstwa na hotspoty (SVG) */

.sector-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* SVG: kształty sektorów na mapie -------------------------------------- */

.sector-shape {
  pointer-events: auto;
  fill: rgba(23, 242, 255, 0.05);
  stroke: rgba(23, 242, 255, 0.7);
  stroke-width: 0.2;
  cursor: pointer;
  transition:
    fill 0.12s ease,
    stroke 0.12s ease,
    stroke-width 0.12s ease;
}

.sector-shape:hover {
  fill: rgba(23, 242, 255, 0.25);
  stroke-width: 0.4;
}

.sector-shape--active {
  fill: rgba(23, 242, 255, 0.35);
  stroke-width: 0.3;
}

/* wszystkie ramki w tym samym kolorze, różnice tylko w wypełnieniu */

.sector-shape--low,
.sector-shape--mid,
.sector-shape--high {
  stroke: rgba(23, 242, 255, 0.7);   /* ten sam neon dla każdej ramki */
}

/* delikatne wypełnienia pod zagrożenie */
.sector-shape--low  { fill: rgba(99, 255, 139, 0.10); }   /* lekko zielonkawo */
.sector-shape--mid  { fill: rgba(255, 217, 95, 0.13); }   /* lekko żółtawo */
.sector-shape--high { fill: rgba(255, 59, 59, 0.16); }    /* lekko czerwono */

/* tekst z kodem sektora */

.sector-label {
  font-size: 4px;             /* 4% wysokości viewBox */
  fill: #e4f6f6;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}

.campaign-desc p {
  margin-bottom: 10px;
}

.campaign-desc-media img {
  max-width: 100%;
  border-radius: 10px;
  display: block;
}

.campaign-events {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.campaign-event {
  position: relative;  /* żeby można było przypiąć datę do prawego rogu */
  border-radius: 10px;
  border: 1px solid rgba(23, 242, 255, 0.25);
  padding: 24px 12px 10px; /* było 8px 10px; więcej miejsca na górze */
  background: rgba(0, 8, 12, 0.9);
}

.campaign-event-date {
  position: absolute;
  top: 6px;
  right: 12px;
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.campaign-event-content {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.campaign-event-thumb img {
  width: 160px;   /* było 80px */
  height: 120px;  /* było 60px */
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(23, 242, 255, 0.3);
}

.campaign-event-text p + p {
  margin-top: 4px;
}

/* panel pod mapą – tabela graczy */

.map-players {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(23, 242, 255, 0.3);
  background: radial-gradient(
      circle at top,
      rgba(23, 242, 255, 0.12),
      transparent 55%
    ),
    rgba(0, 8, 12, 0.95);
  max-width: 620px;
  width: 100%;
}

.map-players-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.players-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.players-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}

.players-table th,
.players-table td {
  padding: 4px 6px;
  text-align: left;
}

.players-table thead th {
  border-bottom: 1px solid rgba(23, 242, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.players-table tbody tr:nth-child(odd) {
  background: rgba(0, 0, 0, 0.25);
}

.players-table tbody tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.1);
}

.players-table tbody tr:hover {
  background: rgba(23, 242, 255, 0.08);
}

.players-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--accent);
}

.players-placeholder {
  text-align: center;
  color: var(--text-muted);
}

/* MODAL: DRUŻYNA I REKRUTACJA ------------------------------------------- */

.team-modal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-modal-credits {
  font-size: 0.85rem;
  margin-bottom: 4px;
}

.team-modal-credits span {
  color: var(--accent);
  font-weight: 600;
}

.team-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.team-modal-column {
  border-radius: 10px;
  border: 1px solid rgba(23, 242, 255, 0.25);
  padding: 8px 10px;
  background: radial-gradient(circle at top, rgba(23, 242, 255, 0.12), transparent 55%),
              rgba(0, 8, 12, 0.95);
}

.team-modal-column h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.team-list,
.shop-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-unit,
.shop-unit {
  border-radius: 8px;
  border: 1px solid rgba(23, 242, 255, 0.25);
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.4);
  font-size: 0.8rem;
}

.shop-unit--disabled {
  opacity: 0.5;
}

.team-unit-header,
.shop-unit-header {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.team-unit-base,
.shop-unit-type {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.team-nickname-input {
  width: 100%;
  padding: 2px 4px;
  border-radius: 6px;
  border: 1px solid rgba(23, 242, 255, 0.3);
  background: rgba(0, 0, 0, 0.7);
  color: var(--text-main);
  font-size: 0.8rem;
}

.team-unit-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.team-unit-effects {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.effects-group {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.effects-label {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 999px;
  border: 1px solid rgba(23, 242, 255, 0.25);
  font-size: 0.7rem;
}

.badge-injury {
  color: var(--danger);
  border-color: rgba(255, 59, 59, 0.6);
}

.badge-upgrade {
  color: #5efc8d;
  border-color: rgba(94, 252, 141, 0.7);
}

.badge-empty {
  color: var(--text-muted);
  border-style: dashed;
}

.unit-status {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.unit-status--dead {
  color: var(--danger);
}

.unit-status--miss {
  color: #ffb84d;
}

.shop-unit-cost {
  text-align: right;
  font-size: 0.75rem;
}

.shop-unit-cost span {
  color: var(--accent);
  font-weight: 600;
}

.shop-unit-footer {
  margin-top: 4px;
  text-align: right;
}

.modal-form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.modal-form-row label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.modal-form-row input[type="password"] {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-color);
  background: rgba(0, 10, 14, 0.9);
  color: var(--text-main);
}

.modal-error {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--danger);
}
