/* NeuraMaps AI Solution Cost Estimator - Enterprise Theme */

:root {
  /* NeuraMaps Brand Colors - Green/Teal Theme */
  --color-primary: #22c55e;
  --color-primary-light: #4ade80;
  --color-primary-dark: #16a34a;
  --color-secondary: #0d9488;
  --color-accent: #06b6d4;
  --color-accent-blue: #2563eb;
  --color-danger: #ef4444;

  /* Light theme backgrounds */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: rgba(255, 255, 255, 1);
  --bg-overlay: rgba(0, 0, 0, 0.5);

  /* Light theme text */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  /* Borders */
  --border-color: #e2e8f0;
  --border-color-hover: #cbd5e1;
  --border-focus: var(--color-primary);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 40px rgba(34, 197, 94, 0.2);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme */
[data-theme="dark"] {
  --bg-primary: #0c1219;
  --bg-secondary: #111a24;
  --bg-tertiary: #162031;
  --bg-card: rgba(22, 32, 49, 0.95);
  --bg-card-hover: rgba(30, 44, 66, 1);
  --bg-overlay: rgba(0, 0, 0, 0.7);

  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  --border-color: rgba(148, 163, 184, 0.15);
  --border-color-hover: rgba(148, 163, 184, 0.3);

  --shadow-glow: 0 0 60px rgba(34, 197, 94, 0.25);
  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background-color var(--transition-slow), color var(--transition-slow);
}

/* Background Effects */
.bg-effects {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.gradient-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(34, 197, 94, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(13, 148, 136, 0.1), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(6, 182, 212, 0.08), transparent);
}

[data-theme="dark"] .gradient-bg {
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(34, 197, 94, 0.2), transparent),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(13, 148, 136, 0.15), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(6, 182, 212, 0.12), transparent);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
  animation: float 25s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--color-primary);
  top: -15%;
  right: -10%;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--color-secondary);
  bottom: -10%;
  left: -5%;
  animation-delay: -8s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--color-accent);
  top: 40%;
  left: 30%;
  opacity: 0.15;
  animation-delay: -16s;
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(20px, -25px) scale(1.03);
  }

  50% {
    transform: translate(-15px, 15px) scale(0.97);
  }

  75% {
    transform: translate(-25px, -15px) scale(1.02);
  }
}

/* Main Container */
.app-container {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--space-md);
  min-height: 100vh;
}

@media (min-width: 768px) {
  .app-container {
    padding: var(--space-xl);
  }
}

@media (min-width: 1024px) {
  .app-container {
    padding: var(--space-2xl);
  }
}

/* Header */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: var(--space-xl);
  animation: fadeInDown 0.6s ease-out;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: var(--space-lg);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow-glow);
}

.logo-text {
  font-size: var(--font-size-xl);
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.icon-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.header h1 {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
  .header h1 {
    font-size: var(--font-size-3xl);
  }
}

.header p {
  font-size: var(--font-size-md);
  color: var(--text-muted);
  max-width: 500px;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Progress Bar */
.progress-container {
  margin-bottom: var(--space-xl);
  animation: fadeIn 0.6s ease-out 0.2s both;
}

.progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  padding: 0 var(--space-xs);
}

.progress-line {
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--border-color);
  transform: translateY(-50%);
  z-index: 0;
  border-radius: var(--radius-full);
}

.progress-line-fill {
  position: absolute;
  top: 50%;
  left: 20px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transform: translateY(-50%);
  z-index: 1;
  transition: width var(--transition-slow);
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px var(--color-primary);
}

.progress-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.progress-step.active .step-circle {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-color: transparent;
  color: white;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
  transform: scale(1.15);
}

.progress-step.completed .step-circle {
  background: var(--color-primary);
  border-color: transparent;
  color: white;
}

.step-label {
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  max-width: 60px;
  display: none;
}

@media (min-width: 640px) {
  .step-label {
    display: block;
  }

  .step-circle {
    width: 40px;
    height: 40px;
  }
}

