/* WordPress theme isolation — same approach as Panorama */
html.wwlogix-wp-site,
body.wwlogix-wp-site {
  margin: 0 !important;
  padding: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  overflow-x: hidden;
  background: #060c18 !important;
}

body.wwlogix-wp-site #wpadminbar { display: none !important; }
body.wwlogix-wp-site.admin-bar { margin-top: 0 !important; }

body.wwlogix-wp-site #masthead,
body.wwlogix-wp-site .site-header,
body.wwlogix-wp-site .elementor-location-header,
body.wwlogix-wp-site header.site-header,
body.wwlogix-wp-site .wp-site-blocks > header,
body.wwlogix-wp-site footer:not(.wwl-footer),
body.wwlogix-wp-site .site-footer,
body.wwlogix-wp-site #colophon,
body.wwlogix-wp-site .elementor-location-footer {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* WWLogix public footer must stay visible (theme footer hide rule targets all footer tags) */
body.wwlogix-wp-site .wwlogix-app footer.wwl-footer {
  display: block !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
}

body.wwlogix-wp-site #page,
body.wwlogix-wp-site .site,
body.wwlogix-wp-site .site-content,
body.wwlogix-wp-site main,
body.wwlogix-wp-site .entry-content,
body.wwlogix-wp-site article {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
  background: transparent !important;
}

body.wwlogix-wp-site .wwlogix-app {
  width: 100%;
  min-height: 100vh;
  font-family: 'DM Sans', sans-serif !important;
  color: #334155;
  background: #0a1628;
}

body.wwlogix-wp-site .wwlogix-app.wwl-public {
  background: #060c18 !important;
  color: #cbd5e1;
}

body.wwlogix-wp-site .wwlogix-app h1,
body.wwlogix-wp-site .wwlogix-app h2,
body.wwlogix-wp-site .wwlogix-app h3 {
  font-family: 'Outfit', sans-serif !important;
}

/* Kill theme link/button overrides inside WWLogix pages */
body.wwlogix-wp-site .wwlogix-app a:not(.btn) {
  text-decoration: none;
}
body.wwlogix-wp-site .wwlogix-app .btn {
  text-transform: none !important;
  letter-spacing: normal !important;
  font-weight: 600 !important;
}

body.wwlogix-wp-site .wwlogix-app * {
  box-sizing: border-box;
}

/* Inline SVG icons (primary icon system) */
body.wwlogix-wp-site .wwlogix-app .wwl-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Font Awesome fallback for social / legacy markup */
body.wwlogix-wp-site .wwlogix-app .fa-solid,
body.wwlogix-wp-site .wwlogix-app .fa-regular {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  font-variant: normal !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
  display: inline-block !important;
  line-height: 1 !important;
}

body.wwlogix-wp-site .wwlogix-app .fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

body.wwlogix-wp-site .wwlogix-app a { text-decoration: none; }

/* Dark premium navbar on logistics site */
body.wwlogix-wp-site .navbar {
  background: rgba(10, 22, 40, 0.88) !important;
  backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
}

body.wwlogix-wp-site .navbar .logo { color: #fff !important; }
body.wwlogix-wp-site .navbar .nav-links a { color: rgba(255,255,255,0.75) !important; }
body.wwlogix-wp-site .navbar .nav-links a:hover { color: #f97316 !important; }
body.wwlogix-wp-site .navbar .mobile-toggle { color: #fff !important; }
body.wwlogix-wp-site .navbar .btn-outline {
  border-color: rgba(255,255,255,0.25) !important;
  color: #fff !important;
  background: transparent !important;
}

body.wwlogix-wp-site .hero-content h1,
body.wwlogix-wp-site .hero-content h1 span { color: #fff !important; }
body.wwlogix-wp-site .hero-content p { color: #cbd5e1 !important; }

.wwlogix-notice {
  padding: 40px;
  text-align: center;
  background: #fff3cd;
  border-radius: 8px;
  margin: 20px;
}

body.wwlogix-wp-site .login-page {
  min-height: 100vh;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
body.wwlogix-wp-site .login-card {
  background: #ffffff !important;
  color: #334155 !important;
  box-shadow: 0 12px 48px rgba(0,0,0,0.3) !important;
}

.login-error {
  background: #fef2f2;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  border: 1px solid #fecaca;
}
