/* =========================================================
   ZENAVIA ADMIN — Design system inspiré du site officiel
   ========================================================= */
:root {
  --zv-bg: #1b1b1d;
  --zv-bg-2: #121212;
  --zv-bg-3: #0e0e0f;
  --zv-bg-4: #010101;
  --zv-border: #2a2a30;
  --zv-border-soft: #1f1f24;
  --zv-text: #ffffff;
  --zv-text-soft: #c9d1d9;
  --zv-text-mute: #8b8e95;
  --zv-cyan: #38C1E9;
  --zv-cyan-2: #00DDFF;
  --zv-teal: #00F7CE;
  --zv-pink: #e25dcc;
  --zv-purple: #6441a5;
  --zv-blue: #7676ff;
  --zv-green: #06d6a0;
  --zv-gold: #ffd166;
  --zv-red: #da3633;
  --zv-warn: #ffa500;

  --zv-gradient-1: linear-gradient(120deg, #00F7CE 0%, #00DDFF 50%, #7676ff 100%);
  --zv-gradient-2: linear-gradient(120deg, #38C1E9 0%, #e25dcc 100%);
  --zv-gradient-3: linear-gradient(120deg, #6441a5 0%, #38C1E9 100%);

  --zv-shadow-glow: 0 0 50px rgba(56, 193, 233, 0.15);
  --zv-shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }

html, body {
  background: var(--zv-bg);
  color: var(--zv-text);
  font-family: 'Poppins', system-ui, sans-serif;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Anton', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--zv-text);
  margin: 0 0 0.5em 0;
}

p, span, li, td, th, label, small {
  color: var(--zv-text);
}

a { color: var(--zv-cyan); text-decoration: none; }
a:hover { color: var(--zv-cyan-2); }

code, .mono { font-family: 'JetBrains Mono', 'Courier New', monospace; }

/* ======================== ANIMATED BACKGROUND ======================== */
.zv-bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(56, 193, 233, 0.08), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(226, 93, 204, 0.08), transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(100, 65, 165, 0.05), transparent 60%),
    var(--zv-bg);
}
.zv-bg-grid::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(56, 193, 233, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 193, 233, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.zv-bg-orb {
  position: fixed; border-radius: 50%; filter: blur(80px); z-index: -1; pointer-events: none;
  animation: zv-float 15s ease-in-out infinite;
}
.zv-bg-orb-1 { width: 400px; height: 400px; background: var(--zv-cyan); opacity: 0.15; top: -100px; left: -100px; }
.zv-bg-orb-2 { width: 500px; height: 500px; background: var(--zv-pink); opacity: 0.12; bottom: -150px; right: -150px; animation-delay: -5s; }
.zv-bg-orb-3 { width: 300px; height: 300px; background: var(--zv-purple); opacity: 0.10; top: 50%; left: 50%; animation-delay: -10s; }

@keyframes zv-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(80px, -50px) scale(1.1); }
  66%      { transform: translate(-60px, 70px) scale(0.9); }
}

/* ======================== NAVBAR ======================== */
.zv-navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(14, 14, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--zv-border-soft);
  padding: 0.9rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.zv-brand {
  display: flex; align-items: center; gap: 0.7rem;
  font-family: 'Anton', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 2.5px;
  color: var(--zv-text) !important;
}
.zv-brand .zv-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--zv-gradient-1);
  background-size: 200% 200%;
  animation: zv-gradient-move 6s ease infinite;
  box-shadow: 0 0 25px rgba(56, 193, 233, 0.4);
  font-size: 1.1rem;
}
.zv-brand .zv-brand-mute { color: var(--zv-text-mute); font-weight: 200; }
.zv-nav-right { display: flex; align-items: center; gap: 0.8rem; }

