:root {
  --bg: #080808;
  --panel: #121212;
  --card: #1b1b1b;
  --table: #161616;
  --border: #343434;
  --border-soft: #292929;
  --silver: #d7dbe0;
  --text: #f3f4f6;
  --muted: #999;
  --blue: #3b82f6;
  --green: #22c55e;
  --orange: #f59e0b;
  --red: #ef4444;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

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

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at top, #1a1a1a 0%, var(--bg) 60%);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.5;
}

button,
input,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(1400px, 95%);
  margin-inline: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  border-bottom: 1px solid var(--border);
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px 0;
}

.logo {
  color: var(--silver);
  font-family: "Orbitron", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 2px;
  white-space: nowrap;
}

.logo span {
  color: var(--blue);
}

nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav a {
  position: relative;
  color: var(--silver);
  text-decoration: none;
  transition: color 0.2s ease;
}

nav a:hover,
nav a:focus-visible {
  color: #fff;
}

nav a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
.details:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.section-title {
  margin: 40px 0 20px;
  color: var(--silver);
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: 1px;
}

.counter {
  color: #888;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0;
}

.incursions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 25px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #1b1b1b, #121212);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.incursions-grid > .card {
  overflow: hidden;
}

.card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.18);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-bottom: 1px solid #2a2a2a;
}

.card-body {
  padding: 20px;
}

.alliance-logo {
  width: 64px;
  height: 64px;
  min-width: 64px;
  flex-shrink: 0;

  border-radius: 50%;
  overflow: hidden;

  background: #111;
  border: 2px solid var(--silver);

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
          0 0 0 3px rgba(255, 255, 255, 0.04),
          0 0 14px rgba(59, 130, 246, 0.18);
}

.alliance-logo img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  border-radius: inherit;
}

.alliance-info h3 {
  margin-bottom: 4px;
}

.alliance-info .status {
  margin-top: 6px;
  color: var(--orange);
  font-size: 0.9rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.stat {
  min-width: 0;
  padding: 12px;
  border: 1px solid #2d2d2d;
  border-radius: 10px;
  background: #171717;
}

.stat:hover {
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.18);
}

.stat-label,
.label {
  color: var(--muted);
  font-size: 0.8rem;
}

.stat-value,
.value {
  margin-top: 5px;
  overflow-wrap: anywhere;
  font-weight: 600;
}

.progress {
  height: 10px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 20px;
  background: #2a2a2a;
}

.progress-fill {
  height: 100%;
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--blue));
}

.chart {
  position: relative;
  width: 100%;
  height: 260px;
  margin-top: 20px;
  padding: 14px;

  border: 1px solid var(--border);
  border-radius: 12px;

  background:
          linear-gradient(
                  180deg,
                  rgba(255, 255, 255, 0.025),
                  rgba(0, 0, 0, 0.12)
          );

  overflow: hidden;
}

.chart canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 768px) {
  .chart {
    height: 230px;
    padding: 10px;
  }
}

.systems-title {
  margin-top: 20px;
}

.system-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag {
  padding: 6px 10px;
  border: 1px solid #303030;
  border-radius: 20px;
  background: #242424;
  font-size: 0.8rem;
}

.security,
.type {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}

.security {
  margin-top: 5px;
}

.highsec {
  border: 1px solid var(--green);
  color: var(--green);
}

.lowsec {
  border: 1px solid var(--orange);
  color: var(--orange);
}

.nullsec {
  border: 1px solid var(--red);
  color: var(--red);
}

.mothership {
  border: 1px solid var(--blue);
  color: var(--blue);
}

.btn,
.button,
.details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
}

.button {
  padding: 12px 18px;
}

.details {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.btn:hover,
.button:hover,
.details:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 8px 22px rgba(59, 130, 246, 0.2);
}

.respawn {
  margin-top: 50px;
}

.respawn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 20px;
}

.isk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 20px;
}

.respawn-card,
.history-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
}

.respawn-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.18);
}
.history-card:hover {
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.18);
}
.window {
  margin-top: 15px;
}

.bar {
  height: 8px;
  margin: 12px 0;
  overflow: hidden;
  border-radius: 20px;
  background: #2a2a2a;
}

.bar-fill {
  width: 70%;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.history-preview {
  margin: 50px 0;
}

.history-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}

.history-card p {
  margin-top: 8px;
  color: var(--muted);
}

.hero {
  margin-top: 35px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, #1b1b1b, #121212);
}

.hero:hover {
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.18);
}

.hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
}

.logo-large {
  width: 120px;
  height: 120px;
  min-width: 120px;
  flex-shrink: 0;

  border-radius: 50%;
  overflow: hidden;

  background: #111;
  border: 2px solid var(--silver);

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
          0 0 0 3px rgba(255, 255, 255, 0.04),
          0 0 14px rgba(59, 130, 246, 0.18);
}

