/* ===== HOLZ-KONFIGURATOR STYLES ===== */

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #003A5D, #dc2626);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-content {
  text-align: center;
  color: white;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loading-text {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.loading-subtitle {
  font-size: 14px;
  font-weight: 400;
  margin: 0;
  opacity: 0.9;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

body {
  margin: 0;
  display: flex;
  height: 100vh;
  font-family: "Noto Sans Display";
  background-color: #f9f9f9;
  overflow: hidden;
}

.sidebar {
  justify-content: space-between;
  width: 100%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #ddd;
  box-shadow: 2px 0 6px rgba(0, 0, 0, 0.05);
  min-width: 500px;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  body {
    flex-direction: column;
    height: auto;
    overflow: auto;
    font-family: "Noto Sans Display";
  }

  .sidebar {
    min-width: auto;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: none;
  }

  .sidebar.open {
    display: flex;
  }

  #canvas-container {
    width: 100%;
    height: 60vh;
  }

  .price-widget {
    bottom: 60px;
  }
}

#canvas-container {
  flex: 1;
  background-color: #f0f0f0;
}

/* Price Widget */
.price-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 200px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  padding: 16px 18px;
  z-index: 1000;
}

.price-widget .price-widget-row1 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: left;
  gap: 8px;
  flex-wrap: nowrap;
  margin-bottom: 8px;
}

.price-widget .price-widget-row1b {
  display: flex;
  justify-content: left;
  margin-bottom: 8px;
}

.price-widget .price-widget-row1c {
  display: flex;
  justify-content: left;
  margin-bottom: 8px;
}

.price-widget .price-original {
  font-size: 20px;
  font-weight: 600;
  color: #9ca3af;
  text-decoration: line-through;
  margin: 0;
  flex-shrink: 0;
  min-width: 70px;
  text-align: center;
}

.price-widget .price-amount {
  font-size: 28px;
  font-weight: 800;
  color: #1eae72; /* green */
  margin: 0;
  flex-shrink: 0;
  min-width: 70px;
  text-align: center;
}

.price-widget .price-discount {
  font-size: 16px;
  font-weight: 700;
  color: #dc2626;
  margin: 0;
  flex-shrink: 0;
  min-width: 70px;
  text-align: center;
}

.price-widget .price-subtext {
  font-size: 10px;
  color: #4b5563;
  margin: 0;
  flex-shrink: 0;
  min-width: 80px;
  text-align: center;
}

.price-widget .delivery-time {
  font-size: 12px;
  font-weight: 600;
  color: #1f2937;
}

.price-widget .delivery-options {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.price-widget .delivery-option {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #374151;
}

.price-widget .delivery-options {
  margin-top: 12px;
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin-bottom: 20px;
}

.price-widget .delivery-option-btn {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f9fafb;
  color: #374151;
  text-align: center;
}

.price-widget .delivery-option-btn:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
}

.price-widget .delivery-option-btn.active {
  background: #e9f7f1;
  color: #1eae72;
  border-color: #1eae72;
}

/* Price Widget Buttons */
.price-widget-buttons {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Price Widget Row 3 - Buttons mit Abstand */
.price-widget-row3 {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 16px;
}

.price-widget-button {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-widget-button.primary {
  background: linear-gradient(135deg, rgb(194, 25, 29), rgb(214, 30, 34));
  color: white;
}

.price-widget-button.primary:hover {
  background: linear-gradient(135deg, rgb(214, 30, 34), rgb(234, 35, 39));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(194, 25, 29, 0.3);
}

.price-widget-button.primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 58, 93, 0.3);
}