@keyframes zv-gradient-move {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* ======================== LAYOUT (with sidebar) ======================== */
.zv-shell { display: flex; padding-top: 70px; min-height: 100vh; }
.zv-sidebar {
  width: 240px;
  background: rgba(18, 18, 18, 0.7);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--zv-border-soft);
  padding: 1.5rem 0.8rem;
  position: sticky; top: 70px; height: calc(100vh - 70px); overflow-y: auto;
}
.zv-sidebar-section {
  font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--zv-text-mute); padding: 0 0.8rem; margin: 1rem 0 0.5rem;
}
.zv-nav-item {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.7rem 0.9rem; margin-bottom: 0.2rem;
  border-radius: 10px;
  color: var(--zv-text-soft) !important;
  transition: all 0.2s ease;
  font-weight: 400; font-size: 0.95rem;
  border-left: 2px solid transparent;
}
.zv-nav-item i { font-size: 1.1rem; width: 22px; text-align: center; }
.zv-nav-item:hover {
  background: rgba(56, 193, 233, 0.08);
  color: var(--zv-cyan) !important;
  transform: translateX(2px);
}
.zv-nav-item.active {
  background: linear-gradient(90deg, rgba(56, 193, 233, 0.15), transparent);
  color: var(--zv-cyan) !important;
  border-left-color: var(--zv-cyan);
  box-shadow: inset 0 0 20px rgba(56, 193, 233, 0.08);
}

.zv-main { flex: 1; padding: 2rem 2.5rem; min-width: 0; }

/* ======================== HERO / LANDING ======================== */
.zv-hero {
  position: relative;
  min-height: calc(100vh - 70px);
  padding: 4rem 2rem;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.zv-hero-content { max-width: 1100px; width: 100%; text-align: center; z-index: 2; }
.zv-hero h1 {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 1;
  margin-bottom: 1.2rem;
}
.zv-hero h1 .zv-grad {
  background: var(--zv-gradient-1);
  background-size: 200% 200%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: zv-gradient-move 6s ease infinite;
}
.zv-hero p.lead {
  font-size: 1.2rem;
  color: var(--zv-text-soft);
  margin-bottom: 2rem;
  max-width: 700px; margin-left: auto; margin-right: auto;
}
.zv-hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ======================== BUTTONS ======================== */
.zv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer; text-decoration: none;
  transition: all 0.25s ease;
  position: relative; overflow: hidden;
}
.zv-btn-primary {
  background: var(--zv-gradient-1);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 4px 20px rgba(56, 193, 233, 0.35);
  animation: zv-gradient-move 4s ease infinite;
}
.zv-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(56, 193, 233, 0.55);
  color: #fff;
}
.zv-btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--zv-text);
  border: 1px solid var(--zv-border);
}
.zv-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--zv-cyan);
  color: var(--zv-cyan);
  transform: translateY(-2px);
}
.zv-btn-danger {
  background: linear-gradient(120deg, #ca0d0d, #e25dcc);
  color: #fff;
}
.zv-btn-danger:hover { transform: translateY(-2px); color: #fff; }
.zv-btn-sm { padding: 0.4rem 0.9rem; font-size: 0.85rem; border-radius: 8px; }
.zv-btn-block { width: 100%; }

/* ======================== CARDS ======================== */
.zv-card {
  background: var(--zv-bg-2);
  border: 1px solid var(--zv-border-soft);
  border-radius: 14px;
  padding: 1.5rem;
  position: relative; overflow: hidden;
  transition: all 0.3s ease;
}
.zv-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--zv-gradient-1);
  opacity: 0; transition: opacity 0.3s ease;
}
.zv-card:hover {
  border-color: rgba(56, 193, 233, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--zv-shadow-glow);
}
.zv-card:hover::before { opacity: 1; }
.zv-card h3, .zv-card h4 { font-family: 'Anton', sans-serif; font-size: 1.1rem; margin-bottom: 1rem; }
.zv-card-header {
  margin: -1.5rem -1.5rem 1rem; padding: 1rem 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--zv-border-soft);
  font-family: 'Anton', sans-serif; letter-spacing: 1.5px;
  font-size: 0.95rem; text-transform: uppercase; color: var(--zv-text-soft);
}

