/* CSS RESET & ISOLATION */

.booth-calculator * {
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
}

.booth-calculator,
.booth-calculator * {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
}

.booth-calculator {
  display: flex !important;
  max-width: 1160px !important;
  width: 100% !important;
  padding: 48px 16px !important;
  margin: 0 auto !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: 24px !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  color: #111 !important;
}

/* TITLES */

.booth-calculator .title {
  color: #2F507D !important;
  font-family: "Tablet Gothic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 48px !important;
  font-style: normal !important;
  font-weight: 616 !important;
  line-height: 48px !important;
  letter-spacing: -1.5px !important;
  margin: 0 !important;
  margin-bottom: 8px !important;
  text-align: center !important;
  width: 100% !important;
  align-self: center !important;
}

.booth-calculator .subtitle,
.booth-calculator div.subtitle {
  color: #6B7280 !important;
  font-family: "Tablet Gothic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 20px !important;
  font-style: normal !important;
  font-weight: 616 !important;
  line-height: 24px !important;
  letter-spacing: 0 !important;
  margin: 0 auto !important;
  margin-bottom: 32px !important;
  width: 100% !important;
  text-align: center !important;
  display: block !important;
}

/* CARDS */

.booth-calculator .card {
  display: flex !important;
  width: 100% !important;
  flex-direction: column !important;
  gap: 12px !important;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 12px !important;
  padding: 16px !important;
  margin: 0 !important;
  margin-bottom: 16px !important;
}

