/* BYSTRA VAULT - High-Contrast Technical Stylesheet */
:root {
  --navy-dark: #0B1325;
  --navy-card: #152238;
  --navy-border: #233554;
  --blue-primary: #0284C7;
  --blue-light: #38BDF8;
  --green-badge: #10B981;
  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --gold-accent: #F59E0B;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: #0B1325;
  color: #F1F5F9;
  line-height: 1.5;
  font-size: 14px;
}
.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.machine-banner {
  background: #0284C7;
  color: #FFFFFF;
  padding: 8px 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 2px solid #38BDF8;
}
.machine-banner .flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
header {
  background: #0F172A;
  border-bottom: 1px solid #1E293B;
  padding: 16px 0;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-badge {
  background: #2563EB;
  color: #FFFFFF;
  font-weight: 900;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 18px;
}
.logo-text h1 {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
  color: #FFFFFF;
  letter-spacing: 0.5px;
}
.logo-text span {
  font-size: 11px;
  color: #94A3B8;
  font-weight: 600;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 16px;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #38BDF8; }
.kpi-row { display: flex; gap: 16px; margin: 25px 0; flex-wrap: wrap; }
.kpi-card {
  background: #152238;
  border: 1px solid #233554;
  border-radius: 8px;
  padding: 16px 20px;
  flex: 1;
  min-width: 180px;
}
.kpi-val { font-size: 24px; font-weight: 900; color: #38BDF8; }
.kpi-lbl { font-size: 11px; color: #94A3B8; text-transform: uppercase; margin-top: 4px; }
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.card-item {
  background: #152238;
  border: 1px solid #233554;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, border-color 0.2s;
}
.card-item:hover { transform: translateY(-4px); border-color: #38BDF8; }
.card-img-wrap {
  width: 100%;
  height: 240px;
  background: #0B1325;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-img-wrap img { width: 100%; height: 100%; object-fit: contain; }
.card-title { font-size: 15px; font-weight: 700; color: #FFFFFF; margin-bottom: 6px; }
.card-meta { font-size: 12px; color: #94A3B8; margin-bottom: 10px; font-family: monospace; }
.card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #233554;
}
.card-price { font-size: 18px; font-weight: 800; color: #34D399; }
.stock-pill {
  background: #065F46;
  color: #34D399;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #152238;
  border-radius: 8px;
  overflow: hidden;
  font-size: 13px;
}
.data-table th {
  background: #0F172A;
  color: #94A3B8;
  text-align: left;
  padding: 12px 16px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  border-bottom: 1px solid #233554;
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #233554;
  color: #E2E8F0;
}
.data-table tr:hover { background: #1E293B; }
footer {
  background: #0A0F1D;
  border-top: 1px solid #1E293B;
  padding: 40px 0 25px;
  margin-top: 60px;
  color: #94A3B8;
  font-size: 12px;
}
footer a { color: #94A3B8; text-decoration: none; margin-right: 15px; }
footer a:hover { color: #38BDF8; }
