:root,
:root[data-theme='light'],
:root[data-theme='dark'],
body.dark-theme {
  /* Core Brand Colors from DESIGN.md */
  --primary: #00f076 !important;
  --primary-hover: #00e470 !important;
  --primary-soft: rgba(0, 240, 118, 0.08) !important;
  --ds-accent: #00f076 !important;
  --ds-accent-hover: #00e470 !important;
  --ds-accent-soft: rgba(0, 240, 118, 0.08) !important;

  /* Surfaces & Backgrounds from DESIGN.md */
  --bg-primary: #0b0f10 !important;
  --bg-secondary: #101415 !important;
  --bg-card: rgba(255, 255, 255, 0.03) !important;
  --border-color: rgba(255, 255, 255, 0.08) !important;

  /* Text colors from DESIGN.md */
  --text-primary: #ffffff !important;
  --text-secondary: #bacbb8 !important;
  --text-muted: #849584 !important;

  /* Navigation & UI variables */
  --nav-bg: #0b0f10 !important;
  --nav-border: rgba(255, 255, 255, 0.05) !important;
  --nav-active: #00f076 !important;
  --nav-inactive: #bacbb8 !important;

  /* Shadows */
  --shadow-button: 0 0 15px rgba(0, 240, 118, 0.2) !important;

  /* --- Mappings to standard --gd-* tokens to override design-system.css --- */
  --gd-brand-primary: #00f076 !important;
  --gd-brand-primary-hover: #00e470 !important;
  --gd-brand-primary-pressed: #00ba5b !important;
  --gd-brand-primary-soft: rgba(0, 240, 118, 0.08) !important;
  --gd-brand-accent: #00f076 !important;
  --gd-brand-accent-hover: #00e470 !important;
  --gd-brand-accent-soft: rgba(0, 240, 118, 0.08) !important;
  --gd-brand-gradient: linear-gradient(135deg, #00f076 0%, #00ba5b 100%) !important;
  --gd-brand-gradient-warm: linear-gradient(135deg, #fd7200 0%, #ffb68f 100%) !important;

  --gd-bg: #090d16 !important;
  --gd-surface: rgba(255, 255, 255, 0.03) !important;
  --gd-surface-2: rgba(255, 255, 255, 0.05) !important;
  --gd-surface-overlay: rgba(255, 255, 255, 0.06) !important;
  --gd-border: rgba(255, 255, 255, 0.08) !important;
  --gd-border-strong: rgba(255, 255, 255, 0.15) !important;
  --gd-border-subtle: rgba(255, 255, 255, 0.05) !important;
  --gd-divider: rgba(255, 255, 255, 0.05) !important;

  --gd-text: #e0e3e5 !important;
  --gd-text-muted: #bacbb8 !important;
  --gd-text-subtle: #849584 !important;
  --gd-text-inverse: #2d3133 !important;
  --gd-text-on-brand: #000000 !important;
  --gd-text-on-accent: #000000 !important;

  --gd-success: #00f076 !important;
  --gd-success-bg: rgba(0, 240, 118, 0.08) !important;
  --gd-success-border: rgba(0, 240, 118, 0.15) !important;
  --gd-warning: #ffb68f !important;
  --gd-warning-bg: rgba(253, 114, 0, 0.08) !important;
  --gd-warning-border: rgba(253, 114, 0, 0.15) !important;
  --gd-danger: #ffb4ab !important;
  --gd-danger-bg: rgba(147, 0, 10, 0.08) !important;
  --gd-danger-border: rgba(147, 0, 10, 0.15) !important;

  --gd-dashboard-hero-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
  --gd-dashboard-hero-border: rgba(255, 255, 255, 0.08) !important;
  --gd-dashboard-hero-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  --gd-dashboard-hero-glow: radial-gradient(circle at 14% 20%, rgba(0, 240, 118, 0.1), transparent 35%), radial-gradient(circle at 88% 12%, rgba(253, 114, 0, 0.05), transparent 35%) !important;
  --gd-dashboard-ring-track: rgba(255, 255, 255, 0.05) !important;
  --gd-dashboard-ring-fill-start: #00f076 !important;
  --gd-dashboard-ring-fill-end: #00ba5b !important;
  --gd-dashboard-ring-center-bg: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
  --gd-dashboard-ring-center-border: rgba(255, 255, 255, 0.08) !important;

  /* --- Design System Override (design-system.css) --- */
  --ds-bg: #090d16 !important;
  --ds-bg-2: #0b0f10 !important;
  --ds-card-top: rgba(255, 255, 255, 0.03) !important;
  --ds-card-bottom: rgba(255, 255, 255, 0.03) !important;
  --ds-card-border: rgba(255, 255, 255, 0.08) !important;
  --ds-card-border-strong: rgba(255, 255, 255, 0.15) !important;
  --ds-accent: #00f076 !important;
  --ds-accent-2: #00e470 !important;
  --ds-accent-deep: #00ba5b !important;
  --ds-accent-grad: linear-gradient(135deg, #00f076 0%, #00ba5b 100%) !important;
  --ds-accent-soft: rgba(0, 240, 118, 0.08) !important;
  --ds-accent-soft-border: rgba(0, 240, 118, 0.15) !important;
  --ds-positive: #00f076 !important;
  --ds-gold: #fd7200 !important;
  --ds-text: #ffffff !important;
  --ds-text-muted: #bacbb8 !important;
  --ds-kicker: #00f076 !important;
}

/* Force body styling */
body {
  background: #090d16 !important;
  color: #e0e3e5 !important;
  font-family: 'Inter', sans-serif !important;
  margin: 0;
  padding: 0;
}

#app {
  max-width: 480px !important;
  margin: 0 auto !important;
  min-height: 100vh !important;
  position: relative !important;
  background-color: #0b0f10 !important;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.03) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.03) !important;
  background-image: none !important;
}

/* Remove blue/violet gradient top glows on screen content */
.screen > .main-content::before {
  background: none !important;
}

/* Hide menu header info cards and goals as requested by user */
#screen-menu .menu-result-head,
#screen-menu .menu-target-summary,
#screen-my-menu .menu-result-head,
#screen-my-menu .menu-target-summary,
#screen-menu .section-row,
#screen-my-menu .section-row {
  display: none !important;
}


/* Glass Card styling from preview */
.glass-card {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 18px !important;
}

/* Section Tile styling from preview */
.section-tile {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 10px !important;
  min-height: 112px !important;
  padding: 14px 15px !important;
  border-radius: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease !important;
}

.section-tile:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(0, 240, 118, 0.3) !important;
  box-shadow: 0 10px 25px rgba(0, 240, 118, 0.08) !important;
}

