body.emi-public-page {
  background: #eef1f8;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body.emi-public-page .nav-bar-c .cta-btn a {
  background: #ea580c;
  border-radius: 9px;
  font-weight: 600;
  padding: 0.5rem 1.1rem !important;
}

.emi-page {
  min-height: calc(100vh - 80px);
  padding: 28px 16px 56px;
}

.emi-page [v-cloak] {
  display: none;
}

.emi-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.emi-alert {
  max-width: 720px;
  margin: 0 auto 16px;
  border-radius: 12px;
  border: 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.emi-alert .emi-alert-meta {
  margin-top: 6px;
  font-size: 14px;
}

.emi-hero {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.emi-hero-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(145deg, #f97316, #ea580c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.35);
}

.emi-hero h1 {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 700;
  color: #1a1f36;
  letter-spacing: -0.02em;
}

.emi-hero p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
}

.emi-card {
  background: #fff;
  border: 1px solid #e4e8f0;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  display: block;
}

.emi-card-head {
  background: linear-gradient(135deg, #1a1f36 0%, #2d3561 100%);
  color: #fff;
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.emi-card-body {
  padding: 24px;
}

.emi-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 8px;
}

.emi-input-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.emi-input-row .form-control {
  flex: 1 1 260px;
  height: 48px;
  border-radius: 10px;
  border-color: #cbd5e1;
  font-size: 16px;
}

.emi-input-row .form-control:focus {
  border-color: #ea580c;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.emi-btn {
  height: 48px;
  min-width: 128px;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  padding: 0 22px;
  cursor: pointer;
}

.emi-btn-primary {
  background: #1a56db;
  color: #fff;
}

.emi-btn-primary:hover,
.emi-btn-primary:focus {
  background: #1648b8;
  color: #fff;
}

.emi-btn-pay {
  background: linear-gradient(145deg, #f97316, #ea580c);
  color: #fff;
  min-width: 220px;
  height: 52px;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.28);
}

.emi-btn-pay:hover,
.emi-btn-pay:focus {
  background: linear-gradient(145deg, #fb923c, #c2410c);
  color: #fff;
}

.emi-btn-autopay {
  background: #fff;
  color: #1e3a8a;
  border: 2px solid #1e3a8a;
  min-width: 220px;
  height: 52px;
  font-size: 16px;
  margin-top: 10px;
}

.emi-btn-autopay:hover,
.emi-btn-autopay:focus {
  background: #eff6ff;
  color: #1e3a8a;
}

.emi-autopay-on {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.emi-error {
  margin-top: 12px;
  color: #b91c1c;
  font-size: 14px;
  font-weight: 600;
}

.emi-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 22px 0 8px;
}

@media (min-width: 640px) {
  .emi-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.emi-stat {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
}

.emi-stat span {
  display: block;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 4px;
  font-weight: 600;
}

.emi-stat strong {
  font-size: 16px;
  color: #0f172a;
  word-break: break-word;
  font-weight: 700;
}

.emi-pay-box {
  border: 1px solid #ffedd5;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
  border-radius: 14px;
  padding: 18px 20px;
  margin-top: 16px;
}

.emi-pay-box h3 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9a3412;
}

.emi-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  font-size: 15px;
  color: #334155;
  border-bottom: 1px dashed #fed7aa;
}

.emi-line:last-of-type {
  border-bottom: 0;
}

.emi-line strong {
  color: #0f172a;
  font-variant-numeric: tabular-nums;
}

.emi-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  padding: 14px 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: #1a1f36;
  border-top: 1px solid #fed7aa;
}

.emi-pay-actions {
  text-align: center;
  margin-top: 18px;
}

.emi-secure {
  margin-top: 10px;
  font-size: 13px;
  color: #64748b;
}

.emi-ineligible {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 16px;
  line-height: 1.5;
}

.emi-passbook {
  margin-top: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.emi-passbook-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 16px 8px;
}

.emi-passbook-head h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a1f36;
}

.emi-passbook-head span {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.emi-passbook-table-wrap {
  overflow-x: auto;
}

.emi-passbook-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.emi-passbook-table th {
  text-align: left;
  padding: 8px 12px;
  color: #64748b;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-top: 1px solid #e2e8f0;
  background: #f1f5f9;
}

.emi-passbook-table td {
  padding: 10px 12px;
  color: #0f172a;
  border-top: 1px solid #e2e8f0;
  white-space: nowrap;
}

.emi-paid-tag {
  display: inline-block;
  background: #dcfce7;
  color: #166534;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 2px 8px;
}

.emi-paid-tag-off {
  background: #e2e8f0;
  color: #475569;
}

.emi-processing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1a56db;
  font-weight: 600;
  height: 48px;
  padding: 0 8px;
}

.emi-form-error {
  margin-top: 10px;
  color: #b91c1c;
  font-size: 13px;
  font-weight: 600;
}

.emi-line-fine {
  align-items: flex-start;
}

.emi-fine-hint {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 500;
  color: #9a3412;
  text-transform: none;
  letter-spacing: 0;
}

.emi-fine-edit {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #0f172a;
}

.emi-fine-input {
  width: 110px;
  height: 40px;
  border: 1px solid #fdba74;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.emi-fine-input:focus {
  outline: 0;
  border-color: #ea580c;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.emi-notice {
  border-radius: 10px;
  padding: 12px 14px;
  margin: 12px 0 4px;
  line-height: 1.5;
}

.emi-notice p {
  margin: 0;
}

.emi-notice-hi {
  font-size: 14px;
  font-weight: 600;
}

.emi-notice-en {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.92;
}

.emi-notice-warn {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.emi-notice-info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e3a8a;
}
