/* =============================================================
   ALL-IN LIGHT - TCHLDSGN
   Dark club / concert
   ============================================================= */

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

:root {
  --primary: #00e5ff;
  --primary-dark: #00b8d4;
  --primary-glow: rgba(0, 229, 255, 0.15);
  --accent: #ff0055;
  --accent-glow: rgba(255, 0, 85, 0.12);
  --success: #00e676;
  --danger: #ff1744;
  --watt: #ff9100;
  --weight: #00e5ff;
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a28;
  --bg-surface: #0d0d14;
  --text: #e8e8f0;
  --text-muted: #6a6a7a;
  --border: #1e1e2e;
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: #80f0ff; text-shadow: 0 0 12px var(--primary-glow); }

/* ===== NAV ===== */
nav {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  height: 60px;
  gap: 4px;
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 15, 0.92);
}

nav .logo {
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: auto;
  letter-spacing: -0.3px;
  text-shadow: 0 0 20px var(--primary-glow);
  white-space: nowrap;
}

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

nav .nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

nav a.nav-link {
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.25s;
  white-space: nowrap;
}

nav a.nav-link .icon-star { color: var(--primary); }

nav a.nav-link:hover {
  color: var(--text);
  background: rgba(255,255,255,0.03);
}

nav a.nav-link.active {
  color: var(--primary);
  background: rgba(0, 229, 255, 0.06);
  text-shadow: 0 0 10px var(--primary-glow);
}

/* Hamburger (caché sur desktop) */
nav .hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px 8px;
  margin-left: 8px;
  z-index: 101;
}

nav .nav-links.open {
  display: flex;
}

/* ===== RESPONSIVE MOBILE ===== */
@media (max-width: 720px) {
  nav .hamburger {
    display: block;
  }

  nav .nav-links {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 12px 20px 20px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
    z-index: 99;
  }

  nav .nav-links.open {
    display: flex;
  }

  nav .nav-links a.nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  nav .nav-links #mode-badge {
    margin-left: 0 !important;
    margin-top: 8px;
    width: 100%;
    text-align: center;
  }
}

/* ===== ICÔNE LOSANGE ===== */
.diamond {
  color: var(--primary);
  font-size: 0.9rem;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

.diamond-big {
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 1;
  display: inline-block;
  vertical-align: middle;
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 100px 24px 70px;
  background: radial-gradient(ellipse at 50% 0%, rgba(0, 229, 255, 0.04) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-card) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
  position: relative;
}

.hero h1 span { 
  color: var(--primary);
  text-shadow: 0 0 30px var(--primary-glow);
}

.hero .subtitle {
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 36px;
  position: relative;
}

.hero .stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  position: relative;
}

.hero .stat { text-align: center; }

.hero .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  text-shadow: 0 0 20px var(--primary-glow);
}

.hero .stat-label {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== PAGE HEADER ===== */
.page-header { padding: 40px 0 24px; }
.page-header h1 { font-size: 1.8rem; font-weight: 700; }
.page-header p { color: var(--text-muted); margin-top: 8px; }

/* ===== SEARCH & FILTERS ===== */
.filters-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 0 24px;
  align-items: center;
}

.filters-bar input,
.filters-bar select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.filters-bar input:focus,
.filters-bar select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 16px var(--primary-glow);
}

.filters-bar input { flex: 1; min-width: 220px; }
.filters-bar select { min-width: 140px; cursor: pointer; }
.filters-bar .filter-count { color: var(--text-muted); font-size: 0.85rem; }

.filters-bar .view-toggle {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.filters-bar .view-toggle button {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.filters-bar .view-toggle button.active {
  background: var(--primary);
  color: #08080f;
}

.filters-bar .view-toggle button:not(.active):hover {
  color: var(--text);
  background: rgba(255,255,255,0.03);
}

/* ===== VUE LISTE ===== */
.cards-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 60px;
}

.card-list-item {
  display: grid;
  grid-template-columns: 1fr 100px 90px 90px 90px 70px 50px;
  gap: 12px;
  align-items: center;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.85rem;
}

.card-list-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 229, 255, 0.2);
}