.logo-large img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  border-radius: inherit;
}
.hero-info h1 {
  margin-bottom: 10px;
  font-family: "Orbitron", sans-serif;
}

.status-badge,
.status-badge-blue,
.status-badge-orange,
.status-badge-red,
.status-badge-green {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 20px;
}

.status-badge-blue {
  border: 1px solid rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue);
}

.status-badge-orange {
  border: 1px solid rgba(245, 158, 11, 0.4);
  background: rgba(245, 158, 11, 0.15);
  color: var(--orange);
}

.status-badge-red {
  border: 1px solid rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.15);
  color: var(--red);
}

.status-badge-green {
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.15);
  color: var(--green);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 20px;
  margin-top: 25px;
}

.hero .grid > .card {
  padding: 18px;
  border-radius: 14px;
  background: var(--card);
}

main.container > .chart {
  height: 420px;
  margin-top: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filter {
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #1c1c1c;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.filter:hover,
.filter.active {
  border-color: var(--blue);
  background: #222b3a;
}

.timeline {
  position: relative;
  margin-top: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: #333;
}

.event {
  position: relative;
  margin: 0 0 30px 60px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
}

.event:hover {
  border-color: var(--blue);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.18);
}

.event::before {
  content: "";
  position: absolute;
  top: 22px;
  left: -50px;
  width: 14px;
  height: 14px;
  border: 3px solid #0b0b0b;
  border-radius: 50%;
  background: var(--blue);
}

.timestamp {
  margin-bottom: 8px;
  color: #9ca3af;
  font-size: 0.85rem;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 15px;
}

.system {
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
}

.page-title {
  margin: 40px 0 25px;
}

.page-title h1 {
  color: var(--silver);
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 2px;
}

.page-title p {
  margin-top: 10px;
  color: var(--muted);
}

.controls {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

input,
select {
  min-height: 44px;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #151515;
  color: #fff;
}

input::placeholder {
  color: #787878;
}

.search {
  flex: 1 1 320px;
  min-width: 250px;
}

.table-container {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--table);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--table);
}

thead {
  background: #202020;
}

th {
  padding: 16px;
  color: var(--silver);
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: left;
  white-space: nowrap;
}

td {
  padding: 15px;
  border-top: 1px solid var(--border-soft);
  vertical-align: middle;
}

tbody tr {
  transition: background 0.2s ease;
}

tbody tr:hover {
  background: #202020;
}

td.status-green {
  color: var(--green);
  font-size: inherit;
  font-weight: 600;
}
td.status-yellow {
  color: var(--orange);
  font-size: inherit;
  font-weight: 600;
}
td.status-blue {
  color: var(--blue);
  font-size: inherit;
  font-weight: 600;
}

.page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #171717;
  color: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.page:hover,
.page.active {
  border-color: var(--blue);
  background: #20283a;
}

footer {
  margin-top: 60px;
  padding: 30px;
  border-top: 1px solid #222;
  color: #777;
  text-align: center;
}

@media (max-width: 900px) {
  .navbar {
    align-items: flex-start;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 28px, 1400px);
  }

  .navbar {
    flex-direction: column;
    gap: 10px;
  }

  nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 0.9rem;
  }

  .logo {
    font-size: 1rem;
  }

  .incursions-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 22px;
  }

  .hero-top {
    flex-direction: column;
    text-align: center;
  }

  main.container > .chart {
    height: 300px;
  }

  .event {
    margin-left: 46px;
  }

  .event::before {
    left: -36px;
  }

  .timeline::before {
    left: 14px;
  }

  .controls > * {
    width: 100%;
  }

  .search {
    min-width: 0;
  }
}