.section-tile:active {
  transform: translateY(0) !important;
}

.neon-glow-green {
  box-shadow: 0 0 15px rgba(0, 240, 118, 0.2) !important;
}

.progress-gradient {
  background: linear-gradient(90deg, #00f076, #00ba5b) !important;
}

.premium-gradient {
  background: linear-gradient(135deg, #fd7200, #ff9f00) !important;
}

.progress-ring__circle {
  transition: stroke-dashoffset 0.35s !important;
}

.dotted-dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.15) !important;
  background: rgba(255, 255, 255, 0.01) !important;
  transition: all 0.2s ease !important;
}

.dotted-dropzone:hover {
  border-color: rgba(0, 240, 118, 0.4) !important;
  background: rgba(0, 240, 118, 0.02) !important;
}

/* Bullet checkbox styling */
.bullet-checkbox {
  appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  background: transparent !important;
  cursor: pointer !important;
  position: relative !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.bullet-checkbox:checked {
  border-color: #00f076 !important;
  background: #00f076 !important;
}

.bullet-checkbox:checked::after {
  content: '✓' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  color: #0b0f10 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

/* Silhouette Styling overrides to neon green */
.workout-body-muscle-g.active .workout-body-muscle-shape {
  fill: rgba(0, 240, 118, 0.72) !important;
  stroke: #ffffff !important;
  filter: drop-shadow(0 0 8px rgba(0, 240, 118, 0.5)) !important;
}

/* Global screens adjustments to match design_preview dark background */
.screen,
.main-content,
#screen-profile,
#screen-finance,
#screen-analysis,
#screen-menu,
#screen-my-menu,
#screen-workout,
#screen-more {
  background: #0b0f10 !important;
  background-image: none !important;
}

/* Disable pseudo-elements glow effects on all screens */
.screen::before,
.screen::after,
.screen > .main-content::before,
.screen > .main-content::after,
#screen-profile::before,
#screen-profile::after,
#screen-finance::before,
#screen-finance::after,
#screen-analysis::before,
#screen-analysis::after,
#screen-workout::before,
#screen-workout::after,
#screen-more::before,
#screen-more::after {
  display: none !important;
  background: none !important;
  background-image: none !important;
}
.header {
  background: rgba(11, 15, 16, 0.8) !important;
  backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  left: 0 !important;
  right: 0 !important;
}

/* Navigation Overrides */
.bottom-nav {
  background: #0b0f10 !important;
  backdrop-filter: blur(15px) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  left: 0 !important;
  right: 0 !important;
}

.bottom-nav .nav-item {
  color: #bacbb8 !important;
}
.bottom-nav .nav-item.active {
  color: #00f076 !important;
}
.bottom-nav .nav-item.active .nav-icon svg {
  stroke: #00f076 !important;
}

/* Card variables override */
.card, .workout-card, .diary-card, .section-tile-featured {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Standard scrollbars styling */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 240, 118, 0.3);
}

/* Remove all purple/violet accents from navigation, cards, progress bars and buttons */
.bottom-nav .nav-item::before {
  background: #00f076 !important;
}

#screen-main .dashboard-weight-progress-line span {
  background: linear-gradient(90deg, #00f076, #64ff92) !important;
  box-shadow: 0 0 18px rgba(0, 240, 118, 0.4) !important;
}

#screen-main .feature-card-photo .feature-card-icon,
#screen-main .feature-card-recognition .feature-card-icon,
#screen-main .feature-card-kbzhu .feature-card-icon,
#screen-main .feature-card-ai    .feature-card-icon,
#screen-main .feature-card-progress .feature-card-icon {
  background: rgba(0, 240, 118, 0.12) !important;
  color: #00f076 !important;
}

