/* E-Sevai Bank Match */
.es-bm-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 4px 40px;
}

.es-bm-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 22px;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(56, 189, 248, 0.28), transparent 50%),
    linear-gradient(135deg, #0c4a6e 0%, #0f766e 55%, #0369a1 100%);
  box-shadow: 0 22px 48px -26px rgba(12, 74, 110, 0.55);
  margin-bottom: 14px;
}

.es-bm-hero__eyebrow {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff !important;
  opacity: 0.95;
}

.es-bm-hero h2 {
  margin: 0;
  font-family: "Sora", "Outfit", "Noto Sans Tamil", sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.es-bm-hero__sub {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #f0fdfa !important;
  opacity: 0.98;
  max-width: 48ch;
  line-height: 1.45;
}

.es-bm-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(10, 70, 55, 0.12);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 14px 36px -26px rgba(15, 118, 110, 0.35);
}

.es-bm-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.es-bm-filters label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
}

.es-bm-filters input,
.es-bm-filters select {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 10px;
  font-weight: 700;
  min-width: 120px;
  background: #fff;
}

.es-bm-upload {
  border: 2px dashed #99f6e4;
  background: #f0fdfa;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
}

.es-bm-upload input[type="file"] {
  margin-top: 8px;
  font-size: 13px;
}

.es-bm-upload__tip {
  margin: 8px 0 0;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  line-height: 1.45;
}

.es-bm-status {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  color: #0f766e;
}

.es-bm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.es-bm-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.es-bm-kpi {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
}

.es-bm-kpi--ok {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.es-bm-kpi--warn {
  background: #fff7ed;
  border-color: #fed7aa;
}

.es-bm-kpi--bad {
  background: #fef2f2;
  border-color: #fecaca;
}

.es-bm-kpi span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: #64748b;
}

.es-bm-kpi b {
  font-family: "Sora", sans-serif;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.es-bm-summary {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  line-height: 1.45;
}

.es-bm-summary .warn {
  color: #c2410c;
}

.es-bm-summary .ok {
  color: #15803d;
}

.es-bm-sec {
  margin-bottom: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.es-bm-sec__hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.es-bm-sec__hd h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
}

.es-bm-sec--warn .es-bm-sec__hd {
  background: #fff7ed;
}

.es-bm-sec--bad .es-bm-sec__hd {
  background: #fef2f2;
}

.es-bm-sec--ok .es-bm-sec__hd {
  background: #f0fdf4;
}

.es-bm-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.es-bm-table th,
.es-bm-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
  vertical-align: top;
}

.es-bm-table th {
  font-size: 10px;
  text-transform: uppercase;
  color: #64748b;
  background: #fafafa;
}

.es-bm-table .num {
  text-align: right;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.es-bm-side {
  font-size: 10px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.es-bm-side--credit {
  background: #dcfce7;
  color: #166534;
}

.es-bm-side--debit {
  background: #ffedd5;
  color: #c2410c;
}

.es-bm-act {
  border: 1px solid #99f6e4;
  background: #f0fdfa;
  color: #0f766e;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.es-bm-empty {
  padding: 16px;
  text-align: center;
  color: #94a3b8;
  font-weight: 700;
  font-size: 12px;
}

.es-bm-preview-wrap {
  max-height: 240px;
  overflow: auto;
  margin-top: 10px;
}

.es-bm-pos-seed {
  grid-column: 1 / -1;
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 55%, #fff7ed 100%);
  border: 1px solid #99f6e4;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.es-bm-pos-seed b {
  color: #0f766e;
  font-size: 13px;
}
.es-bm-pos-seed span {
  font-weight: 800;
  color: #9a3412;
  font-size: 14px;
}
.es-bm-pos-seed small {
  color: #64748b;
  font-size: 11px;
}
.es-bm-pos-seed p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #334155;
  font-weight: 600;
}
.es-bm-amt-list {
  margin-top: 4px;
}

@media (max-width: 800px) {
  .es-bm-kpis {
    grid-template-columns: 1fr 1fr;
  }
}