@media (max-width: 700px) {
  th {
    font-size: 0.7rem;
  }

  td {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .card-header,
  .card-body {
    padding: 16px;
  }

  .section-title {
    margin-top: 32px;
  }

  .logo-large {
    width: 96px;
    height: 96px;
  }

  .details {
    min-height: 38px;
  }
}

a,
a:visited,
a:active,
a:focus {

  color: inherit;
  text-decoration: none;

}

a:hover {

  color: grey;
  text-decoration: none;

}

.details-influence-chart {
  position: relative;
  width: 100%;
  height: 420px;
  margin-top: 0;
  padding: 18px;

  background:
          linear-gradient(
                  180deg,
                  rgba(255, 255, 255, 0.025),
                  rgba(0, 0, 0, 0.14)
          );

  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.details-influence-chart canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.chart-empty {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #8f969f;
  font-size: 0.9rem;
  text-align: center;
  pointer-events: none;
}

.chart-empty[hidden] {
  display: none;
}

@media (max-width: 768px) {
  .details-influence-chart {
    height: 320px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .details-influence-chart {
    height: 280px;
  }
}

.affected-systems {
  margin-top: 20px;
}

.affected-systems h4 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 1rem;
}

.systems-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.systems-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.systems-table th,
.systems-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.systems-table th {
  background: rgba(0, 0, 0, 0.35);
  color: #b9c9d8;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.systems-table tbody tr:last-child td {
  border-bottom: none;
}

.systems-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.systems-table a {
  color: #59bfff;
  text-decoration: none;
  font-weight: 600;
}

.systems-table a:hover {
  text-decoration: underline;
}

.system-type {
  display: inline-block;
  min-width: 100px;
  padding: 4px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
}

span.type-staging {
  color: #f4d35e;
  background: rgba(244, 211, 94, 0.12);
  border-color: rgba(244, 211, 94, 0.4);
}

.type-headquarters {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.12);
  border-color: rgba(255, 107, 107, 0.4);
}

.type-assault {
  color: #c77dff;
  background: rgba(199, 125, 255, 0.12);
  border-color: rgba(199, 125, 255, 0.4);
}

.type-vanguard {
  color: #55efc4;
  background: rgba(85, 239, 196, 0.12);
  border-color: rgba(85, 239, 196, 0.4);
}

.isk-grid {
  display: grid;
  grid-template-columns: repeat(
        auto-fit,
        minmax(min(250px, 100%), 1fr)
    );
  gap: 20px;
}

.isk-grid--spawn-windows {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .isk-grid--spawn-windows {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .isk-grid--spawn-windows {
    grid-template-columns: 1fr;
  }
}

.ei-header {
  position: relative;
  z-index: 9999;
  width: 100%;
}

.ei-navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 20px;
}

.ei-logo {
  position: relative;
  z-index: 2;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.ei-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ei-menu a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.ei-menu-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ei-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  cursor: pointer;
  box-sizing: border-box;
}

.ei-burger span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background-color: currentColor;
  transition:
          transform 0.25s ease,
          opacity 0.25s ease;
}

@media screen and (max-width: 900px) {
  .ei-navbar {
    flex-wrap: wrap;
    padding: 0 15px;
  }

  .ei-burger {
    display: block !important;
    position: relative;
    z-index: 2;
  }

  .ei-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 1;

    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 8px 15px 16px;
    background-color: #101318;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.45);
  }

  .ei-menu a {
    display: block !important;
    width: 100%;
    padding: 14px 5px;
    box-sizing: border-box;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ei-menu-checkbox:checked ~ .ei-menu {
    display: flex !important;
  }

  .ei-menu-checkbox:checked + .ei-burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .ei-menu-checkbox:checked + .ei-burger span:nth-child(2) {
    opacity: 0;
  }

  .ei-menu-checkbox:checked + .ei-burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

.ei-header,
.ei-navbar {
  overflow: visible !important;
}

@media screen and (max-width: 768px) {
  .ei-header {
    position: relative;
    height: auto !important;
    min-height: 64px;
    overflow: visible !important;
  }

  .ei-navbar {
    position: relative;
    height: auto !important;
    min-height: 64px;
    overflow: visible !important;
  }

  .ei-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;

    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;

    z-index: 99999 !important;
    box-sizing: border-box;
  }

  .ei-menu-checkbox:checked ~ .ei-menu {
    display: flex !important;
  }
}

.incursion-collapse-table tbody tr:nth-child(n+3) {
  display: none;
}

.incursion-collapse.incursion-collapse-expanded
.incursion-collapse-table tbody tr {
  display: table-row;
}

.incursion-collapse-toggle {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: white;

  margin-top: 8px;
  padding: 8px;

  border: 0;
  background: transparent;
  cursor: pointer;
}

.toggle-icon {
  display: flex;
  flex-direction: column;
  transition: transform .2s;
}

.incursion-collapse-expanded .toggle-icon {
  transform: rotate(180deg);
}

.toggle-arrows {
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.2s ease;
}

.toggle-arrows svg {
  width: 14px;
  height: 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.incursion-collapse-toggle .lessText {
  display: none;
}

.incursion-collapse-toggle[aria-expanded="true"] .moreText {
  display: none;
}

.incursion-collapse-toggle[aria-expanded="true"] .lessText {
  display: flex;
}

.arrow-up {
  transform: rotate(180deg);
}
.influence-chart-container {
  position: relative;
  width: 100%;
  height: 220px;
}

.pagination-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-left: 22px;
  margin-right: 22px;
}

.pagination-information {
  color: #aeb9c6;
  font-size: 14px;
}

.pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 5px;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #334255;
  border-radius: 6px;
  color: #e8edf2;
  text-decoration: none;
  background: #151f2b;
}

.pagination a:hover {
  border-color: #65bfff;
  background: #1c2a39;
}