/* Stat tile */
.zv-stat {
  background: linear-gradient(135deg, var(--zv-bg-2), rgba(56, 193, 233, 0.03));
  border: 1px solid var(--zv-border-soft);
  border-radius: 14px; padding: 1.3rem;
  position: relative; overflow: hidden;
  transition: all 0.3s ease;
}
.zv-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(56, 193, 233, 0.4);
  box-shadow: var(--zv-shadow-glow);
}
.zv-stat-label {
  font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--zv-text-mute); margin-bottom: 0.5rem;
}
.zv-stat-value {
  font-family: 'Anton', sans-serif; font-size: 2.2rem; line-height: 1;
  background: var(--zv-gradient-1); background-clip: text;
  -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.zv-stat i { position: absolute; right: 1rem; top: 1rem; font-size: 1.8rem; color: rgba(56, 193, 233, 0.25); }

/* ======================== FORMS ======================== */
.zv-input, .zv-select, .zv-textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--zv-border);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  color: var(--zv-text);
  font-family: 'Poppins', sans-serif; font-size: 0.95rem;
  transition: all 0.2s ease;
}
.zv-input:focus, .zv-select:focus, .zv-textarea:focus {
  outline: none;
  border-color: var(--zv-cyan);
  background: rgba(56, 193, 233, 0.05);
  box-shadow: 0 0 0 3px rgba(56, 193, 233, 0.15);
}
.zv-input::placeholder { color: var(--zv-text-mute); }

/* Dropdown options dark theme (Firefox + Chromium récents) */
.zv-input option, .zv-select option, select.zv-input option {
  background-color: var(--zv-bg-2);
  color: var(--zv-text);
}
.zv-input option:checked, .zv-select option:checked, select.zv-input option:checked {
  background: linear-gradient(0deg, var(--zv-cyan) 0%, var(--zv-cyan) 100%);
  color: var(--zv-bg);
}
.zv-input option:disabled, .zv-select option:disabled {
  color: var(--zv-text-mute);
}
.zv-label {
  display: block;
  font-size: 0.75rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--zv-text-mute); margin-bottom: 0.4rem;
}
.zv-form-group { margin-bottom: 1.1rem; }
.zv-check {
  display: inline-flex; align-items: center; gap: 0.5rem;
  cursor: pointer; user-select: none;
}
.zv-check input { accent-color: var(--zv-cyan); width: 16px; height: 16px; }

/* ======================== TABLES ======================== */
.zv-table {
  width: 100%; border-collapse: collapse; font-size: 0.92rem;
}
.zv-table thead th {
  font-family: 'Anton', sans-serif; letter-spacing: 1.5px; font-size: 0.78rem;
  color: var(--zv-text-mute); text-transform: uppercase; font-weight: 400;
  padding: 0.7rem 0.9rem; text-align: left;
  border-bottom: 1px solid var(--zv-border);
}
.zv-table tbody td {
  padding: 0.85rem 0.9rem;
  border-bottom: 1px solid var(--zv-border-soft);
  color: var(--zv-text-soft);
}
.zv-table tbody tr { transition: background 0.15s ease; }
.zv-table tbody tr:hover { background: rgba(56, 193, 233, 0.04); }

/* ======================== BADGES ======================== */
.zv-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.7rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.5px;
}
.zv-badge-online   { background: rgba(6, 214, 160, 0.15); color: var(--zv-green); border: 1px solid rgba(6, 214, 160, 0.3); }
.zv-badge-online::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--zv-green); animation: zv-pulse 1.5s infinite; }
.zv-badge-offline  { background: rgba(139, 142, 149, 0.15); color: var(--zv-text-mute); border: 1px solid rgba(139, 142, 149, 0.3); }
.zv-badge-crashed  { background: rgba(218, 54, 51, 0.15); color: var(--zv-red);   border: 1px solid rgba(218, 54, 51, 0.3); }
.zv-badge-warn     { background: rgba(255, 165, 0, 0.15);  color: var(--zv-warn);  border: 1px solid rgba(255, 165, 0, 0.3); }
.zv-badge-info     { background: rgba(56, 193, 233, 0.15); color: var(--zv-cyan);  border: 1px solid rgba(56, 193, 233, 0.3); }
.zv-badge-pink     { background: rgba(226, 93, 204, 0.15); color: var(--zv-pink);  border: 1px solid rgba(226, 93, 204, 0.3); }

@keyframes zv-pulse {
  0%, 100% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  50%      { box-shadow: 0 0 0 6px transparent; opacity: 0.6; }
}

