/* =====================================================================
 * BOTRIX HIGH-TECH ENHANCEMENTS — LOGO THEME
 * Aligned with Electric Cyan (#00D2FF) & Royal Cobalt (#0066FF)
 * Zero muddy gold/green/brown overrides. Pure deep tech aesthetics.
 * ===================================================================== */

:root {
  --emods-cyan: #00D2FF;
  --emods-blue: #0066FF;
  --emods-text: #FFFFFF;
  --emods-text-muted: #94A3B8;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  background-color: transparent !important;
  color: var(--text-primary, #FFFFFF) !important;
  font-family: var(--font-body);
  position: relative;
}

/* =========================================================================
 * FLOATING NAV ISLAND -- Glassmorphic Midnight Bar
 * ========================================================================= */
.btx-nav {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 1220px;
}

.btx-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 24px;
  background: rgba(6, 11, 26, 0.82) !important;
  backdrop-filter: blur(20px) saturate(190%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(190%) !important;
  border: 1px solid rgba(56, 189, 248, 0.18) !important;
  border-radius: 12px;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 102, 255, 0.15);
}

.btx-nav-logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: #FFFFFF !important;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
}

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

.btx-nav-item > a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #CBD5E1 !important;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  display: block;
}

.btx-nav-item > a:hover, .btx-nav-item:hover > a {
  color: #FFFFFF !important;
  background: rgba(0, 102, 255, 0.15) !important;
}

.btx-nav-item.active > a {
  color: #00D2FF !important;
  background: rgba(0, 210, 255, 0.1) !important;
  border: 1px solid rgba(0, 210, 255, 0.25);
}

.btx-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Trace Dividers */
.trace-divider {
  height: 1px;
  background: rgba(56, 189, 248, 0.12) !important;
  width: 100%;
}

/* Search Bar (Store & Component Filter) */
.emods-search-bar input {
  width: 100%;
  padding: 10px 40px 10px 16px;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  border-radius: 8px;
  background: rgba(6, 11, 26, 0.8) !important;
  color: #FFFFFF !important;
  font-size: 14px;
  transition: all 0.25s ease;
}

.emods-search-bar input:focus {
  border-color: #00D2FF !important;
  box-shadow: 0 0 0 3px rgba(0, 210, 255, 0.15) !important;
  outline: none;
}

/* Category & Product Cards */
.product-tile, .product-card {
  background: linear-gradient(180deg, rgba(13, 21, 44, 0.75) 0%, rgba(8, 14, 30, 0.85) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.14) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-tile:hover, .product-card:hover {
  border-color: rgba(0, 210, 255, 0.45) !important;
  box-shadow: 0 16px 36px -10px rgba(0, 102, 255, 0.3), 0 0 20px rgba(0, 210, 255, 0.12) !important;
  transform: translateY(-3px);
}

/* Stat Cards in Admin & Hub */
.stat-card {
  background: linear-gradient(180deg, rgba(13, 21, 44, 0.8) 0%, rgba(8, 14, 30, 0.9) 100%) !important;
  border: 1px solid rgba(56, 189, 248, 0.15) !important;
  border-radius: 10px !important;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

.stat-val {
  font-size: 2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #00D2FF !important;
}

.stat-label {
  font-size: 0.82rem;
  color: #94A3B8 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Site Footer */
.site-footer {
  background: rgba(4, 7, 18, 0.9) !important;
  border-top: 1px solid rgba(56, 189, 248, 0.12) !important;
  color: #94A3B8 !important;
  padding: 60px 0 32px 0;
  margin-top: 80px;
}

.footer-col h4,
.footer-col h3 {
  color: #FFFFFF !important;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px 0;
}

.footer-col a {
  color: #94A3B8 !important;
  display: block;
  margin-bottom: 10px;
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #00D2FF !important;
}

.footer-blurb {
  color: #94A3B8 !important;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Mobile Nav Toggle */
@media (max-width: 900px) {
  .btx-nav { width: calc(100% - 24px); }
  .btx-nav-inner { padding: 10px 16px; }
  .btx-nav-links { display: none; }
  .btx-nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: rgba(6, 11, 26, 0.96);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  }
}