.pagination .active {
  border-color: #65bfff;
  background: #1675b9;
  color: #ffffff;
  font-weight: bold;
}

.pagination .disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pagination .ellipsis {
  min-width: auto;
  padding: 0 5px;
  border: 0;
  background: transparent;
}

.page-select-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-select-form label {
  color: #aeb9c6;
  font-size: 14px;
}

.page-select-form select {
  height: 40px;
  margin-bottom: 5px;
  border: 1px solid #334255;
  border-radius: 6px;
  background: #151f2b;
  color: #ffffff;
  cursor: pointer;
}

.empty-row {
  text-align: center;
  padding: 35px;
  color: #9daaba;
}

@media (max-width: 750px) {
  .pagination-area {
    align-items: flex-start;
    flex-direction: column;
  }

  .pagination a,
  .pagination span {
    min-width: 36px;
    height: 36px;
    padding: 0 9px;
  }
}

.eisw9-container {
  --eisw9-gray-track: rgba(255, 255, 255, 0.14);
  --eisw9-gray-progress: rgba(255, 255, 255, 0.34);
  --eisw9-gray-border: rgba(255, 255, 255, 0.16);
  --eisw9-muted-text: rgba(255, 255, 255, 0.62);
  --eisw9-open-position: 33.333%;
  --eisw9-progress-position: 0%;

  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.eisw9-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  gap: 16px;
}