.price-widget-button.secondary {
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.price-widget-button.secondary:hover {
  background: #e5e7eb;
}


/* Loading Overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-content {
  text-align: center;
  color: white;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Sidebar Header */
.sidebar-header {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.logo {
  width: 120px;
  height: auto;
  margin-bottom: 10px;
}

.sidebar-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* Tab Navigation */
.tab-navigation {
  display: flex;
  border-bottom: 1px solid #eee;
  background-color: #f8f9fa;
}

.tab-button {
  flex: 1;
  padding: 15px 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.tab-button i {
  font-size: 16px;
}

.tab-button:hover {
  background-color: #e9ecef;
  color: #333;
}

.tab-button.active {
  background-color: #ffffff;
  color: #003A5D;
  border-bottom: 3px solid #dc2626;
}

/* Tab Content */
.tab-content {
  display: none;
  flex: 1;
  overflow-y: auto;
}

.tab-content.active {
  display: block;
}

.sidebar-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

/* Sections */
.section {
  margin-bottom: 25px;
}

.section-title {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.section-title .icon {
  margin-right: 10px;
  color: #003A5D;
}

/* Dimension Controls */
.dimension-control {
  margin-bottom: 15px;
  position: relative;
}

.dimension-control label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.dimension-control .label-text {
  font-weight: 600;
}

.dimension-control .bereich {
  font-size: 12px;
  color: #666;
  font-weight: 400;
}

.dimension-control input {
  width: 100%;
  padding: 10px 12px;
  padding-right: 45px; /* Platz für "cm" Einheit */
  border: 2px solid #e1e5e9;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
  position: relative;
}

.dimension-control input:focus {
  outline: none;
  border-color: #003A5D;
}

.dimension-control .unit {
  position: absolute;
  right: 12px;
  top: calc(28px + 8px + 10px + 14px / 2); /* Label-Höhe (ca. 28px) + margin-bottom (8px) + Input padding-top (10px) + halbe Font-Size (7px) */
  transform: translateY(-50%);
  color: #666;
  font-size: 14px;
  pointer-events: none;
  line-height: 1;
  z-index: 2;
}

/* Platten Anzahl */
.platten-anzahl {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  border: 1px solid #e9ecef;
}

.anzahl-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.anzahl-label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.anzahl-value {
  font-size: 18px;
  font-weight: 700;
  color: #003A5D;
}

/* Plattenauswahl Container */
.platten-auswahl-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.platten-auswahl-select {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e1e5e9;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.platten-auswahl-select:hover {
  border-color: #003A5D;
}

.platten-auswahl-select:focus {
  outline: none;
  border-color: #003A5D;
  box-shadow: 0 0 0 3px rgba(0, 58, 93, 0.1);
}

.individualisieren-button {
  width: 100%;
  padding: 8px 16px;
  background-color: #f8f9fa;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: lowercase;
  font-family: inherit;
}

.individualisieren-button:hover {
  background-color: #e9ecef;
  border-color: #003A5D;
  color: #003A5D;
}

.individualisieren-button:active {
  transform: scale(0.98);
}

/* Breite Input Container */
.breite-input-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.breite-input-container input {
  width: 100%;
  padding: 10px 12px;
  padding-right: 45px; /* Platz für "cm" Einheit */
  border: 2px solid #e1e5e9;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
  position: relative;
}

.breite-input-container input:focus {
  outline: none;
  border-color: #003A5D;
}

.breite-input-container .unit {
  position: absolute;
  right: 12px;
  top: calc(10px + 14px / 2); /* Input padding-top + halbe Font-Size für Zentrierung */
  transform: translateY(-50%);
  color: #666;
  font-size: 14px;
  pointer-events: none;
  line-height: 1;
  z-index: 2;
}

.zurueck-platten-button {
  width: 100%;
  padding: 8px 16px;
  background-color: #f8f9fa;
  border: 1px solid #e1e5e9;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.zurueck-platten-button:hover {
  background-color: #e9ecef;
  border-color: #003A5D;
  color: #003A5D;
}

.zurueck-platten-button:active {
  transform: scale(0.98);
}

.breite-individuell-hinweis {
  margin-top: 2px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
}

.breite-individuell-hinweis .stegplatte-title {
  margin-bottom: 8px;
}

.breite-individuell-hinweis .stegplatte-description {
  margin-bottom: 0;
}

/* Längenauswahl Container (gleiche Styles wie Plattenauswahl) */
.laenge-auswahl-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.laenge-auswahl-select {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #e1e5e9;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  background-color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.laenge-auswahl-select:hover {
  border-color: #003A5D;
}

.laenge-auswahl-select:focus {
  outline: none;
  border-color: #003A5D;
  box-shadow: 0 0 0 3px rgba(0, 58, 93, 0.1);
}

/* Länge Input Container */
.laenge-input-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.laenge-input-container input {
  width: 100%;
  padding: 10px 12px;
  padding-right: 45px; /* Platz für "cm" Einheit */
  border: 2px solid #e1e5e9;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
  position: relative;
}

.laenge-input-container input:focus {
  outline: none;
  border-color: #003A5D;
}

.laenge-input-container .unit {
  position: absolute;
  right: 12px;
  top: calc(10px + 14px / 2); /* Input padding-top + halbe Font-Size für Zentrierung */
  transform: translateY(-50%);
  color: #666;
  font-size: 14px;
  pointer-events: none;
  line-height: 1;
  z-index: 2;
}

/* Stegplatten Container */
.stegplatten-container {
  /* Scroll entfernt - wird vom äußeren sidebar-scroll übernommen */
}

.stegplatten-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.stegplatte-item {
  background-color: #ffffff;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
}

.stegplatte-item:hover {
  border-color: #003A5D;
  box-shadow: 0 4px 12px rgba(0, 58, 93, 0.1);
}

.stegplatte-item.selected {
  border-color: #dc2626;
  background-color: #fef2f2;
}

.stegplatte-image {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stegplatte-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stegplatte-info {
  flex: 1;
  min-width: 0;
}

.stegplatte-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin: 0 0 5px 0;
}

.stegplatte-description {
  font-size: 12px;
  color: #666;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.stegplatte-price {
  font-size: 14px;
  font-weight: 700;
  color: #dc2626;
}

/* Optionen Tab */
.options-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.options-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.options-title {
  font-size: 17px;
  font-weight: 600;
  color: #333;
}

.options-section-info {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #6b7280;
}

.options-binary-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.options-binary-btn {
  flex: 1;
  min-width: 120px;
  padding: 12px 16px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #ffffff;
  color: #333;
  text-align: center;
  font-family: inherit;
}

.options-binary-btn:hover {
  border-color: #003A5D;
  box-shadow: 0 2px 8px rgba(0, 58, 93, 0.12);
}

.options-binary-btn.selected {
  border-color: #dc2626;
  background-color: #fef2f2;
  color: #1f2937;
}

/* Zubehör: Alu-Klebeband Toggle */
.options-zubehoer-heading {
  margin-bottom: 6px;
}

.accessory-toggle-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  background: #f8f9fa;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
}

.accessory-toggle-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.accessory-label-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.accessory-name {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.accessory-info-btn {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid #003A5D;
  background: #fff;
  color: #003A5D;
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.accessory-info-btn:hover {
  background: #003A5D;
  color: #fff;
}

.accessory-info-panel {
  margin: 0;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.45;
  color: #4b5563;
  background: #fff;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  min-width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 26px;
  transition: 0.25s;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.25s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: #dc2626;
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.toggle-switch input:focus-visible + .toggle-slider {
  box-shadow: 0 0 0 2px #003A5D;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.option-card {
  background-color: #ffffff;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
}

.option-card:hover {
  border-color: #003A5D;
  box-shadow: 0 4px 12px rgba(0, 58, 93, 0.1);
}

.option-card.selected {
  border-color: #dc2626;
  background-color: #fef2f2;
}

.option-image {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.option-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.option-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.option-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.option-description {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

/* Color Buttons */
.color-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.color-box {
  text-align: center;
  flex: 1;
  min-width: 80px;
}

.color-button {
  width: 50px;
  height: 50px;
  border: 3px solid #e1e5e9;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 8px;
}

.color-button:hover {
  border-color: #003A5D;
  transform: scale(1.05);
}

.color-button.selected {
  border-color: #dc2626;
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.2);
}

.color-box p {
  font-size: 12px;
  font-weight: 500;
  color: #333;
  margin: 0;
}

/* Component Controls */
.component-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.component-toggle {
  display: flex;
  align-items: center;
}

.component-toggle label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
}

.component-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #003A5D;
}

/* Component Details */
.component-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.detail-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-group label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.detail-group input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e1e5e9;
  outline: none;
  -webkit-appearance: none;
}

.detail-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #003A5D;
  cursor: pointer;
}

.detail-group input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #003A5D;
  cursor: pointer;
  border: none;
}

.value-display {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

/* Sidebar Footer */
.sidebar-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 10px;
}

/* Footer Buttons (Weiter/Zurück/Warenkorb) */
.footer-button {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-button.primary {
  background: linear-gradient(135deg, #003A5D, #004a7a);
  color: white;
}

.footer-button.primary:hover {
  background: linear-gradient(135deg, #004a7a, #005a8a);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 58, 93, 0.3);
}

.footer-button.primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 58, 93, 0.3);
}

.footer-button.secondary {
  background: #f3f4f6;
  color: #111827;
  border: 1px solid #e5e7eb;
}

.footer-button.secondary:hover {
  background: #e5e7eb;
}

.weiter-button {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #003A5D, #004a7a);
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.weiter-button:hover {
  background: linear-gradient(135deg, #004a7a, #005a8a);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 58, 93, 0.3);
}

.weiter-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 58, 93, 0.3);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #dc2626;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b91c1c;
}

/* Responsive Design */
@media (max-width: 480px) {
  .sidebar-scroll {
    padding: 15px;
  }

  .section-title {
    font-size: 15px;
  }

  .dimension-control input {
    padding: 8px 10px;
    font-size: 13px;
  }

  .stegplatte-item {
    padding: 12px;
  }

  .stegplatte-image {
    width: 50px;
    height: 50px;
  }

  .stegplatte-title {
    font-size: 13px;
  }

  .stegplatte-description {
    font-size: 11px;
  }

  .stegplatte-price {
    font-size: 13px;
  }

  .weiter-button {
    padding: 12px 15px;
    font-size: 14px;
  }
}

/* Icon Styling */
.icon i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* Divider */
hr {
  border: none;
  height: 1px;
  background-color: #e1e5e9;
  margin: 20px 0;
}

/* Input Number Styling */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
} 