#screen-workout .eq-card-badge--on {
  background: #00f076 !important;
  border-color: #00f076 !important;
  color: #0b0f10 !important;
}

#screen-workout .eq-footer-btn--next {
  background: linear-gradient(135deg, #00f076, #00ba5b) !important;
  color: #0b0f10 !important;
  box-shadow: 0 8px 24px rgba(0, 240, 118, 0.4) !important;
}

#screen-workout .eq-footer-btn--next:hover:not(:disabled) {
  background: linear-gradient(135deg, #64ff92, #00f076) !important;
  box-shadow: 0 10px 28px rgba(0, 240, 118, 0.5) !important;
}

/* --- Global dark design styles imported from C:\Users\Компьютер\Pictures\stitch_gymdiet_master_dark_design\gymdiet_master\DESIGN.md --- */

/* Glass Cards styling */
.card,
.workout-card,
.diary-card,
.glass-card,
.section-tile {
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
}

/* Primary buttons style: Neon Green background with Black text */
.btn-primary,
.btn.btn-primary,
button.btn-primary,
.workout-primary-btn,
.workout-btn-primary {
  background: #00f076 !important;
  color: #0b0f10 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(0, 240, 118, 0.25) !important;
  border-radius: 9999px !important; /* Full pill-shape */
  border: none !important;
}

.btn-primary:hover,
.btn.btn-primary:hover,
button.btn-primary:hover,
.workout-primary-btn:hover {
  background: #00e470 !important;
  box-shadow: 0 6px 20px rgba(0, 240, 118, 0.35) !important;
  color: #0b0f10 !important;
}

.btn-primary:active,
.btn.btn-primary:active,
button.btn-primary:active {
  transform: scale(0.97) !important;
}

/* Secondary / Ghost buttons style: No background, 1px border of white, white text */
.btn-secondary,
.btn.btn-secondary,
button.btn-secondary,
.btn-outline,
.btn.btn-outline,
button.btn-outline,
.workout-secondary-btn,
.workout-btn-secondary {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  border-radius: 9999px !important;
}

.btn-secondary:hover,
.btn-outline:hover,
.workout-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}

/* Premium Button: Fiery Orange background with white text */
.btn-premium,
.btn.btn-premium,
button.btn-premium,
.premium-cta {
  background: linear-gradient(135deg, #fd7200, #ff9f00) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 16px rgba(253, 114, 0, 0.25) !important;
  border-radius: 9999px !important;
  border: none !important;
}

.btn-premium:hover,
.premium-cta:hover {
  filter: brightness(1.05) !important;
  box-shadow: 0 6px 20px rgba(253, 114, 0, 0.35) !important;
  color: #ffffff !important;
}

/* Form inputs: Glass background, highlights to green on focus */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"],
textarea,
select,
.food-input {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

input[type="text"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus,
.food-input:focus {
  border-color: #00f076 !important;
  box-shadow: 0 0 8px rgba(0, 240, 118, 0.2) !important;
}

::placeholder {
  color: rgba(255, 255, 255, 0.3) !important;
}

/* Bullet check box styles */
.bullet-checkbox {
  appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 50% !important;
  background: transparent !important;
  cursor: pointer !important;
  position: relative !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.bullet-checkbox:checked {
  border-color: #00f076 !important;
  background: #00f076 !important;
}

.bullet-checkbox:checked::after {
  content: '✓' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  color: #0b0f10 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
}

/* Circular progress ring */
.progress-ring__circle {
  transition: stroke-dashoffset 0.35s !important;
}

/* ============================================================================
   WORKOUT CONSTRUCTOR & BOTTOM NAV SKIN REDESIGN
   ============================================================================ */

/* 1. Bottom Nav overrides - flat dark, no blue/purple gradient, no blue borders */
.bottom-nav {
  background: #0b0f10 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.8) !important;
}

:root[data-theme='dark'] .bottom-nav {
  background: #0b0f10 !important;
}

.bottom-nav::before {
  display: none !important;
}

/* Green top active indicator instead of purple */
.bottom-nav .nav-item::before {
  background: #00f076 !important;
}

.bottom-nav .nav-item:hover {
  color: rgba(0, 240, 118, 0.8) !important;
}

.bottom-nav .nav-item.active,
.bottom-nav .nav-item[aria-current='page'] {
  color: #00f076 !important;
}

/* 2. Workout Constructor overrides - flat dark background, green accents, no gradients, no purple */
#screen-workout .workout-donor-shell {
  background: #0d0f14 !important;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5) !important;
}

#screen-workout .workout-donor-bg {
  background: #0d0f14 !important;
}

#screen-workout .workout-donor-top-glow {
  background: rgba(0, 240, 118, 0.03) !important;
}

#screen-workout .workout-donor-main {
  background: #0d0f14 !important;
}

#screen-workout .workout-donor-intro-cyan,
#screen-workout .workout-donor-intro-indigo,
#screen-workout .workout-donor-intro-blue {
  display: none !important;
}

#screen-workout .workout-donor-reset-button:hover:not(:disabled),
#screen-workout .workout-donor-clear-button:hover:not(:disabled) {
  border-color: rgba(0, 240, 118, 0.4) !important;
  background: rgba(0, 240, 118, 0.08) !important;
  color: #ffffff !important;
}