.progress-step.active .step-label {
  color: var(--text-primary);
  font-weight: 600;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Form Card */
.form-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

@media (min-width: 768px) {
  .form-card {
    padding: var(--space-2xl);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Steps */
.form-step {
  display: none;
  animation: slideIn 0.4s ease-out;
}

.form-step.active {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(25px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.step-header {
  margin-bottom: var(--space-xl);
}

.step-header h2 {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

@media (min-width: 768px) {
  .step-header h2 {
    font-size: var(--font-size-2xl);
  }
}

.step-header p {
  color: var(--text-muted);
}

.step-section-title {
  font-size: var(--font-size-md);
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  margin-top: var(--space-xl);
}

.step-section-title:first-of-type {
  margin-top: 0;
}

/* Option Cards */
.options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 480px) {
  .options-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .options-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .options-grid.large {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .options-grid.large {
    grid-template-columns: repeat(3, 1fr);
  }
}

.option-card {
  background: var(--bg-tertiary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  min-height: 80px;
  display: flex;
  align-items: flex-start;
}

.option-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  opacity: 0;
  transition: opacity var(--transition-base);
  z-index: 0;
}

.option-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.option-card.selected {
  border-color: var(--color-primary);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.2);
}

.option-card.selected::before {
  opacity: 0.08;
}

[data-theme="dark"] .option-card.selected::before {
  opacity: 0.15;
}

.option-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.option-icon {
  width: 32px;
  height: 32px;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.option-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.option-label {
  font-weight: 600;
  font-size: var(--font-size-md);
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.option-subtitle {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.option-description {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-top: var(--space-sm);
  line-height: 1.5;
}

.option-price {
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  font-weight: 600;
  margin-top: var(--space-sm);
}

.option-check {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  z-index: 2;
}

.option-card.selected .option-check {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.option-card.selected .option-check::after {
  content: '';
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

.option-card[data-multi="true"] .option-check {
  border-radius: var(--radius-sm);
}

.option-card[data-multi="true"].selected .option-check::after {
  border-radius: 2px;
}

.other-input {
  margin-top: var(--space-md);
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: var(--font-size-sm);
  outline: none;
  transition: all var(--transition-base);
}

.other-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

/* Navigation Buttons */
.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-color);
  gap: var(--space-md);
}

.btn {
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-lg);
  font-family: inherit;
  font-size: var(--font-size-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  border: none;
  outline: none;
  min-height: 48px;
}

.btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: white;
  box-shadow: var(--shadow-md), 0 0 20px rgba(34, 197, 94, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(34, 197, 94, 0.3);
}

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

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
}

.btn-danger {
  background: var(--color-danger);
  color: white;
}

.btn-danger:hover {
  opacity: 0.9;
}

.btn-sm {
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-sm);
  min-height: 36px;
}

/* Results Panel */
.results-panel {
  display: none;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  animation: fadeInUp 0.6s ease-out;
}

.results-panel.active {
  display: block;
}

@media (min-width: 768px) {
  .results-panel {
    padding: var(--space-2xl);
  }
}

.results-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.results-header h2 {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.results-header p {
  color: var(--text-muted);
}

.cost-display {
  text-align: center;
  padding: var(--space-xl);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(13, 148, 136, 0.1));
  border-radius: var(--radius-xl);
  border: 1px solid rgba(34, 197, 94, 0.2);
  margin-bottom: var(--space-lg);
}

.cost-label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cost-range {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: var(--color-primary);
}

.cost-usd {
  font-size: var(--font-size-md);
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

.monthly-cost-display {
  text-align: center;
  padding: var(--space-lg);
  background: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
}

.monthly-cost-label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.monthly-cost-value {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-secondary);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.result-card {
  background: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
}

.result-card-icon {
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
}

.result-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.result-card-label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-xs);
}

.result-card-value {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--text-primary);
}

.breakdown-section {
  margin-bottom: var(--space-xl);
}

.breakdown-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.breakdown-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
}

.breakdown-icon {
  color: var(--color-primary);
}

.breakdown-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.breakdown-value {
  font-weight: 600;
  color: var(--text-primary);
}

.service-recommendation {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(13, 148, 136, 0.08));
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.service-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.service-name {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.service-description {
  color: var(--text-muted);
}

/* Lead Capture */
.lead-capture {
  background: var(--bg-tertiary);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
}

.lead-capture-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.lead-capture-header h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.lead-capture-header p {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.form-input {
  width: 100%;
  padding: var(--space-md);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: var(--font-size-md);
  transition: all var(--transition-base);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.checkbox-group input[type="checkbox"] {
  margin-top: 4px;
  accent-color: var(--color-primary);
}

.checkbox-label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
}

.submit-btn {
  width: 100%;
  margin-top: var(--space-md);
}

/* Thank You */
.thank-you {
  display: none;
  text-align: center;
  padding: var(--space-2xl);
  animation: fadeIn 0.6s ease-out;
}

.thank-you.active {
  display: block;
}

.thank-you-icon {
  margin-bottom: var(--space-lg);
  color: var(--color-primary);
}

.thank-you-icon svg {
  width: 80px;
  height: 80px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.thank-you h2 {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.thank-you p {
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
}

/* Admin Panel */
.admin-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-overlay);
  z-index: 100;
  backdrop-filter: blur(4px);
}

.admin-overlay.active {
  display: block;
}

.admin-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  z-index: 101;
  display: flex;
  flex-direction: column;
  transition: right var(--transition-slow);
  box-shadow: var(--shadow-xl);
}

.admin-panel.active {
  right: 0;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-color);
}

.admin-header h2 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.admin-header h2 svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
}

.admin-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.admin-close:hover {
  background: var(--color-danger);
  color: white;
  border-color: var(--color-danger);
}

.admin-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
}

.admin-content {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-lg);
}

.admin-section {
  margin-bottom: var(--space-xl);
}

.admin-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}

.admin-section-title {
  font-size: var(--font-size-md);
  font-weight: 600;
  color: var(--text-primary);
}

.admin-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.admin-item-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

.admin-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
}

.admin-item-content {
  flex: 1;
  min-width: 0;
}

.admin-item-label {
  font-weight: 500;
  color: var(--text-primary);
  font-size: var(--font-size-sm);
}

.admin-item-price {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

.admin-item-actions {
  display: flex;
  gap: var(--space-xs);
}

.admin-item-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.admin-item-btn:hover {
  background: var(--color-primary);
  color: white;
}

.admin-item-btn.delete:hover {
  background: var(--color-danger);
}

.admin-item-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
}

.admin-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--border-color);
}

.admin-footer .btn {
  width: 100%;
}

/* Edit Modal */
.edit-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  z-index: 102;
  width: 90%;
  max-width: 400px;
  box-shadow: var(--shadow-xl);
}

.edit-modal.active {
  display: block;
}

.edit-modal h3 {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.edit-modal-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.edit-modal-actions .btn {
  flex: 1;
}