.eisw9-status-area {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.eisw9-status {
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
}

.eisw9-countdown {
  min-height: 20px;
  margin: 4px 0 0;
  padding: 0;
  color: var(--eisw9-muted-text);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

.eisw9-progress-area {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.eisw9-progress-track {
  position: relative;
  display: block;
  width: 100%;
  height: 12px;
  margin: 0;
  padding: 0;
  overflow: visible;
  border-radius: 999px;
  background-color: var(--eisw9-gray-track);
}

.eisw9-progress-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: var(--eisw9-progress-position);
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 999px;
  background-color: var(--blue);
  transition: width 500ms linear;
}

.eisw9-opening-line {
  position: absolute;
  z-index: 2;
  top: -4px;
  bottom: -4px;
  left: var(--eisw9-open-position);
  display: block;
  width: 2px;
  margin: 0;
  padding: 0;
  border-radius: 2px;
  background-color: var(--eisw9-gray-progress);
  transform: translateX(-1px);
}

.eisw9-current-marker {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: var(--eisw9-progress-position);
  display: block;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border: 3px solid var(--blue);
  border-radius: 50%;
  background-color: currentColor;
  transform: translate(-50%, -50%);
  transition: left 500ms linear;
}

.eisw9-label-area {
  position: relative;
  display: block;
  width: 100%;
  min-height: 58px;
  margin: 9px 0 0;
  padding: 0;
}

.eisw9-label {
  position: absolute;
  top: 0;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.35;
}

.eisw9-label-start {
  left: 0;
  align-items: flex-start;
  text-align: left;
}

.eisw9-label-open {
  left: var(--eisw9-open-position);
  align-items: center;
  text-align: center;
  transform: translateX(-50%);
}

.eisw9-label-close {
  right: 0;
  align-items: flex-end;
  text-align: right;
}

.eisw9-label-title {
  display: block;
  margin: 0;
  padding: 0;
  color: inherit;
  font-weight: 500;
  white-space: nowrap;
}

.eisw9-label-value {
  display: block;
  margin: 2px 0 0;
  padding: 0;
  color: var(--eisw9-muted-text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.eisw9-time-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  margin: 4px 0 0;
  padding: 14px 0 0;
  gap: 12px 18px;
  border-top: 1px solid var(--eisw9-gray-border);
}

.eisw9-time-item {
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.eisw9-time-title {
  display: block;
  margin: 0 0 3px;
  padding: 0;
  color: var(--eisw9-muted-text);
  font-size: 12px;
  line-height: 1.35;
}

.eisw9-opening-time,
.eisw9-closing-time {
  display: block;
  margin: 0;
  padding: 0;
  color: inherit;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.eisw9-container[data-eisw9-status="pending"] .eisw9-progress-fill {
  background-color: var(--blue);
}

.eisw9-container[data-eisw9-status="open"] .eisw9-progress-fill {
  background-color: var(--blue);
}

.eisw9-container[data-eisw9-status="overdue"] .eisw9-progress-fill {
  background-color: var(--blue);
}

.eisw9-container[data-eisw9-status="invalid"] .eisw9-progress-fill {
  background-color: var(--eisw9-gray-progress);
}

@media screen and (max-width: 560px) {
  .eisw9-header {
    align-items: center;
  }

  .eisw9-label-area {
    min-height: 72px;
  }

  .eisw9-label {
    max-width: 105px;
    font-size: 11px;
  }

  .eisw9-label-title,
  .eisw9-label-value {
    white-space: normal;
  }

  .eisw9-time-details {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eisw9-progress-fill {
    transition: none;
  }

  .eisw9-current-marker {
    transition: none;
  }
}

.eisw9-container[data-eisw9-status="pending"] .eisw9-status {
  color: inherit;
  color: var(--blue);
}

.eisw9-container[data-eisw9-status="open"] .eisw9-status {
  color: var(--green);
}

.eisw9-container[data-eisw9-status="overdue"] .eisw9-status {
  color: var(--red);
}

.eisw9-container[data-eisw9-status="invalid"] .eisw9-status {
  color: var(--red);
}
.eisw9-label-date {
  display: block;
  margin: 1px 0 0;
  padding: 0;
  color: var(--eisw9-muted-text);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  white-space: nowrap;
}

@media screen and (max-width: 560px) {
  .eisw9-label-date {
    max-width: 100%;
    font-size: 9px;
    white-space: nowrap;
  }
}

.eiswt-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.eiswt-table th {
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 500;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.eiswt-table td {
  padding: 16px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  vertical-align: middle;
}

.eiswt-row:hover {
  background: rgba(255, 255, 255, 0.025);
}

.eiswt-security-cell {
  width: 90px;
  white-space: nowrap;
}

.eiswt-status-cell {
  width: 190px;
}

.eiswt-status {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.eiswt-countdown {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  line-height: 1.35;
}

.eiswt-row[data-eiswt-status="open"] .eiswt-status {
  color: var(--green);
}

.eiswt-row[data-eiswt-status="overdue"] .eiswt-status {
  color: var(--red);
}

.eiswt-timeline-cell {
  min-width: 280px;
}

.eiswt-timeline {
  --eiswt-progress: 0%;
  --eiswt-open-position: 33.333%;

  width: 100%;
}

.eiswt-track {
  position: relative;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.eiswt-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--eiswt-progress);
  border-radius: inherit;
  background: var(--blue);
  transition: width 500ms linear;
}

.eiswt-open-marker {
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: var(--eiswt-open-position);
  width: 2px;
  background: rgba(255, 255, 255, 0.45);
  transform: translateX(-50%);
}

.eiswt-now-marker {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: var(--eiswt-progress);

  width: 12px;
  height: 12px;

  border: 2px solid var(--blue);
  border-radius: 50%;

  background-color: currentColor;

  transform: translate(-50%, -50%);
  transition: left 500ms linear;
}

.eiswt-axis {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 8px;
}

.eiswt-axis-point {
  display: flex;
  min-width: 0;
  flex-direction: column;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}

.eiswt-axis-start {
  align-items: flex-start;
  text-align: left;
}

.eiswt-axis-open {
  align-items: center;
  text-align: center;
  transform: none;
}

@media (min-width: 768px) {
  .eiswt-axis-open {
    transform: translateX(-50%);
  }
}

.eiswt-axis-close {
  align-items: flex-end;
  text-align: right;
}

.eiswt-axis-point span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  text-transform: uppercase;
}

.eiswt-axis-point strong {
  margin-top: 2px;
  color: inherit;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
}

.eiswt-axis-point small {
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  white-space: nowrap;
}

.eiswt-date-cell {
  width: 130px;
  white-space: nowrap;
}

.eiswt-date-cell time {
  display: flex;
  flex-direction: column;
  font-variant-numeric: tabular-nums;
}

.eiswt-date-cell strong {
  font-size: 13px;
  font-weight: 500;
}

.eiswt-date-cell span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.eiswt-table-scroll {
  width: 100%;
  overflow-x: auto;
}

@media screen and (max-width: 850px) {
  .eiswt-column-open,
  .eiswt-column-close,
  .eiswt-date-cell {
    display: none;
  }

  .eiswt-timeline-cell {
    min-width: 250px;
  }
}

@media screen and (max-width: 560px) {
  .eiswt-table thead,
  .eiswt-head-row {
    display: none;
  }

  .eiswt-table {
    min-width: 560px;
  }

  .eiswt-table td {
    padding: 14px 8px;
  }

  .eiswt-security-cell {
    width: 78px;
  }

  .eiswt-status-cell {
    width: 155px;
  }

  .eiswt-timeline-cell {
    min-width: 270px;
  }

  .eiswt-axis-point span {
    font-size: 8px;
  }

  .eiswt-axis-point strong {
    font-size: 10px;
  }

  .eiswt-axis-point small {
    font-size: 8px;
    white-space: nowrap;
  }
}
@media screen and (max-width: 560px) {
  .eiswt-axis-point span {
    display: none;
  }

  .eiswt-axis {
    margin-top: 6px;
  }
}
@media screen and (max-width:560px){

  .eiswt-timeline-cell{
    min-width:200px;
  }

}
@media screen and (max-width:560px){

  .eiswt-track{
    height:6px;
  }

  .eiswt-now-marker{
    width:9px;
    height:9px;
    border-width:2px;
  }

}
.eiswt-table {
  min-width: 100%;
}

table.eiswt-table .eiswt-head-row th {
  padding: 16px;
  color: var(--silver);
  font-family: "Orbitron", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: left;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .eiswt-table {
    min-width: 100%;
  }
}
.eiswt-row[data-eiswt-status="pending"] .eiswt-status {
  color: var(--blue);
}

.eiswt-row[data-eiswt-status="open"] .eiswt-status {
  color: var(--green);
}

.eiswt-row[data-eiswt-status="overdue"] .eiswt-status {
  color: var(--red);
}

.log_table_sr_only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.log_table_shell {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--blue) 30%, transparent);
  border-radius: 14px;
  background:
          linear-gradient(135deg, color-mix(in srgb, var(--blue) 8%, transparent), transparent 38%),
          rgba(7, 12, 20, 0.86);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.log_table_shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
          linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
          linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.log_table_intro {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--blue) 20%, transparent);
}

.log_table_intro_text {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.88rem;
}

.log_table_intro_meta {
  flex: 0 0 auto;
  font-family: "Orbitron", sans-serif;
  color: var(--blue);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.log_table_scroll {
  position: relative;
  overflow-x: auto;
}

.log_table_grid {
  width: 100%;
  min-width: 850px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Inter", sans-serif;
}

.log_table_head_cell {
  padding: 13px 16px;
  border-bottom: 1px solid color-mix(in srgb, var(--blue) 28%, transparent);
  background: rgba(7, 15, 26, 0.84);
  color: rgba(255, 255, 255, 0.55);
  font-family: "Orbitron", sans-serif;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.log_table_row {
  transition: background-color 160ms ease, transform 160ms ease;
}

.log_table_row:hover {
  background: color-mix(in srgb, var(--blue) 6%, transparent);
}

.log_table_cell {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.78);
  vertical-align: middle;
}

.log_table_row:last-child .log_table_cell {
  border-bottom: 0;
}

.log_table_time {
  display: grid;
  gap: 2px;
  min-width: 126px;
}

.log_table_time_date {
  color: rgba(255, 255, 255, 0.88);
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.log_table_time_clock {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.log_table_status {
  --log_table_accent: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 200px;
  padding: 9px 12px;
  border: 1px solid color-mix(in srgb, var(--log_table_accent) 48%, transparent);
  border-radius: 7px;
  background: color-mix(in srgb, var(--log_table_accent) 11%, transparent);
  color: var(--log_table_accent);
  font-family: "Inter", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.25;
  text-transform: uppercase;
  box-shadow: inset 3px 0 0 var(--log_table_accent);
}

.log_table_status::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 11px currentColor;
}

.log_table_status_green { --log_table_accent: var(--green); }
.log_table_status_blue { --log_table_accent: var(--blue); }
.log_table_status_orange { --log_table_accent: var(--orange); }
.log_table_status_red { --log_table_accent: var(--red); }

.log_table_location {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-width: 260px;
}

.log_table_security {
  --log_table_accent: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 5px 7px;
  border: 1px solid color-mix(in srgb, var(--log_table_accent) 42%, transparent);
  border-radius: 4px;
  background: color-mix(in srgb, var(--log_table_accent) 9%, transparent);
  color: var(--log_table_accent);
  font-family: "Inter", sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.log_table_security_green { --log_table_accent: var(--green); }
.log_table_security_orange { --log_table_accent: var(--orange); }
.log_table_security_red { --log_table_accent: var(--red); }

.log_table_location_path {
  min-width: 0;
  line-height: 1.4;
}

.log_table_location_link {
  font-weight: 650;
  text-decoration: none;
  transition: color 150ms ease;
}

.log_table_location_link:hover {
  color: var(--blue);
}

.log_table_location_separator {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.26);
}

.log_table_owner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 150px;
}

.log_table_owner_link {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.log_table_owner_link:hover {
  color: var(--blue);
}

.log_table_owner_ticker {
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.48);
  font-family: "Orbitron", sans-serif;
  font-size: 0.6rem;
}

.log_table_details {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--blue) 34%, transparent);
  border-radius: 5px;
  color: var(--blue);
  font-family: "Orbitron", sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.log_table_details::after {
  content: "›";
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 0;
}

.log_table_details:hover {
  border-color: var(--blue);
  background: color-mix(in srgb, var(--blue) 12%, transparent);
}

.log_table_empty {
  padding: 42px 20px;
  color: rgba(255, 255, 255, 0.5);
  font-family: "Inter", sans-serif;
  text-align: center;
}

@media (max-width: 760px) {
  .log_table_intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .log_table_scroll {
    overflow: visible;
  }

  .log_table_grid {
    min-width: 0;
  }

  .log_table_grid thead {
    display: none;
  }

  .log_table_grid,
  .log_table_grid tbody,
  .log_table_row,
  .log_table_cell {
    display: block;
    width: 100%;
  }

  .log_table_grid tbody {
    padding: 10px;
  }

  .log_table_row {
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 9px;
    background: rgba(5, 10, 18, 0.66);
  }

  .log_table_row:last-child {
    margin-bottom: 0;
  }

  .log_table_cell {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 11px 12px;
  }

  .log_table_cell::before {
    content: attr(data-label);
    flex: 0 0 74px;
    color: rgba(255, 255, 255, 0.36);
    font-family: "Orbitron", sans-serif;
    font-size: 0.57rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .log_table_cell_status {
    padding-top: 14px;
    padding-bottom: 14px;
    background: rgba(255, 255, 255, 0.018);
  }

  .log_table_status {
    min-width: 0;
    width: 100%;
    max-width: 230px;
  }

  .log_table_location {
    min-width: 0;
    width: 100%;
    max-width: 230px;
  }

  .log_table_owner {
    min-width: 0;
    max-width: 230px;
  }
}

.history_table_sr_only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.history_table_shell {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--blue) 30%, transparent);
  border-radius: 14px;
  background:
          linear-gradient(135deg, color-mix(in srgb, var(--blue) 8%, transparent), transparent 38%),
          rgba(7, 12, 20, 0.86);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.history_table_shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
          linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
          linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.history_table_intro {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--blue) 20%, transparent);
}

.history_table_intro_text {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
}

.history_table_intro_meta {
  flex: 0 0 auto;
  color: var(--blue);
  font-family: "Orbitron", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.history_table_pagination {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 16px;
  padding: 13px 16px;
  background: rgba(4, 9, 16, 0.58);
}

.history_table_pagination_top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.history_table_pagination_bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.055);
}