#screen-workout .workout-donor-kicker {
  border-color: rgba(0, 240, 118, 0.2) !important;
  background: rgba(0, 240, 118, 0.08) !important;
  color: #64ff92 !important;
}

#screen-workout .workout-donor-selected-stat {
  color: #ffffff !important;
}

#screen-workout .workout-donor-muscle-count {
  border-color: rgba(0, 240, 118, 0.2) !important;
  background: rgba(0, 240, 118, 0.08) !important;
  color: #64ff92 !important;
}

#screen-workout .workout-donor-stepper-step.active {
  border-color: rgba(0, 240, 118, 0.5) !important;
  background: rgba(0, 240, 118, 0.08) !important;
  box-shadow: 0 0 30px rgba(0, 240, 118, 0.1) !important;
}

#screen-workout .workout-donor-stepper-step.active .workout-donor-stepper-number {
  border-color: #64ff92 !important;
  background: #00f076 !important;
  color: #0d0f14 !important;
  box-shadow: 0 0 20px rgba(0, 240, 118, 0.25) !important;
}

#screen-workout .workout-donor-stepper-connector.completed {
  background: rgba(0, 240, 118, 0.5) !important;
}

#screen-workout .workout-donor-muscle-svg .fill-blue-500 {
  fill: #00f076 !important;
}

#screen-workout .workout-donor-muscle-svg .group:hover .group-hover\:fill-blue-400 {
  fill: #64ff92 !important;
}

#screen-workout .workout-plan-location-icon {
  color: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: none !important;
}

#screen-workout .workout-plan-location-card.is-selected .workout-plan-location-icon {
  border-color: rgba(0, 240, 118, 0.3) !important;
  background: rgba(0, 240, 118, 0.08) !important;
  color: #00f076 !important;
}

#screen-workout .workout-plan-location-check {
  color: #0d0f14 !important;
  background: #00f076 !important;
  box-shadow: 0 0 15px rgba(0, 240, 118, 0.3) !important;
}

#screen-workout .workout-plan-program-icon {
  color: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  box-shadow: none !important;
}

#screen-workout .workout-plan-program-card.is-selected .workout-plan-program-icon {
  border-color: rgba(0, 240, 118, 0.3) !important;
  background: rgba(0, 240, 118, 0.08) !important;
  color: #00f076 !important;
}

#screen-workout .workout-plan-program-radio {
  border-color: rgba(255, 255, 255, 0.16) !important;
  background: rgba(255, 255, 255, 0.03) !important;
}

#screen-workout .workout-plan-program-radio.is-selected {
  border-color: #00f076 !important;
  background:
    radial-gradient(circle, #00f076 0 40%, transparent 44%),
    rgba(255, 255, 255, 0.03) !important;
  box-shadow: 0 0 14px rgba(0, 240, 118, 0.25) !important;
}

#screen-workout .workout-plan-access-badge {
  border-color: rgba(0, 240, 118, 0.22) !important;
  background: rgba(0, 240, 118, 0.08) !important;
  color: #64ff92 !important;
}

#screen-workout .workout-plan-access-badge-icon {
  color: #00f076 !important;
}

#screen-workout .workout-plan-bottom-primary:disabled {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.25) !important;
}

/* Equipment Screen (eq-screen / eq-card) overrides */
#screen-workout .eq-card:hover {
  border-color: rgba(0, 240, 118, 0.3) !important;
  background: rgba(0, 240, 118, 0.04) !important;
}

#screen-workout .eq-card--on {
  border-color: rgba(0, 240, 118, 0.6) !important;
  background: rgba(0, 240, 118, 0.06) !important;
  box-shadow: 0 0 16px rgba(0, 240, 118, 0.15) !important;
}

#screen-workout .eq-footer {
  background: linear-gradient(to top, #0d0f14 60%, transparent) !important;
}

#screen-workout .eq-footer-bar {
  background: rgba(13, 15, 20, 0.95) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

#screen-workout .workout-plan-onboarding-shell {
  background: #0d0f14 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45) !important;
}

#screen-workout .workout-plan-onboarding-orb,
#screen-workout .workout-plan-onboarding-orb-a,
#screen-workout .workout-plan-onboarding-orb-b {
  display: none !important;
}

/* Location cards and Program cards */
#screen-workout .workout-plan-location-card,
#screen-workout .workout-plan-program-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.3) !important;
}

#screen-workout .workout-plan-location-card.is-selected,
#screen-workout .workout-plan-program-card.is-selected {
  background: rgba(0, 240, 118, 0.04) !important;
  border-color: rgba(0, 240, 118, 0.4) !important;
  box-shadow:
    0 0 0 1px rgba(0, 240, 118, 0.1),
    0 22px 54px rgba(0, 240, 118, 0.08),
    0 0 34px rgba(0, 240, 118, 0.1) !important;
}

/* Frequency chips */
#screen-workout .workout-plan-frequency-chip {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.74) !important;
}

