/* ============================================
   CALCULATOR REDESIGN - MODERN STYLING
   ============================================ */

/* Calculator Container */
.calculator.summaryCalculator {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid #E5E7EB;
  max-width: 400px;
}

/* Header Section */
.summaryHead {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #1E293B !important;
  text-align: center !important;
  margin-bottom: 4px !important;
  border-bottom: none !important;
  padding-bottom: 0 !important;
  letter-spacing: -0.3px;
}

/* Add subtitle under header */
.summaryHead + p,
.calculator .subtitle-text {
  font-size: 14px;
  color: #64748B;
  text-align: center;
  margin-bottom: 28px;
  margin-top: 4px;
  font-weight: 400;
}

/* Price Breakdown Section */
.pricingBreakDownNew .singlePriceDetail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #F1F5F9;
}

.pricingBreakDownNew .singlePriceDetail:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.pricingBreakDownNew .singlePriceDetail .head {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #475569 !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

.pricingBreakDownNew .singlePriceDetail .bonusPrice {
  font-size: 17px !important;
  font-weight: 600 !important;
  color: #1E293B !important;
  margin: 0 !important;
}

/* Add-ons Section */
.pricingBreakDownNew.noBorder .subTotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding: 0;
}

.pricingBreakDownNew.noBorder .subTotal .head {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #64748B !important;
  line-height: 1.4 !important;
  margin: 0 !important;
}

.pricingBreakDownNew.noBorder .subTotal .head2 {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #475569 !important;
}

.pricingBreakDownNew.noBorder .subTotal .headDesc {
  font-size: 12px !important;
  color: #10B981 !important;
  font-weight: 600 !important;
  margin-top: 4px !important;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.pricingBreakDownNew.noBorder .subTotal .bonusPrice {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #1E293B !important;
  text-align: right;
}

.pricingBreakDownNew.noBorder .subTotal .bonusPrice.decorated {
  font-size: 14px !important;
  text-decoration: line-through;
  text-decoration-color: #94A3B8;
  color: #94A3B8 !important;
  font-weight: 400 !important;
  margin-bottom: 4px;
}

/* FREE badge styling */
.pricingBreakDownNew.noBorder .subTotal .bonusPrice.bigger {
  color: #10B981 !important;
  font-weight: 700 !important;
}

/* Subtotal Section */
.subTotal.original {
  padding: 20px 0 !important;
  border-top: 1px solid #E5E7EB !important;
  border-bottom: none !important;
  margin-top: 20px !important;
  margin-bottom: 0 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.subTotal.original .head {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  margin: 0 !important;
}

.subTotal.original span.real {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #1E293B !important;
}

/* Prepay Checkbox Section */
.prepayCheck {
  padding: 16px 0 !important;
  border-bottom: 1px solid #E5E7EB;
}

.prepayCheck .prepayTxt {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #475569 !important;
}

/* Total Section - Estimated Price Highlight */
.totalCal {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 32px 0 !important;
  margin-bottom: 0px;
  text-align: center;
  border-bottom: 1px solid #E5E7EB;
}

.totalCal .head,
.totalCal .totalHead {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #64748B !important;
  margin: 0 0 12px 0 !important;
  text-align: center;
  display: block;
}

.totalCal span.real,
.totalCal .totalPrice {
  font-size: 56px !important;
  font-weight: 700 !important;
  color: #2563EB !important;
  letter-spacing: -1.5px;
  display: block !important;
  text-align: center;
  line-height: 1 !important;
  margin: 0 !important;
}

.totalCal p {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Price per essay text */
.calculator .per-essay-text {
  font-size: 15px;
  color: #64748B;
  text-align: center;
  margin-top: 8px;
  font-weight: 500;
}

/* Price Unlock Section */
.price-unlock-section {
  background: #F8FAFC;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #E5E7EB;
}

.price-unlock-section .lock-icon {
  width: 48px;
  height: 48px;
  background: #E5E7EB;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-unlock-section .lock-icon svg {
  width: 24px;
  height: 24px;
  stroke: #64748B;
  color: #64748B;
}

.price-unlock-section .unlock-text {
  font-size: 14px;
  color: #64748B;
  text-align: center;
  margin: 0;
  font-weight: 500;
  line-height: 1.5;
}

/* Payment Methods Section */
.paymentsBy {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #E5E7EB;
}

.paymentsBy > p {
  font-size: 13px !important;
  color: #64748B !important;
  text-align: center;
  margin-bottom: 16px !important;
  font-weight: 500;
}

.paymentsBy .paymentMethods {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.paymentsBy .paymentMethods img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

/* Security Badge */
.calculator .security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  background: #F8FAFC;
  border-radius: 8px;
  font-size: 13px;
  color: #475569;
}

.calculator .security-badge svg {
  width: 16px;
  height: 16px;
  fill: #10B981;
}

/* Money-back and No hidden fees badges */
.calculator .trust-badges,
.imagesWrapper .trust-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
  padding-top: 0;
  border-top: none;
}

.calculator .trust-badges .badge,
.imagesWrapper .trust-badges .badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #475569;
  font-weight: 500;
}

.calculator .trust-badges .badge svg,
.imagesWrapper .trust-badges .badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.calculator .trust-badges .badge.money-back svg,
.imagesWrapper .trust-badges .badge.money-back svg {
  stroke: #10B981;
  color: #10B981;
}

.calculator .trust-badges .badge.no-fees svg,
.imagesWrapper .trust-badges .badge.no-fees svg {
  stroke: #10B981;
  color: #10B981;
}

/* Add wrapper for the breakdown items list */
.calculator .breakdown-list {
  padding: 24px 0;
  margin: 0;
}

.calculator .breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #F1F5F9;
}

