/* =========================================================
   Vyapsetu — GST Late Fee Calculator & Tool Layout Styles
   (extends css/style.css and css/gst-calculator.css)
   ========================================================= */
.mt-48 { margin-top: 48px; }

.lf-hero { padding-bottom: 84px; }
.lf-hero .tool-lead { margin-bottom: 0; }
.lf-calc-section { margin-top: -52px; padding-top: 0; position: relative; z-index: 2; }

/* Form controls */
.input-box {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #ffffff;
  font-size: 15.5px;
  font-weight: 600;
  font-family: inherit;
  color: var(--navy-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-box:focus {
  outline: none;
  border-color: var(--brand-indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.14);
}

select.input-box {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23475569' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
}

.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
}

.hint {
  font-size: 12.5px;
  color: var(--slate-500);
  margin-top: 6px;
}

.readonly-box {
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px dashed var(--border-strong);
  font-size: 19px;
  font-weight: 800;
  color: var(--navy-900);
}

#lfForm .field-error {
  margin: 0 0 12px;
}

.lf-calc-section .calc-form h3 {
  margin-bottom: 20px;
}

/* Result status banner */
.lf-status {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 14px;
}

.lf-status.ok {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(52, 211, 153, 0.45);
}

.lf-status.late {
  background: rgba(255, 255, 255, 0.08);
}

.lf-status.capped {
  border-color: #fbbf24;
}

/* Article + Sidebar */
.lf-content-section {
  padding-top: 32px;
}

.lf-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

.lf-article h2.left {
  font-size: 28px;
}

.lf-side {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.side-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.side-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-900);
  line-height: 1.35;
  margin-bottom: 12px;
}

.app-card {
  background: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);
  border-color: rgba(79, 70, 229, 0.25);
  text-align: center;
}

.app-card p {
  font-size: 14px;
  color: var(--slate-600);
  margin-bottom: 16px;
}

.popular li {
  border-bottom: 1px solid var(--border-color);
}

.popular li:last-child {
  border-bottom: 0;
}

.popular a {
  display: block;
  padding: 11px 0;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy-800);
  transition: color 0.2s ease, padding 0.2s ease;
}

.popular a:hover {
  color: var(--brand-indigo);
  padding-left: 6px;
}

.lf-promo {
  margin-top: 40px;
  border-radius: 22px;
  padding: 36px;
  color: #ffffff;
  background:
    radial-gradient(75% 90% at 90% 15%, rgba(124, 58, 237, 0.42) 0%, transparent 65%),
    radial-gradient(65% 80% at 10% 90%, rgba(37, 99, 235, 0.36) 0%, transparent 65%),
    var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-lg);
}

.lf-promo p {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 18px;
  max-width: 500px;
  color: #ffffff;
}

.fee-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 20px 0;
}

.fee-card {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 22px;
  background: #ffffff;
  transition: all 0.25s ease;
}

.fee-card:hover {
  border-color: var(--brand-indigo);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.fee-tag {
  display: inline-block;
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 12px;
}

.fee-tag.nil {
  background: var(--navy-800);
}

.fee-card p {
  font-size: 14.5px;
  color: var(--slate-600);
}

.fee-card strong {
  color: var(--navy-900);
}

.steps-list {
  margin-top: 16px;
  counter-reset: s;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.steps-list li {
  counter-increment: s;
  position: relative;
  padding: 15px 18px 15px 62px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  font-size: 14.5px;
  background: #ffffff;
  color: var(--slate-600);
}

.steps-list li::before {
  content: counter(s);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-gradient);
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
}

.steps-list strong {
  color: var(--navy-900);
}

.lf-faq {
  margin-top: 20px;
}

.lf-footer-cta {
  padding: 12px 0 64px;
}

@media (max-width: 992px) {
  .lf-layout { grid-template-columns: 1fr; gap: 36px; }
  .lf-side { position: static; }
  .fee-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .lf-hero { padding-bottom: 70px; }
  .lf-calc-section { margin-top: -40px; }
  .lf-article h2.left { font-size: 24px; }
  .lf-promo { padding: 26px 22px; }
  .lf-promo p { font-size: 18px; }
  .two-col { grid-template-columns: 1fr 1fr; }
}