#screen-workout .workout-plan-frequency-chip.is-selected {
  background: rgba(0, 240, 118, 0.04) !important;
  border-color: rgba(0, 240, 118, 0.4) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 26px rgba(0, 240, 118, 0.1) !important;
}

#screen-workout .workout-plan-frequency-check {
  color: #00f076 !important;
}

/* Primary and secondary buttons */
#screen-workout .workout-plan-bottom-secondary {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

#screen-workout .workout-plan-bottom-primary:not([disabled]) {
  background: #00f076 !important;
  border: 1px solid #00f076 !important;
  color: #0d0f14 !important;
  box-shadow: 0 14px 32px rgba(0, 240, 118, 0.24) !important;
  animation: none !important;
}

/* AI reco and effectiveness cards */
#screen-workout .workout-plan-ai-reco,
#screen-workout .workout-plan-effectiveness {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3) !important;
}

#screen-workout .workout-plan-ai-reco::after {
  display: none !important;
}

#screen-workout .workout-plan-ai-reco-ico,
#screen-workout .workout-plan-effectiveness-ico {
  color: #00f076 !important;
  background: rgba(0, 240, 118, 0.08) !important;
  border: 1px solid rgba(0, 240, 118, 0.15) !important;
  box-shadow: 0 0 15px rgba(0, 240, 118, 0.1) !important;
  animation: none !important;
}

/* Inline equipment grid */
#screen-workout .workout-plan-equip-card.is-selected {
  background: rgba(0, 240, 118, 0.04) !important;
  border-color: rgba(0, 240, 118, 0.4) !important;
  box-shadow: 0 0 22px rgba(0, 240, 118, 0.08) !important;
  color: #ffffff !important;
}

#screen-workout .workout-plan-equip-check {
  color: #00f076 !important;
}

/* Program carousel & dots */
#screen-workout .workout-plan-program-dot.is-active {
  background: #00f076 !important;
}

#screen-workout .workout-plan-program-pick {
  color: rgba(255, 255, 255, 0.6) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

#screen-workout .workout-plan-program-card.is-selected {
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(0, 240, 118, 0.4),
    0 0 28px rgba(0, 240, 118, 0.2) !important;
}

#screen-workout .workout-plan-program-card.is-selected .workout-plan-program-pick {
  color: #0d0f14 !important;
  background: #00f076 !important;
  border-color: #00f076 !important;
  box-shadow: 0 8px 18px rgba(0, 240, 118, 0.16) !important;
}

#screen-workout .workout-plan-program-compat-tag {
  color: #00f076 !important;
  background: rgba(0, 240, 118, 0.08) !important;
  border: 1px solid rgba(0, 240, 118, 0.15) !important;
}

/* Execution screen video card border / shadow overrides */
#screen-workout .workout-session-video-shell .workout-session-video-card {
  border: 1px solid rgba(0, 240, 118, 0.22) !important;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(0, 240, 118, 0.1) !important;
}

/* Force dark background on screen-menu and screen-my-menu to match dark design theme */
#screen-menu,
#screen-my-menu {
  background: #0b0f10 !important;
  background-image: none !important;
}

#screen-menu .main-content,
#screen-my-menu .main-content {
  background: #0b0f10 !important;
}

#screen-menu::before,
#screen-menu::after,
#screen-menu .main-content::before,
#screen-menu .main-content::after,
#screen-my-menu::before,
#screen-my-menu::after,
#screen-my-menu .main-content::before,
#screen-my-menu .main-content::after {
  display: none !important;
  background: none !important;
}

/* Remove violet glow from AI Coach tile and its icon on the More screen */
#screen-more #section-ai-coach,
#screen-more #section-ai-coach .section-tile-icon {
  box-shadow: none !important;
}

/* =====================================================================
   Food Analysis Screen Override — Flat Dark Neon-Green restyle
   ===================================================================== */
#screen-analysis {
  /* Override CSS variables to flat dark and neon green */
  --fa-bg-0: #0b0f10 !important;
  --fa-bg-1: #0b0f10 !important;
  --fa-bg-2: #0b0f10 !important;
  --fa-blue: #0b0f10 !important;
  --fa-cyan: #00f076 !important; /* Calorie highlight: Neon green! */
  --fa-cyan-soft: #ffffff !important;
  --fa-green: #00f076 !important;
  --fa-card: rgba(255, 255, 255, 0.03) !important;
  --fa-line: rgba(255, 255, 255, 0.08) !important;
  --fa-accent: #00f076 !important; /* Button / accent: Neon green! */
  
  background: #0b0f10 !important;
  background-image: none !important;
}

/* Force standard dark header */
#screen-analysis .header,
#screen-analysis .fa-topbar {
  background: rgba(11, 15, 16, 0.8) !important;
  backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: none !important;
}

#screen-analysis .fa-topbar-row {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

#screen-analysis .fa-brand-mark {
  background: rgba(0, 240, 118, 0.1) !important;
  border: 1px solid rgba(0, 240, 118, 0.2) !important;
  color: #00f076 !important;
  box-shadow: none !important;
}

#screen-analysis .fa-brand-name {
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
  background-clip: border-box !important;
}