/* ======================== ALERTS ======================== */
.zv-alert {
  padding: 0.9rem 1.1rem; border-radius: 10px; margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.6rem;
  border: 1px solid;
  animation: zv-slide-in 0.4s ease;
}
.zv-alert-success { background: rgba(6, 214, 160, 0.1);  border-color: rgba(6, 214, 160, 0.3);  color: var(--zv-green); }
.zv-alert-error   { background: rgba(218, 54, 51, 0.1);  border-color: rgba(218, 54, 51, 0.3);  color: var(--zv-red); }
.zv-alert-info    { background: rgba(56, 193, 233, 0.1); border-color: rgba(56, 193, 233, 0.3); color: var(--zv-cyan); }

@keyframes zv-slide-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ======================== FEATURE GRID (landing) ======================== */
.zv-features {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin: 4rem 0;
}
.zv-feature {
  padding: 2rem;
  background: var(--zv-bg-2);
  border: 1px solid var(--zv-border-soft);
  border-radius: 18px;
  transition: all 0.3s ease;
  position: relative; overflow: hidden;
}
.zv-feature::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(56, 193, 233, 0.08), transparent 50%);
  opacity: 0; transition: opacity 0.3s ease;
}
.zv-feature:hover { transform: translateY(-5px); border-color: rgba(56, 193, 233, 0.4); }
.zv-feature:hover::after { opacity: 1; }
.zv-feature-icon {
  width: 55px; height: 55px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--zv-gradient-1); background-size: 200% 200%;
  font-size: 1.6rem; color: #fff; margin-bottom: 1rem;
  box-shadow: 0 5px 20px rgba(56, 193, 233, 0.3);
  animation: zv-gradient-move 5s ease infinite;
}
.zv-feature h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.zv-feature p { color: var(--zv-text-soft); margin: 0; line-height: 1.6; }

/* ======================== SWIPER HERO SLIDER ======================== */
.zv-swiper { width: 100%; max-width: 1100px; margin: 0 auto; }
.zv-swiper .swiper-slide {
  text-align: center; padding: 3rem 1rem;
}
.zv-swiper .swiper-pagination-bullet {
  background: var(--zv-text-mute); opacity: 0.5;
}
.zv-swiper .swiper-pagination-bullet-active {
  background: var(--zv-cyan); opacity: 1; width: 30px; border-radius: 5px;
  transition: width 0.3s ease;
}

/* ======================== PRICING ======================== */
.zv-pricing {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 900px; margin: 3rem auto;
}
.zv-price-card {
  background: var(--zv-bg-2);
  border: 1px solid var(--zv-border-soft);
  border-radius: 18px; padding: 2rem;
  text-align: center;
  position: relative; transition: all 0.3s ease;
}
.zv-price-card.featured {
  border-color: var(--zv-cyan);
  background: linear-gradient(180deg, rgba(56, 193, 233, 0.08), var(--zv-bg-2));
  transform: scale(1.04);
  box-shadow: 0 10px 50px rgba(56, 193, 233, 0.2);
}
.zv-price-card.featured::before {
  content: 'POPULAIRE'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--zv-gradient-1); background-size: 200% 200%;
  padding: 0.3rem 1rem; border-radius: 20px;
  font-family: 'Anton', sans-serif; font-size: 0.7rem; letter-spacing: 2px;
  color: #fff; animation: zv-gradient-move 4s ease infinite;
}
.zv-price-card:hover { transform: translateY(-5px); }
.zv-price-card.featured:hover { transform: scale(1.04) translateY(-5px); }
.zv-price-amount {
  font-family: 'Anton', sans-serif; font-size: 3.5rem; line-height: 1;
  margin: 1rem 0 0.5rem;
}
.zv-price-amount small { font-size: 1rem; color: var(--zv-text-mute); font-family: 'Poppins', sans-serif; font-weight: 300; }
.zv-price-card ul { list-style: none; padding: 0; margin: 1.5rem 0; text-align: left; }
.zv-price-card ul li { padding: 0.4rem 0; color: var(--zv-text-soft); display: flex; align-items: center; gap: 0.5rem; }
.zv-price-card ul li::before { content: '✓'; color: var(--zv-green); font-weight: bold; }