.history_table_pagination_info {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  color: rgba(255, 255, 255, 0.5);
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
}

.history_table_pagination_info strong {
  color: rgba(255, 255, 255, 0.9);
  font-family: "Orbitron", sans-serif;
  font-size: 0.72rem;
}

.history_table_pagination_label {
  margin-right: 5px;
  color: var(--blue);
  font-family: "Orbitron", sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.history_table_pagination_nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.history_table_page,
.history_table_page_ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.65);
  font-family: "Orbitron", sans-serif;
  font-size: 0.65rem;
  text-decoration: none;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

a.history_table_page:hover {
  border-color: color-mix(in srgb, var(--blue) 60%, transparent);
  background: color-mix(in srgb, var(--blue) 11%, transparent);
  color: var(--blue);
}

.history_table_page_active {
  border-color: var(--blue);
  background: color-mix(in srgb, var(--blue) 15%, transparent);
  color: var(--blue);
  box-shadow: 0 0 14px color-mix(in srgb, var(--blue) 13%, transparent);
}

.history_table_page_disabled {
  opacity: 0.28;
  cursor: not-allowed;
}

.history_table_page_ellipsis {
  min-width: 20px;
  padding: 0;
  border-color: transparent;
}

.history_table_page_select {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-family: "Orbitron", sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.history_table_page_select select,
.history_table_page_select button {
  min-height: 32px;
  border: 1px solid color-mix(in srgb, var(--blue) 30%, transparent);
  border-radius: 5px;
  background: rgba(8, 15, 25, 0.94);
  color: rgba(255, 255, 255, 0.78);
  font-family: "Inter", sans-serif;
}

.history_table_page_select select {
  padding: 0 25px 0 9px;
}

.history_table_scroll {
  position: relative;
  overflow-x: auto;
}

.history_table_grid {
  width: 100%;
  min-width: 1130px;
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Inter", sans-serif;
}

.history_table_head_cell {
  padding: 13px 14px;
  border-bottom: 1px solid color-mix(in srgb, var(--blue) 28%, transparent);
  background: rgba(7, 15, 26, 0.84);
  color: rgba(255, 255, 255, 0.55);
  font-family: "Orbitron", sans-serif;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.history_table_row {
  transition: background-color 160ms ease;
}

.history_table_row:hover {
  background: color-mix(in srgb, var(--blue) 6%, transparent);
}

.history_table_cell {
  padding: 15px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  color: rgba(255, 255, 255, 0.74);
  vertical-align: middle;
}

.history_table_id {
  color: rgba(255, 255, 255, 0.38);
  font-family: "Orbitron", sans-serif;
  font-size: 0.67rem;
}

.history_table_location {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 250px;
}

.history_table_security {
  --history_table_accent: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  padding: 5px 7px;
  border: 1px solid color-mix(in srgb, var(--history_table_accent) 42%, transparent);
  border-radius: 4px;
  background: color-mix(in srgb, var(--history_table_accent) 9%, transparent);
  color: var(--history_table_accent);
  font-family: "Inter", sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.history_table_security_green { --history_table_accent: var(--green); }
.history_table_security_orange { --history_table_accent: var(--orange); }
.history_table_security_red { --history_table_accent: var(--red); }

.history_table_location_path {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.history_table_region {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history_table_constellation {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.76rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history_table_owner_wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  max-width: 190px;
}

.history_table_owner {
  display: block;
  min-width: 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 150ms ease;
}

a.history_table_owner:hover {
  color: var(--blue);
}

.history_table_owner_ticker {
  padding: 3px 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.48);
  font-family: "Orbitron", sans-serif;
  font-size: 0.6rem;
}

.history_table_time {
  display: grid;
  gap: 2px;
  min-width: 112px;
}

.history_table_time_date {
  color: rgba(255, 255, 255, 0.88);
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.history_table_time_clock {
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.history_table_duration {
  color: var(--blue);
  font-family: "Inter", sans-serif;
  font-size: 0.67rem;
  white-space: nowrap;
}

.history_table_status {
  --history_table_accent: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 112px;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--history_table_accent) 45%, transparent);
  border-radius: 6px;
  background: color-mix(in srgb, var(--history_table_accent) 10%, transparent);
  color: var(--history_table_accent);
  font-family: "Inter", sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: inset 3px 0 0 var(--history_table_accent);
}

.history_table_status::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}

.history_table_status_blue { --history_table_accent: var(--blue); }
.history_table_status_orange { --history_table_accent: var(--orange); }
.history_table_status_green { --history_table_accent: var(--green); }
.history_table_status_red { --history_table_accent: var(--red); }

.history_table_details {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid color-mix(in srgb, var(--blue) 34%, transparent);
  border-radius: 5px;
  color: var(--blue);
  font-family: "Orbitron", sans-serif;
  font-size: 0.61rem;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.history_table_details::after {
  content: "›";
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 0;
}

.history_table_details:hover {
  border-color: var(--blue);
  background: color-mix(in srgb, var(--blue) 12%, transparent);
}

.history_table_empty {
  padding: 44px 20px;
  color: rgba(255, 255, 255, 0.5);
  font-family: "Inter", sans-serif;
  text-align: center;
}

@media (max-width: 980px) {
  .history_table_pagination {
    grid-template-columns: 1fr auto;
  }

  .history_table_pagination_nav {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 760px) {
  .history_table_intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .history_table_pagination {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }

  .history_table_pagination_info,
  .history_table_page_select {
    justify-content: center;
  }

  .history_table_pagination_nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: thin;
  }

  .history_table_page {
    flex: 0 0 auto;
    min-width: 36px;
    min-height: 36px;
  }

  .history_table_page_edge {
    display: none;
  }

  .history_table_scroll {
    overflow: visible;
  }

  .history_table_grid {
    min-width: 0;
  }

  .history_table_grid thead {
    display: none;
  }

  .history_table_grid,
  .history_table_grid tbody,
  .history_table_row,
  .history_table_cell {
    display: block;
    width: 100%;
  }

  .history_table_grid tbody {
    padding: 10px;
  }

  .history_table_row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 9px;
    background: rgba(5, 10, 18, 0.66);
  }

  .history_table_row:last-child {
    margin-bottom: 0;
  }

  .history_table_cell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-sizing: border-box;
    min-width: 0;
    padding: 11px 12px;
  }

  .history_table_cell::before {
    content: attr(data-label);
    flex: 0 0 82px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.34);
    font-family: "Orbitron", sans-serif;
    font-size: 0.54rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .history_table_cell_location,
  .history_table_cell_status,
  .history_table_cell_owner,
  .history_table_cell_details {
    grid-column: 1 / -1;
  }

  .history_table_cell_location {
    padding-top: 14px;
    padding-bottom: 14px;
    background: color-mix(in srgb, var(--blue) 4%, transparent);
  }

  .history_table_cell_owner {
    order: -8;
  }
  .history_table_cell_location {
    order: -7;
  }

  .history_table_cell_status {
    order: -6;
  }

  .history_table_cell_id {
    order: -5;
  }
  .history_table_cell_duration {
    order: -4;
  }

  .history_table_location,
  .history_table_owner_wrap,
  .history_table_owner,
  .history_table_status,
  .history_table_time,
  .history_table_duration,
  .history_table_id {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
  }

  .history_table_status {
    box-sizing: border-box;
  }


  .history_table_details {
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 430px) {
  .history_table_row {
    grid-template-columns: 1fr;
  }

  .history_table_cell {
    grid-column: 1 / -1;
  }

  .history_table_pagination_label {
    display: none;
  }
}