/* =============================================
   INSTANT QUOTE CALCULATOR STYLING
   ============================================= */

.quote-tab-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.quote-content-container {
  padding: 20px 12px;
  width: 100%;
  box-sizing: border-box;
}

.quote-card-panel {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid #edf2f7;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.quote-field-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-charcoal);
  margin-bottom: 8px;
}

.quote-select-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.quote-dropdown {
  width: 100%;
  height: 52px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 0 16px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 600;
  color: var(--dark-charcoal);
  background-color: #f8fafc;
  outline: none;
  cursor: pointer;
  appearance: none;
  transition: var(--transition-smooth);
}

.quote-dropdown:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(11, 128, 67, 0.1);
  background-color: #ffffff;
}

.select-arrow-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--text-muted);
  pointer-events: none;
}

.quote-section-sub {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark-charcoal);
  margin-bottom: 12px;
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
}

/* =============================================
   DIMENSIONS ROW (Width / Height)
   ============================================= */
.dimension-counter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.dim-label-main {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
}

.counter-control-wrapper {
  display: flex;
  align-items: center;
  background-color: #f1f5f9;
  border-radius: 12px;
  padding: 4px;
}

.counter-btn {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: none;
  background-color: #ffffff;
  color: var(--dark-charcoal);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
  transition: var(--transition-smooth);
}

.counter-btn:active {
  transform: scale(0.92);
}

.counter-input {
  width: 50px;
  border: none;
  outline: none;
  background-color: transparent;
  text-align: center;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-charcoal);
  appearance: none;
}

/* Remove spin buttons from number input */
.counter-input::-webkit-outer-spin-button,
.counter-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* =============================================
   QUALITY OPTION BUTTONS
   ============================================= */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.quality-option-btn {
  background-color: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  font-family: var(--font-family);
  transition: var(--transition-smooth);
}

.quality-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark-charcoal);
}

.quality-rate {
  font-size: 11px;
  color: var(--text-muted);
}

.quality-option-btn.active {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(11, 128, 67, 0.2);
}

.quality-option-btn.active .quality-title,
.quality-option-btn.active .quality-rate {
  color: #ffffff;
}

/* =============================================
   ESTIMATED PRICE BOX PANEL
   ============================================= */
.estimated-price-box {
  background-color: #f8fafc;
  border-radius: 16px;
  border: 1px solid #edf2f7;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.price-box-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-box-value {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark-charcoal);
  margin-top: 4px;
}

.price-box-approx {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  margin-bottom: 14px;
}

.price-bullets-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  width: 100%;
  border-top: 1px solid #edf2f7;
  padding-top: 12px;
}

.price-bullet-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

.green-bullet {
  color: var(--primary-green);
  font-size: 14px;
}

/* =============================================
   REQUEST BUTTON
   ============================================= */
.request-quote-btn {
  width: 100%;
  height: 52px;
  border-radius: 14px;
  background-color: var(--primary-green);
  color: #ffffff;
  border: none;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(11, 128, 67, 0.25);
  transition: var(--transition-smooth);
}

.request-quote-btn:hover {
  background-color: #096836;
  transform: translateY(-1px);
}

.request-quote-btn:active {
  transform: translateY(0);
}

/* =============================================
   DESKTOP RESPONSIVE STYLE
   ============================================= */
@media (min-width: 768px) {
  .quote-tab-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 40px;
  }

  .quote-content-container {
    padding: 0;
  }

  .quote-card-panel {
    max-width: 550px;
    margin: 0 auto;
    padding: 30px;
  }
}