.calculator .breakdown-item:last-child {
  border-bottom: none;
}

.calculator .breakdown-item .label {
  font-size: 15px;
  font-weight: 500;
  color: #475569;
  line-height: 1.5;
}

.calculator .breakdown-item .value {
  font-size: 16px;
  font-weight: 600;
  color: #1E293B;
  text-align: right;
}

.calculator .breakdown-item .value.free {
  color: #10B981;
  font-weight: 700;
}

.calculator .breakdown-item .sub-label {
  font-size: 12px;
  color: #10B981;
  font-weight: 600;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Continue Button */
.orderBtns a.nextBtn,
.calculator .orderBtns a.nextBtn {
  width: 100%;
  background: #2563EB !important;
  color: #FFFFFF !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  padding: 18px 24px !important;
  border-radius: 12px !important;
  border: none !important;
  cursor: pointer;
  transition: all 0.2s;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.orderBtns a.nextBtn:hover,
.calculator .orderBtns a.nextBtn:hover {
  background: #1D4ED8 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35) !important;
}

.orderBtns a.nextBtn svg,
.calculator .orderBtns a.nextBtn svg {
  width: 18px;
  height: 18px;
  fill: white;
}

.calculator .continue-btn {
  width: 100%;
  background: #2563EB;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  padding: 18px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  margin-top: 28px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.calculator .continue-btn:hover {
  background: #1D4ED8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.calculator .continue-btn svg {
  width: 18px;
  height: 18px;
  fill: white;
}

/* Package Buying Section (Wallet Plans) */
.packageBuying {
  background: #F8FAFC;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  border: 1px solid #E5E7EB;
}

.packageBuying .singlePriceDetail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #E5E7EB;
}

.packageBuying .singlePriceDetail:last-child {
  border-bottom: none;
  font-weight: 600;
}

.packageBuying .singlePriceDetail .head {
  font-size: 14px;
  font-weight: 500;
  color: #475569;
}

.packageBuying .singlePriceDetail strong {
  font-weight: 700;
  color: #1E293B;
}

.packageBuying .singlePriceDetail .bonusPrice {
  font-size: 16px;
  font-weight: 600;
  color: #1E293B;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .calculator.summaryCalculator {
    max-width: 100%;
    padding: 24px 20px;
  }

  .summaryHead {
    font-size: 20px !important;
  }

  .totalCal span.real {
    font-size: 24px !important;
  }
}
