
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --background: #f3f5f9;
  --surface: #ffffff;
  --text: #172033;
  --muted: #64748b;
  --border: #e2e8f0;
  --green: #059669;
  --red: #dc2626;
}

* {
  box-sizing: border-box;
}

.header-frame {
    width: 100%;
    height: auto;
    margin: 0 auto;
    border: none;
    display: block;
    background: #111827;
}

.calculator-frame {
    width: 100%;
    max-width: 680px;
    height: auto;
    min-height: 0;
    margin: 0 auto;
    border: none;
    display: block;
}

.selection-frame {
    width: 100%;
    max-width: 680px;
    height: auto;
    min-height: 0;
    margin: 0 auto 24px;
    border: none;
    display: block;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  /* background: var(--primary); */
  border-radius: 10px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
}

.brand h2 {
  margin: 0;
  font-size: 19px;
}

.brand span {
  color: #aebbd0;
  font-size: 12px;
}

.free-badge {
  background: #14532d;
  color: #bbf7d0;
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 45px 22px;
}

.intro {
  margin-bottom: 32px;
}

.eyebrow, .step-label {
  color: var(--primary);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1px;
}

.intro h1 {
  font-size: clamp(30px, 5vw, 42px);
  margin: 10px 0;
  letter-spacing: -1.5px;
}

.intro p, .section-heading p {
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}


.seller-section h3, .info-section h3 {
  font-size: 16px;
  margin-bottom: 14px;
}

.seller-status {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.seller-status.coming {
  color: #b45309;
}

.calculator-card, .results-card, .info-section {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 5px 20px rgba(15, 23, 42, .035);
}


.calculator-icon, .result-icon {
  font-size: 27px;
  background: #eff6ff;
  padding: 12px;
  border-radius: 12px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: flex;
  justify-content: space-between;
  font-weight: 650;
  font-size: 14px;
  margin-bottom: 9px;
}

.form-group label span {
  color: var(--muted);
}

.form-group input {
  width: 100%;
  padding: 15px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  color: var(--text);
  background: white;
}

.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px #2563eb18;
}

.form-group small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 7px;
}


.result-list {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.result-row {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.result-row:last-child {
  border: none;
}

.highlight-row {
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
}

.profit-box {
  background: #ecfdf5;
  padding: 22px;
  border-radius: 12px;
  margin-top: 20px;
  color: #047857;
}

.profit-box.negative {
  background: #fef2f2;
  color: #b91c1c;
}

.profit-box h2 {
  font-size: 34px;
  margin: 9px 0;
}

.profit-box span {
  font-size: 13px;
}

.result-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.copy-btn {
  background: #111827;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 9px;
  cursor: pointer;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-item span {
  color: var(--primary);
  font-weight: 800;
  font-size: 12px;
}

.info-item strong {
  display: block;
  margin: 8px 0;
}

.info-item p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.coming-soon-content {
  text-align: center;
  padding: 35px 10px;
}

.coming-icon {
  font-size: 40px;
  margin-bottom: 18px;
}

.coming-soon-content h2 {
  margin: 12px 0;
}

.coming-soon-content p {
  color: var(--muted);
  max-width: 450px;
  margin: 0 auto;
  line-height: 1.6;
}

footer {
  text-align: center;
  color: var(--muted);
  padding: 20px 0;
  font-size: 13px;
}

footer p {
  font-weight: 700;
  color: var(--text);
}

.hidden {
  display: none !important;
}

button:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
}

@media (max-width: 600px) {
  .container {
    padding: 30px 15px;
  }

  .calculator-card, .results-card, .info-section {
    padding: 19px;
  }

  .seller-options {
    grid-template-columns: 1fr;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .button-group {
    flex-direction: column;
  }

  .result-row {
    font-size: 13px;
  }
}


/* Business Seller Calculator */


/* Shared calculator section styling */

.calculator-section {
  width: 100%;
  background: #ffffff;
  padding: 25px;
  box-sizing: border-box;
  color: #101b32;
  font-family: inherit;
}

.calculator-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 46px;
  gap: 20px;
}

.step-label {
  display: block;
  color: #2860ed;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.calculator-heading h2 {
  color: #101b32;
  font-size: 32px;
  font-weight: 750;
  margin: 0 0 15px;
}

.calculator-heading p {
  color: #60738f;
  font-size: 23px;
  margin: 0;
}

.calculator-icon {
  width: 92px;
  height: 90px;
  border-radius: 20px;
  background: #eff5ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  flex-shrink: 0;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #101b32;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 13px;
}

.form-group label span {
  color: #60738f;
}

.form-group input,
.form-group select {
  width: 100%;
  height: 75px;
  box-sizing: border-box;
  border: 1px solid #cbd7e8;
  border-radius: 15px;
  padding: 0 22px;
  background: #ffffff;
  color: #101b32;
  font-family: inherit;
  font-size: 21px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #2860ed;
  box-shadow: 0 0 0 3px rgba(40, 96, 237, 0.10);
}

.form-group small {
  color: #60738f;
  font-size: 16px;
  margin-top: 12px;
}

.calculator-actions {
  display: flex;
  gap: 15px;
  margin-top: 42px;
}

.calculate-button {
  flex: 1;
  min-height: 65px;
  background: #2860ed;
  color: #ffffff;
  border: none;
  border-radius: 15px;
  font-size: 21px;
  font-weight: 750;
  cursor: pointer;
}

.calculate-button:hover {
  background: #194ed5;
}

.clear-button {
  min-width: 115px;
  padding: 0 25px;
  min-height: 65px;
  background: #f2f5fa;
  color: #101b32;
  border: 1px solid #dce4ef;
  border-radius: 15px;
  font-size: 19px;
  cursor: pointer;
}

.business-error {
  color: #d93025;
  font-size: 15px;
  margin-top: 15px;
}

.business-results {
  margin-top: 35px;
  padding: 25px;
  border: 1px solid #dce4ef;
  border-radius: 16px;
  background: #ffffff;
}

.business-results h3 {
  font-size: 24px;
  margin: 0 0 22px;
  color: #101b32;
}

.business-result-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid #edf0f5;
  font-size: 17px;
}

.business-result-row span {
  color: #60738f;
}

.business-result-row strong {
  color: #101b32;
  text-align: right;
}

.total-row {
  font-weight: 750;
}

.profit-row strong {
  color: #16834a;
  font-size: 22px;
}

@media (max-width: 650px) {
  .calculator-section {
    padding: 18px;
  }

  .calculator-heading h2 {
    font-size: 26px;
  }

  .calculator-heading p {
    font-size: 17px;
  }

  .calculator-icon {
    width: 60px;
    height: 60px;
    font-size: 25px;
  }

  .form-group input,
  .form-group select {
    height: 62px;
    font-size: 17px;
  }

  .calculator-actions {
    flex-direction: column;
  }

  .clear-button {
    width: 100%;
  }
}

@media (max-width: 600px) {

  .selection-frame {
    width: 90%;
    height: 500px;
  }

  .calculator-frame {
    width: 90%;
  }

  .seller-section {
      margin-bottom: 24px;
  }

  .calculator-frame {
      margin-top: 20px;
  }
}