/* ======================== HELPERS ======================== */
.zv-text-mute { color: var(--zv-text-mute) !important; }
.zv-text-soft { color: var(--zv-text-soft) !important; }
.zv-text-grad {
  background: var(--zv-gradient-1); background-size: 200% 200%;
  background-clip: text; -webkit-background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: zv-gradient-move 5s ease infinite;
}
.zv-flex { display: flex; }
.zv-grid { display: grid; }
.zv-gap-1 { gap: 0.5rem; } .zv-gap-2 { gap: 1rem; } .zv-gap-3 { gap: 1.5rem; }
.zv-mb-1 { margin-bottom: 0.5rem; } .zv-mb-2 { margin-bottom: 1rem; } .zv-mb-3 { margin-bottom: 1.5rem; } .zv-mb-4 { margin-bottom: 2rem; }
.zv-mt-1 { margin-top: 0.5rem; } .zv-mt-2 { margin-top: 1rem; } .zv-mt-3 { margin-top: 1.5rem; } .zv-mt-4 { margin-top: 2rem; }
.zv-items-center { align-items: center; }
.zv-justify-between { justify-content: space-between; }
.zv-text-center { text-align: center; }
.zv-w-full { width: 100%; }

/* ======================== RESPONSIVE ======================== */
@media (max-width: 900px) {
  .zv-shell { flex-direction: column; }
  .zv-sidebar {
    width: 100%; height: auto; position: static;
    border-right: none; border-bottom: 1px solid var(--zv-border-soft);
    display: flex; flex-wrap: wrap; gap: 0.3rem; padding: 0.8rem;
  }
  .zv-sidebar-section { display: none; }
  .zv-nav-item { padding: 0.5rem 0.8rem; font-size: 0.85rem; border-left: none; }
  .zv-nav-item.active { border-left: none; border-bottom: 2px solid var(--zv-cyan); }
  .zv-main { padding: 1.2rem; }
  .zv-navbar { padding: 0.7rem 1rem; }
}