/* Card and container backgrounds: remove gradients, force flat dark glass card style */
#screen-analysis .fa-card,
#screen-analysis .far-card,
#screen-analysis .far-totals-card,
#screen-analysis .far-analysis-card,
#screen-analysis .far-health-card,
#screen-analysis .fa-ing-item,
#screen-analysis .far-tile,
#screen-analysis .fa-feat-section,
#screen-analysis .fa-feat,
#screen-analysis .fa-ing-card,
#screen-analysis .fa-macro,
#screen-analysis .far-hero {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
  background-image: none !important;
}

#screen-analysis .fa-feat:hover {
  background: rgba(255, 255, 255, 0.06) !important;
}

/* Overlay on hero image - dark neutral tint */
#screen-analysis .far-hero-overlay {
  background: linear-gradient(to bottom, transparent 0%, rgba(11, 15, 16, 0.8) 100%) !important;
}

#screen-analysis .far-hero-back {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#screen-analysis .far-hero-back:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

/* Portion controller and plus/minus buttons */
#screen-analysis .far-portion-ctrl {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

#screen-analysis .far-portion-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

#screen-analysis .far-portion-btn:hover {
  background: rgba(255, 255, 255, 0.16) !important;
}

/* Badge colors */
#screen-analysis .far-badge {
  background: rgba(0, 240, 118, 0.08) !important;
  border: 1px solid rgba(0, 240, 118, 0.15) !important;
  color: #00f076 !important;
}

/* Segment selector */
#screen-analysis .fa-seg {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Inputs and textareas */
#screen-analysis .fa-input,
#screen-analysis .fa-txt-input,
#screen-analysis .barcode-grams,
#screen-analysis .fa-field-inp,
#screen-analysis .fa-barcode-manual-input {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
}

#screen-analysis .fa-field-inp:focus {
  border-color: #00f076 !important;
  box-shadow: 0 0 0 3px rgba(0, 240, 118, 0.16) !important;
}

/* Primary buttons & active state segment switches: Neon Green with Black text */
#screen-analysis .fa-btn,
#screen-analysis .fa-primary-btn,
#screen-analysis .fa-ing-btn-save,
#screen-analysis .far-save-btn,
#screen-analysis .fa-upload-btn.is-primary,
#screen-analysis .fa-seg-btn.is-active,
#screen-analysis .fa-ghost-btn.is-primary,
#screen-analysis .far-add-btn,
#screen-analysis .fa-corr-save-btn {
  background: #00f076 !important;
  color: #0b0f10 !important;
  font-weight: bold !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(0, 240, 118, 0.25) !important;
}

#screen-analysis .fa-btn:hover,
#screen-analysis .fa-primary-btn:hover,
#screen-analysis .fa-ing-btn-save:hover,
#screen-analysis .far-save-btn:hover,
#screen-analysis .fa-upload-btn.is-primary:hover,
#screen-analysis .fa-ghost-btn.is-primary:hover,
#screen-analysis .far-add-btn:hover,
#screen-analysis .fa-corr-save-btn:hover {
  background: #64ff92 !important;
}

/* Upload buttons default style */
#screen-analysis .fa-upload-btn {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

#screen-analysis .fa-upload-btn:hover {
  background: rgba(255, 255, 255, 0.08) !important;
}

#screen-analysis .fa-upload-btn--barcode {
  color: #00f076 !important;
  border-color: rgba(0, 240, 118, 0.25) !important;
}

/* Correction modal / bottom sheet styling */
#screen-analysis .fa-corr-sheet {
  background: #0d0f14 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.6) !important;
}

#screen-analysis .fa-corr-footer {
  background: linear-gradient(0deg, #0d0f14 70%, transparent) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Force Green Icons and Elements */
#screen-analysis svg,
#screen-analysis .fa-feat-ico,
#screen-analysis .fa-note-ico,
#screen-analysis .fa-feat-ico svg,
#screen-analysis .fa-note-ico svg,
#screen-analysis .far-ings-toggle-left,
#screen-analysis .far-ings-toggle-left svg,
#screen-analysis .fa-scan-icon,
#screen-analysis .far-ings-count {
  color: #00f076 !important;
}

#screen-analysis .fa-scan-icon {
  background: rgba(0, 240, 118, 0.1) !important;
  border: 1px solid rgba(0, 240, 118, 0.2) !important;
  box-shadow: none !important;
}

/* Camera scan pane, scanline and camera box icon */
#screen-analysis .fa-drop {
  border-color: rgba(0, 240, 118, 0.25) !important;
  background: rgba(255, 255, 255, 0.03) !important;
  box-shadow: none !important;
}

#screen-analysis .fa-scanline {
  background: linear-gradient(90deg, transparent, #00f076, #00ba5b, transparent) !important;
  box-shadow: 0 0 18px rgba(0, 240, 118, 0.7) !important;
}

#screen-analysis .fa-card-head::after {
  border: 1px solid rgba(0, 240, 118, 0.3) !important;
  background:
    linear-gradient(180deg, rgba(0, 240, 118, 0.12), rgba(0, 240, 118, 0.04)) !important;
  background-image:
    linear-gradient(180deg, rgba(0, 240, 118, 0.12), rgba(0, 240, 118, 0.04)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%2300f076' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 2.75h7l1.7 2.75H20a2 2 0 0 1 2 2v10.75a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V7.5a2 2 0 0 1 2-2h2.8l1.7-2.75Z'/%3E%3Ccircle cx='12' cy='13' r='3.7'/%3E%3C/svg%3E") !important;
  background-position: center !important;
  background-size: 24px 24px, 24px 24px !important;
  background-repeat: no-repeat !important;
  box-shadow: none !important;
}

