.calc-panel {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.input-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

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

.input-group label {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
}

.input-group input {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: #0F172A;
  padding: 14px 16px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group input:focus {
  outline: none;
  border-color: #0B57D0;
  box-shadow: 0 0 10px rgba(11, 87, 208, 0.2);
  background: #FFFFFF;
}

.result-highlight {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 20px;
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.result-highlight span {
  color: #059669;
  font-size: 16px;
  font-weight: 700;
}

.result-highlight strong {
  color: #0F172A;
  font-size: 32px;
  font-weight: 900;
}

.paywall-panel {
  background: #F8FAFC;
  border-color: rgba(13, 148, 136, 0.3);
}

.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.platform-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.platform-card h3 {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-weight: 600;
}

.price-val {
  font-size: 28px;
  font-weight: 900;
  color: #0F172A;
}

.calc-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #072138;
  font-size: 12.5px;
  line-height: 1.5;
}

.calc-error {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
  font-size: 13px;
  font-weight: 600;
  display: none;
}

.premium-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.fee-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.fee-presets-label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
}

.fee-preset-btn {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #0F172A;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fee-preset-btn:hover {
  border-color: #0B57D0;
  background: #EFF6FF;
  color: #0B57D0;
}

.fee-preset-btn.active {
  background: #0B57D0;
  color: #FFFFFF;
  border-color: #0B57D0;
}

.fee-cpf-toggle.active {
  background: #072138;
  color: #FFFFFF;
  border-color: #072138;
}

.shopee-range-alert {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #EFF6FF;
  border: 1px solid #93C5FD;
  color: #072138;
  font-size: 12.5px;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.apply-tier-btn {
  align-self: flex-start;
  background: #0B57D0;
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.pdf-summary-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.pdf-summary-title {
  font-size: 14px;
  font-weight: 800;
  color: #072237;
  margin-bottom: 4px;
}

.pdf-summary-meta {
  font-size: 12.5px;
  color: #475569;
  margin-bottom: 6px;
}

.pdf-summary-base {
  font-size: 13.5px;
  color: #0D5C4D;
  font-weight: 700;
}

.pdf-summary-disclaimer {
  margin-top: 14px;
  font-size: 11.5px;
  color: #64748B;
  line-height: 1.45;
}

@media (max-width: 640px) {
  .calc-panel {
    padding: 20px 16px !important;
    border-radius: 18px;
  }
  .result-highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
  }
  .result-highlight span {
    font-size: 14.5px;
  }
  .result-highlight strong {
    font-size: 26px;
  }
  .premium-grid {
    grid-template-columns: 1fr;
  }
}