.card-list-item .list-marque {
  font-size: 0.7rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.card-list-item .list-modele {
  font-weight: 600;
}

.card-list-item .list-type {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

.card-list-item .list-spec {
  text-align: right;
  font-weight: 600;
  font-size: 0.8rem;
}

.card-list-item .list-spec .w { color: var(--watt); }
.card-list-item .list-spec .kg { color: var(--weight); }

.list-actions {
  display: flex;
  gap: 4px;
  justify-content: flex-end;
}

.list-actions button, .list-actions a {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 2px 4px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.list-actions button:hover, .list-actions a:hover { color: var(--primary); }

@media (max-width: 900px) {
  .card-list-item {
    grid-template-columns: 1fr 60px 50px;
  }
  .card-list-item .list-type,
  .card-list-item .list-spec:nth-child(4),
  .card-list-item .list-spec:nth-child(5),
  .card-list-item .list-spec:nth-child(6) {
    display: none;
  }
}

/* ===== CARDS GRID ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  padding-bottom: 60px;
}

.fixture-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.fixture-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.fixture-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0, 229, 255, 0.04);
}

.fixture-card:hover::before { opacity: 1; }

.fixture-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.fixture-card .marque {
  font-size: 0.7rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.fixture-card .type-badge {
  font-size: 0.65rem;
  background: rgba(0, 229, 255, 0.06);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  border: 1px solid rgba(0, 229, 255, 0.1);
}

.fixture-card .modele {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.fixture-card .specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.fixture-card .spec { display: flex; flex-direction: column; }

.fixture-card .spec-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 500;
}

.fixture-card .spec-value {
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.fixture-card .spec-value .icon-w { color: var(--watt); }
.fixture-card .spec-value .icon-kg { color: var(--weight); }

.fixture-card .card-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fixture-card .tags { display: flex; gap: 6px; flex-wrap: wrap; }

.fixture-card .tag {
  font-size: 0.6rem;
  background: rgba(255,255,255,0.03);
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--text-muted);
}

.fixture-card .manuel-link {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

/* ===== FICHE DÉTAILLÉE ===== */
.fiche-page { max-width: 1000px; margin: 0 auto; padding: 32px 24px 60px; }

.fiche-breadcrumb { margin-bottom: 20px; font-size: 0.85rem; color: var(--text-muted); }
.fiche-breadcrumb a { color: var(--text-muted); }
.fiche-breadcrumb a:hover { color: var(--primary); }

.fiche-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}

.fiche-header h1 { font-size: 2rem; font-weight: 800; }
.fiche-header .subtitle { color: var(--primary); font-weight: 600; font-size: 1rem; }

.fiche-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 32px; }

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

.fiche-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.fiche-section h2 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 600;
}

.fiche-section table { width: 100%; border-collapse: collapse; }

.fiche-section td {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.fiche-section td:first-child {
  color: var(--text-muted);
  font-weight: 500;
  width: 45%;
}

.fiche-section td:last-child { font-weight: 600; text-align: right; }
.fiche-section tr:last-child td { border-bottom: none; }

.fiche-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #00b8d4 100%);
  color: #08080f;
}

.btn-primary:hover {
  box-shadow: 0 0 24px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  box-shadow: 0 0 16px var(--primary-glow);
}

/* ===== CALCULATEUR PONT ===== */
.pont-page { max-width: 1000px; margin: 0 auto; padding: 32px 24px 60px; }

.pont-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

@media (max-width: 800px) { .pont-layout { grid-template-columns: 1fr; } }

.pont-list {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.pont-list h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pont-selector { margin-bottom: 20px; }

.pont-selector select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  margin-bottom: 8px;
  cursor: pointer;
}

.pont-selector select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
  outline: none;
}

.pont-selector .btn { width: 100%; justify-content: center; }

.pont-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  gap: 8px;
}

.pont-item-info { flex: 1; }
.pont-item-name { font-weight: 600; font-size: 0.85rem; }
.pont-item-specs { font-size: 0.75rem; color: var(--text-muted); }

.pont-item-qty { display: flex; align-items: center; gap: 8px; }

.pont-item-qty input {
  width: 50px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
}

.pont-item-qty button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  transition: color 0.2s;
}

.pont-item-qty button:hover { color: var(--text); }

.pont-results {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: 80px;
}