.card.dark {
  background: linear-gradient(135deg, #111, #2a2a2a);
  color: #fff;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.header-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ccc;
  color: #333;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* INPUT */

.booth-calculator .input {
  display: flex !important;
  min-height: 40px !important;
  padding: 9.5px 16px !important;
  align-items: center !important;
  gap: 12px !important;
  align-self: stretch !important;
  width: 100% !important;
  border-radius: 8px !important;
  border: 1px solid #9FBADA !important;
  background: #FFF !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
  font-family: inherit !important;
  font-size: 14px !important;
  color: #374151 !important;
}

/* BOOTH CONFIGURATION */

.booth-calculator .label {
  color: #2F507D !important;
  font-family: "Tablet Gothic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 697 !important;
  line-height: 24px !important;
  letter-spacing: 0 !important;
  margin: 0 !important;
  margin-bottom: 12px !important;
  display: block !important;
}

.booth-size-inputs {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .booth-size-inputs {
    flex-direction: column;
    gap: 12px;
  }
}

.input-group {
  flex: 1;
}

.input-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

.required {
  color: #ef4444;
}

/* PRESET BUTTONS */

.booth-calculator .preset-sizes {
  display: flex !important;
  gap: 12px !important;
  margin: 20px 0 !important;
}

.booth-calculator .preset-btn {
  display: flex !important;
  padding: 8px 16px !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  flex: 1 0 0 !important;
  border-radius: 8px !important;
  border: 1px solid #CCD9EB !important;
  background: #FFF !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
}

.booth-calculator .preset-btn:hover {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
}

.booth-calculator .preset-btn.active {
  background: #dbeafe !important;
  border-color: #3b82f6 !important;
  color: #1e40af !important;
}

.booth-calculator .preset-label {
  font-size: 14px !important;
  font-weight: 600 !important;
  margin-bottom: 4px !important;
  color: inherit !important;
}

.booth-calculator .preset-size {
  font-size: 12px !important;
  color: #6b7280 !important;
}

.booth-calculator .preset-btn.active .preset-size {
  color: #1e40af !important;
}

/* TOTAL BOOTH SIZE */

.booth-calculator .total-booth-size {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  align-self: stretch !important;
  padding: 12px 0 !important;
  margin-top: 16px !important;
}

.booth-calculator .calculator-icon {
  display: flex !important;
  align-items: center !important;
  width: 16px !important;
  height: 16px !important;
}

.booth-calculator .calculator-icon svg {
  width: 16px !important;
  height: 16px !important;
}

.booth-calculator .calculator-icon svg path {
  stroke: #365E93 !important;
}

.booth-calculator .total-size-text {
  font-size: 14px !important;
  color: #1e40af !important;
  font-weight: 500 !important;
}

/* RESPONSIVE DESIGN */

/* Tablet Styles */
@media (max-width: 768px) {
  .booth-calculator {
    padding: 32px 16px !important;
    gap: 20px !important;
  }
  
  .booth-calculator .title {
    font-size: 40px !important;
    line-height: 44px !important;
  }
  
  .booth-calculator .subtitle,
  .booth-calculator div.subtitle {
    font-size: 18px !important;
    line-height: 22px !important;
  }
  
  .preset-sizes {
    flex-wrap: wrap;
  }
  
  .preset-btn {
    min-width: calc(50% - 6px);
    padding: 10px 8px;
  }
  
  .preset-label {
    font-size: 13px;
  }
  
  .preset-size {
    font-size: 11px;
  }
  
  .booth-calculator .maximum-savings-card {
    padding: 20px !important;
    margin: 12px 0 !important;
  }
}

@media (max-width: 480px) {
  .booth-calculator {
    padding: 24px 12px !important;
    gap: 16px !important;
  }
  
  .booth-calculator .title {
    font-size: 32px !important;
    line-height: 36px !important;
    letter-spacing: -1px !important;
  }
  
  .booth-calculator .subtitle,
  .booth-calculator div.subtitle {
    font-size: 16px !important;
    line-height: 20px !important;
  }
  
  .preset-sizes {
    gap: 8px;
  }
  
  .preset-btn {
    min-width: calc(50% - 4px);
    padding: 8px 6px;
  }
  
  .preset-label {
    font-size: 12px;
  }
  
  .preset-size {
    font-size: 10px;
  }
  
  .booth-calculator .final-cost-label {
    font-size: 14px !important;
    line-height: 20px !important;
  }
  
  .booth-calculator .final-cost-amount {
    font-size: 24px !important;
    line-height: 28px !important;
  }
}

/* MAXIMUM SAVINGS CARD */

.booth-calculator .maximum-savings-card {
  display: flex !important;
  padding: 24px !important;
  align-items: flex-start !important;
  gap: 16px !important;
  align-self: stretch !important;
  border-radius: 16px !important;
  border-left: 4px solid #5AA9B8 !important;
  background: linear-gradient(90deg, #EDFEFF 0%, #D9EAFF 100%) !important;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
  margin: 16px 0 !important;
  flex-direction: column !important;
}

.booth-calculator .savings-header h3 {
  font-size: 18px !important;
  font-weight: 600 !important;
  margin: 0 0 8px 0 !important;
  color: #1e293b !important;
}

.booth-calculator .savings-amount-large {
  font-size: 48px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin: 12px 0 !important;
}

.booth-calculator .maximum-savings-card .savings-description {
  font-size: 14px !important;
  color: #64748b !important;
  margin-bottom: 16px !important;
  font-style: normal !important;
}

.booth-calculator .vip-message {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  font-size: 14px !important;
  color: #374151 !important;
  line-height: 1.4 !important;
}

.crown-icon {
  display: flex;
  align-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
}

.crown-icon svg {
  width: 24px;
  height: 24px;
}

.crown-icon svg path {
  fill: #365E93;
  stroke: #365E93;
}

/* DISCLAIMER */

.disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px;
  border-radius: 8px;
  margin: 12px 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.info-icon {
  display: flex;
  align-items: center;
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.info-icon svg {
  width: 16px;
  height: 16px;
}

.info-icon svg path {
  stroke: #64748b;
}

/* FINAL COST SECTION */

.booth-calculator .final-cost-section {
  margin-top: 24px !important;
  padding-top: 12px !important;
  border-top: 1px solid #CCD9EB !important;
  width: 100% !important;
}

.booth-calculator .final-cost-label-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: baseline !important;
  width: 100% !important;
  margin-bottom: 24px !important;
}

.booth-calculator .final-cost-amount-row {
  display: none !important;
}

.booth-calculator .final-cost-label {
  color: #4B5563 !important;
  font-family: "Tablet Gothic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 16px !important;
  font-style: normal !important;
  font-weight: 400 !important;
  line-height: 24px !important;
  letter-spacing: 0 !important;
}

.booth-calculator .final-cost-amount {
  color: #365E93 !important;
  font-family: "Tablet Gothic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 30px !important;
  font-style: normal !important;
  font-weight: 616 !important;
  line-height: 30px !important;
  letter-spacing: -1px !important;
}

.booth-calculator .secure-booth-btn {
  display: flex !important;
  min-height: 40px !important;
  padding: 9.5px 24px !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  align-self: stretch !important;
  width: 100% !important;
  border-radius: 8px !important;
  background: #2F507D !important;
  color: white !important;
  border: none !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  font-family: inherit !important;
}

.booth-calculator .secure-booth-btn:hover {
  background: #1e40af !important;
}

.booth-calculator .secure-booth-btn:active {
  background: #1d4ed8 !important;
}

/* TEXT */

.note {
  font-size: 12px;
  color: #555;
  display: flex;
  gap: 6px;
  align-items: flex-start;
  margin-top: 10px;
}

.price {
  font-size: clamp(26px, 7vw, 34px);
  font-weight: 700;
}

.estimated-label {
  font-size: 12px;
  color: #666;
  margin-top: 6px;
}

.price-sub {
  font-size: 13px;
  font-weight: 400;
  margin-top: 4px;
  opacity: 0.85;
}

/* TIP */

.tip {
  margin-top: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  font-size: 13px;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

/* ICONS */

.icon,
.inline-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.inline-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.inline-icon.info {
  background: transparent;
  color: #aeaeae;
}

.inline-icon.warning {
  background: #333;
  color: #fff;
}

.inline-icon.plane {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* DISCOUNTS */

.discounts {
  width: 100%;
  background: #ffffff;
  border: 1px solid #ccd9eb;
  border-radius: 14px;
  padding: 18px;
}

.discounts h2 {
  color: #365e93;
  font-size: 18px;
  margin-bottom: 16px;
}

.discount-item {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.discount-item strong {
  color: #2f507d;
}

.discount-item p,
.discount-item li {
  font-size: 14px;
  color: #444;
}

.discount-item ul {
  padding-left: 16px;
  margin-top: 6px;
}

/* COLOR ICONS */

.icon.yellow {
  background: #fff2cc;
  color: #c88a00;
}

.icon.green {
  background: #e7f9f2;
  color: #0a7f62;
}

.icon.purple {
  background: #f2e8ff;
  color: #6b3fc9;
}

.icon.blue {
  background: #e8f1ff;
  color: #2c63c7;
}

.booth-dimensions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.multiply {
  font-size: 16px;
  font-weight: 600;
  color: #666;
}