/* Progress bar shadow cleanups if any */
#screen-analysis .far-mbar-pro,
#screen-analysis .far-mbar-fat,
#screen-analysis .far-mbar-crb {
  box-shadow: none !important;
}
#screen-analysis .far-mbar-pro {
  background: #60a5fa !important;
}
#screen-analysis .far-mbar-crb {
  background: #a78bfa !important;
}

/* =====================================================================
   Settings screen overrides — flat dark, green-accent theme
   ===================================================================== */
.settings-screen {
  --st-bg: #0b0f10 !important;
  --st-surface: rgba(255, 255, 255, 0.03) !important;
  --st-surface-2: rgba(255, 255, 255, 0.04) !important;
  --st-row: transparent !important;
  --st-border: rgba(255, 255, 255, 0.08) !important;
  --st-accent: #00f076 !important;
  --st-accent-2: #00ba5b !important;
  --st-accent-soft: rgba(0, 240, 118, 0.12) !important;
  --st-text: #ffffff !important;
  --st-text-muted: #bacbb8 !important;
  --st-text-dim: #7f8e81 !important;
  
  background: #0b0f10 !important;
  background-image: none !important;
}

.settings-screen .main-content {
  background: #0b0f10 !important;
}

.settings-screen .header {
  background: rgba(11, 15, 16, 0.8) !important;
  backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Settings Hub Screen (#screen-settings) specific styles */
#screen-settings.settings-screen {
  background: #0b0f10 !important;
  background-image: none !important;
}

#screen-settings .st-row {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

#screen-settings .st-row:active {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(0, 240, 118, 0.3) !important;
}

#screen-settings .st-row--soon,
#screen-settings .st-row--soon:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

#screen-settings .st-row--soon:active {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.settings-screen .st-row-icon {
  color: #00f076 !important;
  background: rgba(0, 240, 118, 0.1) !important;
  border: 1px solid rgba(0, 240, 118, 0.2) !important;
  box-shadow: none !important;
}

/* =====================================================================
   Workout Session Player Overrides — Flat Dark, Neon Green accent
   ===================================================================== */
/* 1. Everything should be dark neutral/black, no blue or purple gradients/glows */
#screen-workout .workout-session-player-v3 {
  background: #0b0f10 !important;
  background-image: none !important;
}

#screen-workout .workout-active-exercise-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4) !important;
}

#screen-workout .workout-session-timer-ring-lg {
  border-radius: 50% !important;
  background:
    radial-gradient(circle at center, #0b0f10 58%, transparent 59%),
    conic-gradient(from -90deg, #00f076 0 var(--workout-session-ring-progress, 0%), rgba(255, 255, 255, 0.08) var(--workout-session-ring-progress, 0%) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6) !important;
}

#screen-workout .workout-session-info-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4) !important;
}

#screen-workout .workout-session-progress-pct {
  color: #00f076 !important;
}

#screen-workout .workout-exercise-chip {
  color: #00f076 !important;
  background: rgba(0, 240, 118, 0.12) !important;
  border: 1px solid rgba(0, 240, 118, 0.3) !important;
}

#screen-workout .workout-session-timer-setlabel {
  color: #8b95aa !important;
}

/* 2. Make continue button green with green glow and dark text for contrast */
#screen-workout .workout-session-continue-btn {
  border: 0 !important;
  color: #0b0f10 !important;
  background: linear-gradient(135deg, #00f076 0%, #00ba5b 100%) !important;
  box-shadow: 0 16px 36px rgba(0, 240, 118, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

#screen-workout .workout-session-continue-btn:hover {
  background: linear-gradient(135deg, #32ff94 0%, #00d668 100%) !important;
  box-shadow: 0 20px 44px rgba(0, 240, 118, 0.45) !important;
}

/* 3. Make all text inside the green next card dark charcoal for readability */
#screen-workout .workout-next-exercise {
  background: linear-gradient(135deg, #00f076 0%, #00ba5b 100%) !important;
  color: #050806 !important;
}

#screen-workout .workout-next-exercise strong,
#screen-workout .workout-next-exercise p,
#screen-workout .workout-next-exercise span,
#screen-workout .workout-next-exercise-duration,
#screen-workout .workout-next-exercise-copy strong,
#screen-workout .workout-next-exercise-copy p,
#screen-workout .workout-next-exercise-copy span {
  color: #050806 !important;
}

/* 4. Overrides for buttons inside the next exercise card */
#screen-workout .workout-next-exercise .workout-next-action-btn {
  border: 1px solid rgba(11, 15, 16, 0.3) !important;
  background: rgba(11, 15, 16, 0.08) !important;
  color: #050806 !important;
}

