:root {
  --bg: #0b1a2b;
  --surface: #112d4e;
  --surface-hover: #163b66;
  --border: #1e3a5f;

  --blue: #4da6ff;
  --red: #ff4d4d;

  --text: #e6f0ff;
  --muted: #a8c1e8;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 10;

  background: rgba(17,45,78,0.9);
  backdrop-filter: blur(6px);

  padding: 14px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 12px;
  font-weight: 500;
  transition: color 0.2s, transform 0.2s;
}

nav a:hover {
  color: var(--red);
  transform: translateY(-1px);
}

/* LAYOUT */
main {
  max-width: 850px;
  margin: auto;
  padding: 24px;
}

/* NASLOVI */
h1 {
  color: var(--blue);
  margin-bottom: 12px;
  font-size: 2rem;
}

h2 {
  color: var(--red);
  margin-bottom: 10px;
  font-size: 1.4rem;
}

/* SEKCIJE */
.section {
  margin-bottom: 40px;
  padding: 10px 0;
  display: none;
}

/* KARTICE */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.card {
  background: var(--surface);
  padding: 16px;
  border-radius: 10px;
  flex: 1 1 220px;

  border: 1px solid var(--border);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);

  transition: transform 0.25s, background 0.25s, border 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  background: var(--surface-hover);
  border-color: var(--blue);
}

/* TABLICA */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  border-radius: 8px;
  overflow: hidden;
}

th {
  background: var(--blue);
  color: #000;
  padding: 12px;
  text-align: left;
  font-weight: 600;
}

td {
  border-bottom: 1px solid var(--border);
  padding: 10px;
  color: var(--muted);
}

tr {
  transition: background 0.2s;
}

tr:hover {
  background: var(--surface-hover);
}

/* STATUS */
.yes {
  color: #4dff88;
  font-weight: 500;
}

.no {
  color: var(--red);
  font-weight: 500;
}

.warn {
  color: #ffcc66;
  font-weight: 500;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: var(--surface);
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin-top: 40px;
}