.pont-results h3 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 16px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.result-item:last-child { border-bottom: none; }
.result-label { color: var(--text-muted); font-size: 0.9rem; }
.result-value { font-size: 1.15rem; font-weight: 700; }
.result-value.big { font-size: 1.5rem; color: var(--primary); text-shadow: 0 0 16px var(--primary-glow); }
.result-warning { color: var(--danger); font-size: 0.8rem; font-weight: 500; }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 60px 24px; color: var(--text-muted); }
.empty-state .icon { font-size: 3rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--text); }

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 32px 24px;
  color: var(--text-muted);
  font-size: 0.75rem;
  border-top: 1px solid var(--border);
}

/* ===== LOADING ===== */
.loading { text-align: center; padding: 60px; color: var(--text-muted); }

.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 12px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== MODELE INFOS ===== */
.modele-infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }

.modele-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  transition: border-color 0.3s;
}

.modele-info-card:hover { border-color: rgba(0, 229, 255, 0.15); }

.modele-info-card .icon { font-size: 1.5rem; margin-bottom: 8px; }
.modele-info-card .value { font-size: 1.5rem; font-weight: 800; }
.modele-info-card .label { font-size: 0.7rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* ===== IMPORT FORM GRID ===== */
.import-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

@media (max-width: 700px) { .import-form-grid { grid-template-columns: 1fr; } }

.import-form-grid label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.import-form-grid input,
.import-form-grid select,
.import-form-grid textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.import-form-grid input:focus,
.import-form-grid select:focus,
.import-form-grid textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  outline: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .modele-infos { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .cards-grid { grid-template-columns: 1fr; }
}
/* =============================================================
   PAGE COMPARE
   ============================================================= */
.compare-page { max-width: 1100px; margin: 0 auto; padding: 32px 24px 60px; }

.compare-selectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
@media (max-width: 640px) { .compare-selectors { grid-template-columns: 1fr; } }

.compare-selector {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.compare-selector > label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}
.compare-selector select,
.compare-selector input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  box-sizing: border-box;
  margin-bottom: 6px;
}
.compare-selector select { cursor: pointer; }
.compare-selector select:focus,
.compare-selector input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  outline: none;
}
.compare-selector input::placeholder { color: var(--text-muted); }

.compare-table-wrap { overflow-x: auto; border-radius: var(--radius); }

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 520px;
}
.compare-table thead th {
  padding: 14px 16px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  border-bottom: 2px solid var(--border);
}
.compare-table thead th:first-child {
  text-align: left;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 24%;
  background: var(--bg-card);
}
.compare-table thead th:not(:first-child) {
  background: rgba(0, 229, 255, 0.04);
}
.compare-table thead th .marque-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--primary);
  display: block;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.compare-table tbody td {
  padding: 9px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}
.compare-table tbody td:first-child {
  color: var(--text-muted);
  font-weight: 500;
}
.compare-table tbody td:not(:first-child) {
  text-align: center;
  font-weight: 600;
}
.compare-table tbody tr:hover td { background: rgba(255,255,255,0.02); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .winner { color: var(--primary); }
.compare-table .winner::after { content: ' ★'; font-size: 0.7rem; }

.compare-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-muted);
}
.compare-empty .icon { font-size: 3rem; margin-bottom: 16px; }
.compare-empty h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--text); }

/* =============================================================
   PAGE IMPORT
   ============================================================= */
.import-page { max-width: 900px; margin: 0 auto; padding: 32px 24px 60px; }

.import-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px;
}
@media (max-width: 600px) { .import-tabs { flex-direction: column; } }

.import-tab {
  flex: 1;
  padding: 10px 14px;
  border: none;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
}
.import-tab:hover { background: rgba(255,255,255,0.03); color: var(--text); }
.import-tab.active {
  background: linear-gradient(135deg, var(--primary) 0%, #00b8d4 100%);
  color: #08080f;
  font-weight: 600;
}

.import-panel { display: none; }
.import-panel.active { display: block; }

.import-panel textarea {
  width: 100%;
  min-height: 280px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
  resize: vertical;
  line-height: 1.5;
  box-sizing: border-box;
}
.import-panel textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  outline: none;
}

.help-text { font-size: 0.8rem; color: var(--text-muted); margin: 12px 0; line-height: 1.6; }
.help-text code {
  background: rgba(255,255,255,0.05);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
}

.import-log {
  margin-top: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
  max-height: 300px;
  overflow-y: auto;
  font-family: 'SF Mono', 'Menlo', 'Consolas', monospace;
  font-size: 0.8rem;
}
.import-log .success { color: var(--success); }
.import-log .error { color: var(--danger); }
.import-log .info { color: var(--text-muted); }
