/* Solar Calculator - Styles */

/* Inter Font - Local */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2');
}

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

/* Variables */
:root {
  --primary-color: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #dbeafe;
  --secondary-color: #64748b;
  --success-color: #22c55e;
  --success-light: #dcfce7;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --border-color: #e2e8f0;
  --border-radius: 12px;
  --border-radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --transition: all 0.2s ease;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Calculator Container */
.solar-calculator {
  font-family: var(--font-family);
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

/* Progress Bar */
.progress-container {
  margin-bottom: 32px;
}

.progress-bar {
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--success-color));
  border-radius: 4px;
  transition: width 0.4s ease;
  width: 8.33%;
}

.progress-text {
  text-align: center;
  margin-top: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* Quiz Steps */
.quiz-container {
  min-height: 400px;
}

.quiz-step {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.quiz-step h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.step-description {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.step-info {
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--primary-light);
  border-radius: var(--border-radius-sm);
  font-size: 14px;
  color: var(--primary-color);
  display: none;
}

.step-info.visible {
  display: block;
}

/* Input Styles */
.input-group {
  margin-bottom: 16px;
  position: relative;
}

.input-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.text-input,
.select-input {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: var(--transition);
  -webkit-appearance: none;
}

.text-input:focus,
.select-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.text-input::placeholder {
  color: var(--text-muted);
}

.input-unit {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 14px;
  pointer-events: none;
}

.input-group .input-unit {
  top: calc(50% + 12px);
}

/* Toggle Buttons */
.toggle-group {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  background: var(--bg-tertiary);
  padding: 4px;
  border-radius: var(--border-radius-sm);
}

.toggle-btn {
  flex: 1;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.toggle-btn.active {
  background: var(--bg-primary);
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

/* Radio Cards */
.radio-group {
  display: grid;
  gap: 12px;
}

.radio-card {
  display: block;
  cursor: pointer;
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-content {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  transition: var(--transition);
}

.radio-card input[type="radio"]:checked + .radio-content {
  border-color: var(--primary-color);
  background: var(--primary-light);
}

.radio-card:hover .radio-content {
  border-color: var(--primary-color);
}

.radio-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.radio-desc {
  font-size: 14px;
  color: var(--text-secondary);
}

.radio-price {
  font-size: 13px;
  color: var(--success-color);
  margin-top: 4px;
}

.radio-icon {
  font-size: 24px;
  margin-bottom: 8px;
}

/* Orientation Group */
.orientation-group {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.orientation-group .radio-content {
  text-align: center;
  align-items: center;
}

/* Slider */
.slider-group {
  margin-bottom: 24px;
}

.slider-input {
  width: 100%;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  background: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.1);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-secondary);
}

.slider-labels span:nth-child(2) {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 18px;
}

.tilt-visual {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.roof-icon {
  width: 100px;
  height: 60px;
  background: var(--primary-light);
  border: 2px solid var(--primary-color);
  transform-origin: bottom center;
  transition: transform 0.3s ease;
}

/* Preset Buttons */
.preset-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.preset-btn {
  padding: 16px 12px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  border: 2px solid var(--border-color);
  background: var(--bg-primary);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.preset-btn:hover {
  border-color: var(--primary-color);
}

.preset-btn.active {
  border-color: var(--primary-color);
  background: var(--primary-light);
  color: var(--primary-color);
}

.preset-btn small {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Battery Size */
.battery-size-container {
  margin-top: 20px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: var(--border-radius-sm);
}

.battery-presets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

/* Navigation Buttons */
.navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.nav-btn {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.nav-prev {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
}

.nav-prev:hover {
  background: var(--border-color);
}

.nav-next {
  background: var(--primary-color);
  color: white;
  margin-left: auto;
}

.nav-next:hover {
  background: var(--primary-hover);
}

.nav-next:disabled {
  background: var(--border-color);
  cursor: not-allowed;
}

.skip-btn {
  display: block;
  margin-top: 16px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: underline;
}

.skip-btn:hover {
  color: var(--text-primary);
}

/* Results Page */
.results-page h2 {
  text-align: center;
  margin-bottom: 32px;
}

.results-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.result-card {
  padding: 24px;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  text-align: center;
}

.result-card.highlight {
  background: var(--primary-light);
}

.result-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.result-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.result-label {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Results Charts */
.results-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.chart-container {
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 24px;
  min-height: 300px;
}

.chart-container h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-align: center;
}

.chart-container canvas {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 280px;
}

@media (max-width: 640px) {
  .results-charts {
    grid-template-columns: 1fr;
  }
}

/* Results Details */
.results-details {
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  padding: 24px;
  margin-bottom: 32px;
}

.results-details h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.detail-section {
  margin-bottom: 24px;
}

.detail-section:last-child {
  margin-bottom: 0;
}

.detail-section h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 15px;
}

.detail-row span:first-child {
  color: var(--text-secondary);
}

.detail-row span:last-child {
  font-weight: 500;
  color: var(--text-primary);
}

.subsidy-row span:last-child {
  color: var(--success-color);
}

.tax-info {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tax-info p {
  margin-bottom: 8px;
}

.tax-info strong {
  color: var(--text-primary);
}

/* Funding List */
#funding-list {
  font-size: 14px;
}

.funding-item {
  padding: 12px;
  background: var(--bg-primary);
  border-radius: var(--border-radius-sm);
  margin-bottom: 8px;
}

.funding-item:last-child {
  margin-bottom: 0;
}

.funding-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.funding-desc {
  color: var(--text-secondary);
  font-size: 13px;
}

.funding-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 13px;
}

.funding-link:hover {
  text-decoration: underline;
}

/* CTA Section */
.cta-section {
  background: var(--bg-primary);
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 32px;
}

.cta-section h3 {
  text-align: center;
  font-size: 20px;
  margin-bottom: 24px;
  color: var(--text-primary);
}

/* Lead Form */
.lead-form {
  max-width: 480px;
  margin: 0 auto;
}

.form-row {
  margin-bottom: 16px;
}

.form-row-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkbox-row {
  margin-bottom: 12px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary-color);
}

.turnstile-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.submit-btn {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 600;
  color: white;
  background: var(--success-color);
  border: none;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

.submit-btn:hover {
  background: #16a34a;
}

.submit-btn:disabled {
  background: var(--border-color);
  cursor: not-allowed;
}

.submit-btn .btn-text,
.submit-btn .btn-loading {
  color: white;
}

.privacy-note {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.privacy-note a {
  color: var(--text-secondary);
}

/* Success Page */
.success-page {
  text-align: center;
  padding: 48px 24px;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: var(--success-light);
  color: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: bold;
}

.success-content h2 {
  margin-bottom: 12px;
}

.success-content p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.success-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  border: none;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-light);
}

/* Disclaimer */
.disclaimer {
  margin-top: 24px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: var(--border-radius-sm);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* Utility Classes */
.mt-20 {
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 640px) {
  .solar-calculator {
    padding: 16px;
    border-radius: 0;
  }

  .quiz-step h2 {
    font-size: 20px;
  }

  .results-summary {
    grid-template-columns: 1fr;
  }

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

  .battery-presets {
    grid-template-columns: 1fr;
  }

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

  .form-row-half {
    grid-template-columns: 1fr;
  }

  .success-actions {
    flex-direction: column;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* Conditional Checkboxes */
.conditional-checkbox {
  margin-top: 20px;
  padding: 16px;
  background: var(--primary-light);
  border-radius: var(--border-radius-sm);
  animation: fadeIn 0.3s ease;
}

.offer-checkbox,
.offer-checkbox-highlight {
  font-size: 15px;
  color: var(--text-primary);
}

.offer-checkbox-highlight {
  padding: 12px 16px;
  background: var(--success-light);
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--success-color);
}

.offer-checkbox-highlight span {
  color: var(--text-primary);
  font-weight: 500;
}

/* Results Header */
.results-header {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.success-icon-small {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: var(--success-light);
  color: var(--success-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
}

.results-intro {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.results-actions {
  margin: 20px 0;
}

.btn-download-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(90deg, #06b6d4, #3b82f6, #a855f7);
  color: white;
  border: none;
  border-radius: var(--border-radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-download-pdf:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.btn-download-pdf:active {
  transform: translateY(0);
}

.btn-download-pdf .pdf-icon {
  font-size: 18px;
}

.btn-download {
  display: inline-block;
  padding: 12px 24px;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius-sm);
  font-weight: 500;
  transition: var(--transition);
}

.btn-download:hover {
  background: var(--primary-hover);
}

/* Results Footer */
.results-footer {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.results-footer p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* Lead Form Page */
.lead-form-page h2 {
  text-align: center;
}

.lead-form-page .step-description {
  text-align: center;
  margin-bottom: 32px;
}

.lead-form-page .cta-section {
  border: none;
  padding: 0;
}

/* Warning Card (for North orientation) */
.radio-card.warning-card {
  border-color: var(--warning-color);
  background: #fffbeb;
}

.radio-card.warning-card:hover {
  border-color: var(--warning-color);
  background: #fef3c7;
}

.radio-card.warning-card input:checked ~ .radio-content {
  background: #fef3c7;
}

.radio-card.warning-card .radio-desc {
  color: #b45309;
}

/* North Warning Info Box */
.north-warning {
  background: #fef3c7;
  border: 1px solid var(--warning-color);
  color: #92400e;
  padding: 16px;
  border-radius: var(--border-radius-sm);
  margin-top: 16px;
  font-size: 14px;
}

.north-warning strong {
  color: #b45309;
}

/* Contact CTA Boxes */
.cta-box {
  background: linear-gradient(135deg, var(--primary-light) 0%, #f0f7ff 100%);
  border: 1px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 24px;
  text-align: center;
  margin: 24px 0;
}

.cta-box-top {
  margin-top: 20px;
}

.cta-box-top p {
  margin-bottom: 12px;
  color: var(--text-primary);
  font-weight: 500;
}

.cta-box-bottom {
  background: linear-gradient(135deg, var(--success-light) 0%, #f0fdf4 100%);
  border-color: var(--success-color);
  padding: 32px;
}

.cta-box-bottom h3 {
  color: var(--text-primary);
  margin-bottom: 12px;
  font-size: 1.3em;
}

.cta-box-bottom p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.btn-contact,
.btn-contact-large {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-contact:hover,
.btn-contact-large:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-contact-large {
  padding: 16px 32px;
  font-size: 1.1em;
  background: var(--success-color);
}

.btn-contact-large:hover {
  background: #16a34a;
}

.cta-subtext {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-muted);
}

.cta-subtext a {
  color: var(--primary-color);
  font-weight: 600;
}

.btn-text {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 14px;
  cursor: pointer;
  padding: 8px 16px;
  margin-top: 16px;
  text-decoration: underline;
}

.btn-text:hover {
  color: var(--text-secondary);
}

/* Print Styles */
@media print {
  .navigation-buttons,
  .cta-section,
  .cta-box,
  .disclaimer,
  .results-footer {
    display: none;
  }

  .solar-calculator {
    box-shadow: none;
  }
}

/* Powered by SoCare Footer */
.powered-by-footer {
  margin-top: 24px;
  padding: 16px 12px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.powered-by-footer .footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.powered-by-footer .footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s ease;
}

.powered-by-footer .footer-links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.powered-by-footer .footer-divider {
  color: var(--border-color);
}

.powered-by-footer .socare-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.powered-by-footer .socare-link:hover {
  color: var(--text-secondary);
}

.powered-by-footer .socare-link:hover .socare-brand {
  background: linear-gradient(90deg, #0891b2, #2563eb, #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.powered-by-footer .socare-brand {
  font-weight: 700;
  background: linear-gradient(90deg, #06b6d4, #3b82f6, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 640px) {
  .powered-by-footer {
    font-size: 11px;
    padding: 12px 8px;
  }

  .powered-by-footer .footer-links a {
    font-size: 11px;
  }
}

/* Cookie Consent Banner - Centered Modal with Overlay */
.cookie-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.cookie-banner-content {
  max-width: 480px;
  width: 100%;
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 28px;
  animation: scaleIn 0.3s ease-out;
}

.cookie-banner-text h3 {
  font-family: var(--font-family);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.cookie-banner-text p {
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.cookie-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.cookie-btn {
  padding: 12px 20px;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.cookie-btn-accept {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

.cookie-btn-accept:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.4);
}

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

.cookie-btn-settings:hover {
  background: var(--border-color);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--text-secondary);
  padding: 8px 20px;
}

.cookie-btn-reject:hover {
  color: var(--text-primary);
}

.cookie-btn-save {
  background: var(--primary-color);
  color: white;
  width: 100%;
  margin-top: 16px;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3);
}

.cookie-btn-save:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.4);
}

/* Cookie Settings */
.cookie-settings {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-top: 8px;
}

.cookie-option {
  margin-bottom: 12px;
}

.cookie-option-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.cookie-option-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.cookie-option-label input[type="checkbox"]:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.cookie-option-text {
  flex: 1;
}

.cookie-option-text strong {
  display: block;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cookie-option-text small {
  font-family: var(--font-family);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: block;
}

.cookie-links {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  margin-top: 16px;
}

.cookie-links a {
  font-family: var(--font-family);
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.cookie-links a:hover {
  color: var(--primary-color);
}

.cookie-link-divider {
  color: var(--text-muted);
  font-size: 13px;
}

/* Cookie Banner Mobile */
@media (max-width: 640px) {
  .cookie-banner {
    padding: 12px;
  }

  .cookie-banner-content {
    padding: 20px;
    max-width: 100%;
  }

  .cookie-banner-text h3 {
    font-size: 16px;
  }

  .cookie-banner-text p {
    font-size: 13px;
  }

  .cookie-option-text strong {
    font-size: 13px;
  }

  .cookie-option-text small {
    font-size: 12px;
  }
}