#screen-workout .workout-next-exercise .workout-next-action-btn-primary {
  border: 0 !important;
  background: #050806 !important;
  color: #00f076 !important;
  box-shadow: 0 4px 10px rgba(11, 15, 16, 0.15) !important;
}

/* 5. Force the square icon to be on the right in the finish warmup button */
#screen-workout .workout-session-finish-btn {
  flex-direction: row !important;
}
#screen-workout .workout-session-finish-btn span {
  order: 1 !important;
}
#screen-workout .workout-session-finish-btn svg {
  order: 2 !important;
}

/* 6. Overrides for stats/metrics cards on finish/completion screen to be dark neutral */
#screen-workout .workout-session-metric,
#screen-workout .workout-complete-stat {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

/* 7. Ensure primary green buttons have high contrast dark text */
#screen-workout .btn.btn-primary {
  color: #0b0f10 !important;
}

/* 8. Workout Session Back Button styling and 3-button bottom controls layout */
#screen-workout .workout-session-bottom-controls {
  grid-template-columns: 1.2fr 1fr 1.5fr !important;
}

#screen-workout .workout-session-back-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 52px; border-radius: 18px; cursor: pointer; font-size: 14px; font-weight: 800;
  transition: transform 0.14s ease, box-shadow 0.16s ease, background 0.16s ease;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #e6ebf7 !important;
}
#screen-workout .workout-session-back-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
#screen-workout .workout-session-back-btn span {
  min-width: 0;
  white-space: normal;
  line-height: 1.1;
  text-align: center;
}
#screen-workout .workout-session-back-btn:active {
  transform: scale(0.97);
}

/* =====================================================================
   Remove ALL glowing shadows/neon box-shadows/text-shadows on Menu Screen
   ===================================================================== */
#screen-menu,
#screen-menu * {
  box-shadow: none !important;
  text-shadow: none !important;
  filter: none !important;
}

#screen-menu .card,
#screen-menu .recipe-goal-card,
#screen-menu .menu-config-card,
#screen-menu .menu-goal-card {
  background: rgba(255, 255, 255, 0.03) !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

#screen-menu button,
#screen-menu .btn,
#screen-menu .btn-primary,
#screen-menu .goal-btn,
#screen-menu .menu-type-btn,
#screen-menu .menu-meals-btn {
  box-shadow: none !important;
  text-shadow: none !important;
}

#screen-menu .menu-type-selector::before {
  box-shadow: none !important;
  background: #00f076 !important; /* solid fallback without glow */
}

/* =====================================================================
   Product Label Analysis Modal & Overlay styling
   ===================================================================== */
.label-analysis-modal {
  max-height: 85vh;
  overflow-y: auto;
}

.label-rating-container {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.label-rating-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #0b0f10;
  flex-shrink: 0;
}

.label-rating-circle.high { background: #00f076; }
.label-rating-circle.med { background: #ffaa00; }
.label-rating-circle.low { background: #ff3b30; }

.label-verdict-card {
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  text-align: center;
  font-size: 16px;
  margin: 14px 0;
  text-transform: uppercase;
}

.label-verdict-card.buy {
  background: rgba(0, 240, 118, 0.15);
  color: #00f076;
  border: 1px solid rgba(0, 240, 118, 0.3);
}

.label-verdict-card.avoid {
  background: rgba(255, 59, 48, 0.15);
  color: #ff3b30;
  border: 1px solid rgba(255, 59, 48, 0.3);
}

.label-section-title {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 16px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.label-items-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.label-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 0;
}

.label-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.label-item.benefit svg { color: #00f076; }
.label-item.harm svg { color: #ff9f00; }
.label-item.additive svg { color: #ff3b30; }

.label-advice-box {
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid #00f076;
  padding: 12px;
  border-radius: 0 8px 8px 0;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 8px;
  margin-bottom: 16px;
}

/* Fix upload action button layout so icons align perfectly with labels */
#screen-analysis .fa-upload-btn--barcode,
#screen-analysis .fa-upload-btn--label {
  grid-column: 1 / -1 !important;
  gap: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #00f076 !important;
  border-color: rgba(0, 240, 118, 0.25) !important;
  background: linear-gradient(180deg, #0e1617, #0b0f10) !important;
}

/* Bulletproof dark black quick access bottom nav styling */
.bottom-nav,
:root .bottom-nav,
body .bottom-nav,
body.dark-theme .bottom-nav,
:root[data-theme] .bottom-nav {
  background: #0b0f10 !important;
  background-image: none !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.6) !important;
  display: flex !important;
}

.bottom-nav::before,
.bottom-nav::after {
  display: none !important;
  background: none !important;
}

.bottom-nav .nav-item {
  color: #bacbb8 !important;
  opacity: 0.85 !important;
}

.bottom-nav .nav-item.active,
.bottom-nav .nav-item[aria-current='page'] {
  color: #00f076 !important;
  opacity: 1 !important;
}

.bottom-nav .nav-item .nav-icon svg {
  stroke: currentColor !important;
  fill: none !important;
}

.bottom-nav .nav-item.active[data-screen="more"] .nav-icon svg,
.bottom-nav .nav-item.active[data-bottom-nav-item="more"] .nav-icon svg {
  stroke: none !important;
  fill: #00f076 !important;
}