/* ======================== UTIL: COL GRID (replace Bootstrap) ======================== */
.zv-row { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.zv-col   { flex: 1; min-width: 250px; }
.zv-col-4 { flex: 0 0 calc(33.333% - 0.8rem); min-width: 240px; }
.zv-col-6 { flex: 0 0 calc(50% - 0.6rem); min-width: 280px; }
.zv-col-8 { flex: 0 0 calc(66.666% - 0.4rem); min-width: 300px; }
@media (max-width: 800px) {
  .zv-col-4, .zv-col-6, .zv-col-8 { flex: 1 0 100%; }
}

/* ======================== BOOTSTRAP FALLBACKS (pages pas refaites) ======================== */
.card { background: var(--zv-bg-2); border: 1px solid var(--zv-border-soft); border-radius: 14px; color: var(--zv-text); margin-bottom: 1rem; }
.card-header, .card-body, .card-footer { background: transparent; color: var(--zv-text); padding: 1rem 1.2rem; }
.card-header { border-bottom: 1px solid var(--zv-border-soft); font-family: 'Anton', sans-serif; letter-spacing: 1.5px; text-transform: uppercase; font-size: 0.95rem; }
.card-title { color: var(--zv-text); font-family: 'Anton', sans-serif; }

.btn { padding: 0.5rem 1rem; border-radius: 10px; font-weight: 500; transition: all 0.2s ease; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.btn-sm { padding: 0.35rem 0.8rem; font-size: 0.85rem; }
.btn-primary { background: var(--zv-gradient-1) !important; border: none !important; color: #fff !important; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 5px 20px rgba(56, 193, 233, 0.3); }
.btn-danger  { background: linear-gradient(120deg, #ca0d0d, #e25dcc) !important; border: none !important; color: #fff !important; }
.btn-outline-primary, .btn-outline-light, .btn-outline-secondary { background: rgba(255, 255, 255, 0.05) !important; border: 1px solid var(--zv-border) !important; color: var(--zv-text) !important; }
.btn-outline-primary:hover, .btn-outline-light:hover { border-color: var(--zv-cyan) !important; color: var(--zv-cyan) !important; }
.btn-outline-success { background: rgba(6, 214, 160, 0.1) !important; border: 1px solid rgba(6, 214, 160, 0.3) !important; color: var(--zv-green) !important; }
.btn-outline-danger { background: rgba(218, 54, 51, 0.1) !important; border: 1px solid rgba(218, 54, 51, 0.3) !important; color: var(--zv-red) !important; }
.btn-outline-warning { background: rgba(255, 165, 0, 0.1) !important; border: 1px solid rgba(255, 165, 0, 0.3) !important; color: var(--zv-warn) !important; }

.form-control, .form-select { background: rgba(0,0,0,0.4) !important; border: 1px solid var(--zv-border) !important; color: var(--zv-text) !important; border-radius: 10px; padding: 0.6rem 0.9rem; }
.form-control:focus, .form-select:focus { border-color: var(--zv-cyan) !important; box-shadow: 0 0 0 3px rgba(56, 193, 233, 0.15) !important; }
.form-control::placeholder { color: var(--zv-text-mute); }
.form-control-sm, .form-select-sm { padding: 0.35rem 0.7rem; font-size: 0.85rem; }
.form-label { color: var(--zv-text-soft); font-size: 0.85rem; letter-spacing: 0.5px; }
.form-check-input { background-color: rgba(0,0,0,0.4); border-color: var(--zv-border); }
.form-check-input:checked { background-color: var(--zv-cyan); border-color: var(--zv-cyan); }
.form-check-label { color: var(--zv-text); }

.table { color: var(--zv-text); }
.table thead th { color: var(--zv-text-mute); border-color: var(--zv-border); font-family: 'Anton', sans-serif; font-weight: 400; letter-spacing: 1px; font-size: 0.8rem; text-transform: uppercase; }
.table td, .table th { border-color: var(--zv-border-soft); padding: 0.7rem 0.8rem; color: var(--zv-text-soft); }
.table-striped > tbody > tr:nth-of-type(odd) > * { background-color: rgba(56, 193, 233, 0.03); color: var(--zv-text-soft); }
.table-hover > tbody > tr:hover > * { background: rgba(56, 193, 233, 0.06); }

.badge { padding: 0.3rem 0.6rem; border-radius: 6px; font-weight: 500; }
.bg-primary   { background-color: var(--zv-cyan) !important; }
.bg-success   { background-color: var(--zv-green) !important; }
.bg-danger    { background-color: var(--zv-red) !important; }
.bg-warning   { background-color: var(--zv-warn) !important; }
.bg-secondary { background-color: var(--zv-text-mute) !important; }
.bg-info      { background-color: var(--zv-cyan) !important; }
.bg-transparent { background: transparent !important; }
.badge-online  { background: rgba(6, 214, 160, 0.2); color: var(--zv-green); }
.badge-offline { background: rgba(139, 142, 149, 0.2); color: var(--zv-text-mute); }
.badge-crashed { background: rgba(218, 54, 51, 0.2); color: var(--zv-red); }

.text-muted, .text-secondary { color: var(--zv-text-mute) !important; }
.text-light { color: var(--zv-text) !important; }
.text-success { color: var(--zv-green) !important; }
.text-danger  { color: var(--zv-red) !important; }
.text-warning { color: var(--zv-warn) !important; }
.text-info    { color: var(--zv-cyan) !important; }
.text-white   { color: var(--zv-text) !important; }

.list-group-item { background: transparent; border-color: var(--zv-border-soft); color: var(--zv-text); }
.alert { border-radius: 10px; border: 1px solid; }
.alert-success { background: rgba(6, 214, 160, 0.1); border-color: rgba(6, 214, 160, 0.3); color: var(--zv-green); }
.alert-danger  { background: rgba(218, 54, 51, 0.1); border-color: rgba(218, 54, 51, 0.3); color: var(--zv-red); }
.alert-info    { background: rgba(56, 193, 233, 0.1); border-color: rgba(56, 193, 233, 0.3); color: var(--zv-cyan); }
.alert-warning { background: rgba(255, 165, 0, 0.1); border-color: rgba(255, 165, 0, 0.3); color: var(--zv-warn); }

.nav-pills .nav-link { color: var(--zv-text-soft); border-radius: 8px; }
.nav-pills .nav-link.active { background: var(--zv-cyan) !important; color: #fff !important; }
.nav-pills .nav-link:hover { background: rgba(56, 193, 233, 0.1); color: var(--zv-cyan); }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--zv-bg-2); }
::-webkit-scrollbar-thumb { background: var(--zv-border); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--zv-cyan); }
