﻿:root {
  --ink: #1b2b34;
  --accent: #e4572e;
  --accent-2: #0f4c5c;
  --paper: #f6f1e7;
}

body {
  font-family: "Noto Sans Bengali", "Segoe UI", system-ui, sans-serif;
  background: radial-gradient(circle at top left, #fff2da 0%, transparent 45%),
    radial-gradient(circle at top right, #d8f0ef 0%, transparent 50%),
    linear-gradient(180deg, #f6f1e7 0%, #f0e8da 100%);
  color: var(--ink);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, #f3b63a 100%);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.brand-title {
  font-weight: 600;
}

.role-pill {
  background: rgba(15, 76, 92, 0.12);
  color: var(--accent-2);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-section {
  padding: 48px 0 32px;
}

.badge-soft {
  background: rgba(15, 76, 92, 0.1) !important;
  color: var(--accent-2);
}

.stat-card {
  background: #fff;
  padding: 16px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(24, 38, 43, 0.12);
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  display: block;
}

.stat-label {
  color: #6c757d;
  font-size: 0.9rem;
}

.card-accent {
  background: linear-gradient(135deg, #fff 0%, #f8f2e6 100%);
}

.section-space {
  padding: 56px 0;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent-2);
  font-weight: 600;
}

.service-card ul {
  padding-left: 18px;
}

.role-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(24, 38, 43, 0.12);
  height: 100%;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  padding: 18px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(24, 38, 43, 0.12);
}

.timeline-step span {
  background: var(--accent-2);
  color: #fff;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-weight: 600;
}

.site-footer {
  border-top: 1px solid rgba(27, 43, 52, 0.15);
  padding: 32px 0;
  margin-top: 40px;
  background: #fff;
}

.footer-meta {
  display: grid;
  gap: 6px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.track-form {
  display: flex;
  gap: 10px;
}

.track-form button {
  white-space: nowrap;
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-submitted {
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
}

.status-verified {
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
}

.status-approved {
  background: rgba(32, 201, 151, 0.12);
  color: #0f5132;
}

.status-rejected {
  background: rgba(220, 53, 69, 0.12);
  color: #dc3545;
}

@media (max-width: 576px) {
  .track-form {
    flex-direction: column;
  }
}

.doc-list-sm {
  margin: 0;
  padding-left: 16px;
  font-size: 0.85rem;
}
.doc-list-sm li {
  margin-bottom: 4px;
}


.form-section {
  border: 1px solid rgba(27, 43, 52, 0.12);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
}
.form-section-title {
  font-weight: 600;
  margin-bottom: 12px;
}
.form-section-subtitle {
  font-weight: 600;
  margin-top: 8px;
}
.form-required-note {
  font-size: 0.85rem;
  color: #6c757d;
}
.captcha-box {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(27, 43, 52, 0.2);
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}
.apply-links .btn {
  text-align: left;
  white-space: normal;
}


.captcha-image {
  height: 44px;
  border: 1px solid rgba(27, 43, 52, 0.2);
  border-radius: 8px;
}


/* Receipt styles */
.receipt-wrap {
  padding-top: 40px;
}

.receipt-card {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(24, 38, 43, 0.15);
  overflow: hidden;
  position: relative;
}

.receipt-card::before {
  content: "eDistrict Mini";
  position: absolute;
  top: 16px;
  right: -30px;
  font-size: 42px;
  font-weight: 700;
  color: rgba(15, 76, 92, 0.06);
  transform: rotate(-8deg);
  pointer-events: none;
}

.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fef7ea 0%, #f4fbfb 60%, #ffffff 100%);
  border-bottom: 1px solid rgba(27, 43, 52, 0.08);
}

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

.receipt-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.receipt-subtitle {
  font-size: 0.85rem;
  color: #6c757d;
}

.receipt-status {
  text-align: right;
}

.receipt-tag {
  margin-top: 6px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent-2);
}

.receipt-body {
  padding: 24px 28px 30px;
}

.receipt-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: rgba(15, 76, 92, 0.08);
  border-radius: 16px;
  margin-bottom: 20px;
}

.receipt-amount {
  font-size: 1.8rem;
  font-weight: 700;
}

.receipt-small {
  color: #6c757d;
  font-size: 0.9rem;
}

.receipt-code {
  text-align: right;
}

.receipt-code-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6c757d;
}

.receipt-code-value {
  font-weight: 700;
  font-size: 1.1rem;
}

.receipt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.receipt-panel {
  background: #fff;
  border: 1px solid rgba(27, 43, 52, 0.1);
  border-radius: 16px;
  padding: 16px 18px;
}

.receipt-panel-title {
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent-2);
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(27, 43, 52, 0.08);
}

.receipt-row:last-child {
  border-bottom: none;
}

.receipt-label {
  color: #6c757d;
  font-size: 0.9rem;
}

.receipt-value {
  font-weight: 600;
  text-align: right;
}

.receipt-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px dashed rgba(27, 43, 52, 0.12);
  padding-top: 16px;
}

.receipt-note {
  color: #6c757d;
  font-size: 0.85rem;
}

.receipt-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .receipt-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .receipt-status {
    text-align: left;
  }

  .receipt-hero {
    flex-direction: column;
    align-items: flex-start;
  }

  .receipt-grid {
    grid-template-columns: 1fr;
  }

  .receipt-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media print {
  .navbar,
  .site-footer,
  .receipt-actions {
    display: none !important;
  }

  body {
    background: #ffffff !important;
  }

  .receipt-card {
    box-shadow: none;
    border: 1px solid #e5e5e5;
  }
}

/* CSC receipt styling */
.receipt-wrap {
  padding-top: 36px;
}

.receipt-sheet {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #eadfca;
  box-shadow: 0 24px 60px rgba(24, 38, 43, 0.18);
  overflow: hidden;
  position: relative;
}

.receipt-strip {
  height: 8px;
  background: linear-gradient(90deg, #f59f00 0%, #ff922b 40%, #0f4c5c 100%);
}

.receipt-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  background: #fffaf2;
  border-bottom: 1px dashed rgba(27, 43, 52, 0.15);
}

.receipt-emblem {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: radial-gradient(circle at top left, #ffe8b5 0%, #f59f00 60%);
  color: #2b2b2b;
  font-weight: 800;
  display: grid;
  place-items: center;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  box-shadow: inset 0 0 0 2px rgba(15, 76, 92, 0.15);
}

.receipt-title {
  font-size: 1.4rem;
  font-weight: 700;
}

.receipt-subtitle {
  color: #6c757d;
  font-size: 0.9rem;
}

.receipt-meta {
  font-size: 0.82rem;
  color: #6c757d;
  margin-top: 4px;
}

.receipt-head-right {
  text-align: right;
}

.receipt-no {
  font-weight: 600;
  margin-top: 8px;
  font-size: 0.9rem;
}

.receipt-body {
  padding: 24px 26px 30px;
  background: linear-gradient(180deg, #fff 0%, #fff8ee 100%);
}

.receipt-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(15, 76, 92, 0.08);
  margin-bottom: 20px;
}

.receipt-amount {
  font-size: 2rem;
  font-weight: 700;
  color: #0f4c5c;
}

.receipt-small {
  color: #6c757d;
}

.receipt-qr {
  text-align: center;
}

.receipt-qr-box {
  width: 84px;
  height: 84px;
  background: repeating-linear-gradient(45deg, rgba(0,0,0,0.08) 0, rgba(0,0,0,0.08) 8px, transparent 8px, transparent 16px);
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  margin: 0 auto 6px;
}

.receipt-qr-text {
  font-size: 0.75rem;
  color: #6c757d;
}

.receipt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.receipt-panel {
  background: #ffffff;
  border: 1px solid rgba(27, 43, 52, 0.1);
  border-radius: 14px;
  padding: 14px 16px;
}

.receipt-panel-title {
  font-weight: 700;
  margin-bottom: 10px;
  color: #0f4c5c;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(27, 43, 52, 0.1);
}

.receipt-row:last-child {
  border-bottom: none;
}

.receipt-label {
  color: #6c757d;
  font-size: 0.9rem;
}

.receipt-value {
  font-weight: 600;
  text-align: right;
}

.receipt-note-box {
  border: 1px dashed rgba(15, 76, 92, 0.25);
  background: #f6fbfb;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
  color: #0f4c5c;
  margin-bottom: 18px;
}

.receipt-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-top: 1px dashed rgba(27, 43, 52, 0.12);
  padding-top: 16px;
}

.receipt-sign-line {
  width: 160px;
  height: 1px;
  background: #6c757d;
  margin-bottom: 6px;
}

.receipt-sign-text {
  font-size: 0.85rem;
  color: #6c757d;
}

.receipt-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .receipt-head {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .receipt-head-right {
    text-align: left;
  }
  .receipt-grid {
    grid-template-columns: 1fr;
  }
  .receipt-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media print {
  .navbar,
  .site-footer,
  .receipt-actions {
    display: none !important;
  }
  body {
    background: #fff !important;
  }
  .receipt-sheet {
    box-shadow: none;
    border: 1px solid #e5e5e5;
  }
}

/* Receipt v2 (print-style) */
.receipt-page {
  padding-top: 36px;
}

.receipt-v2 {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #eadfca;
  box-shadow: 0 28px 60px rgba(24, 38, 43, 0.18);
  overflow: hidden;
  position: relative;
}

.receipt-v2-bar {
  height: 6px;
  background: linear-gradient(90deg, #f59f00 0%, #ff7a45 45%, #1b5e20 100%);
}

.receipt-v2-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  padding: 24px 28px 18px;
  border-bottom: 1px solid rgba(15, 36, 56, 0.12);
}

.receipt-v2-title {
  font-size: 2rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  color: #0f2438;
}

.receipt-v2-org {
  margin-top: 8px;
  font-size: 0.92rem;
  color: #5c6b73;
  line-height: 1.4;
}

.receipt-v2-meta {
  text-align: right;
}

.receipt-v2-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.receipt-v2-status.is-paid {
  background: rgba(25, 135, 84, 0.14);
  color: #198754;
}

.receipt-v2-status.is-pending {
  background: rgba(255, 193, 7, 0.2);
  color: #856404;
}

.receipt-v2-meta-list {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.receipt-v2-meta-row {
  display: grid;
  grid-template-columns: 120px auto;
  gap: 10px;
  font-size: 0.8rem;
  align-items: center;
}

.receipt-v2-meta-row span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7b8794;
  font-weight: 600;
}

.receipt-v2-meta-row strong {
  color: #0f2438;
  font-weight: 700;
}

.receipt-v2-body {
  padding: 20px 28px 26px;
}

.receipt-v2-alert {
  border: 1px dashed rgba(255, 193, 7, 0.6);
  background: rgba(255, 193, 7, 0.12);
  color: #856404;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-weight: 600;
}

.receipt-v2-parties {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 18px;
}

.receipt-v2-party {
  border-left: 3px solid #0f4c5c;
  padding-left: 12px;
}

.receipt-v2-party .party-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7b8794;
  font-weight: 700;
}

.receipt-v2-party .party-value {
  margin-top: 6px;
  font-size: 0.95rem;
  color: #1b2b34;
  line-height: 1.5;
}

.receipt-v2-table {
  margin-top: 6px;
  border-top: 2px solid #0f2438;
  padding-top: 8px;
  overflow-x: auto;
}

.receipt-v2-table-inner {
  min-width: 560px;
}

.receipt-v2-table-head,
.receipt-v2-table-row {
  display: grid;
  grid-template-columns: 60px 1fr 140px 140px;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
}

.receipt-v2-table-head {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: #6c757d;
  border-bottom: 1px solid rgba(15, 36, 56, 0.12);
  font-weight: 700;
}

.receipt-v2-table-row {
  border-bottom: 1px dashed rgba(15, 36, 56, 0.12);
  font-size: 0.95rem;
}

.receipt-v2-muted {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.82rem;
  color: #6c757d;
}

.receipt-v2-table-total {
  margin-top: 12px;
  width: 280px;
  margin-left: auto;
  display: grid;
  gap: 6px;
}

.receipt-v2-table-total .line {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}

.receipt-v2-table-total .total {
  border-top: 2px solid #0f2438;
  padding-top: 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.receipt-v2-brush {
  position: relative;
  height: 140px;
  margin: 20px 0 10px;
}

.receipt-v2-brush .brush {
  position: absolute;
  left: -10%;
  right: -10%;
  height: 30px;
  border-radius: 999px;
  filter: blur(0.2px);
}

.receipt-v2-brush .brush.saffron {
  top: 10px;
  background: linear-gradient(90deg, rgba(255, 153, 51, 0.9) 0%, rgba(255, 153, 51, 0.2) 70%, transparent 100%);
}

.receipt-v2-brush .brush.white {
  top: 52px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.2) 70%, transparent 100%);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.receipt-v2-brush .brush.green {
  top: 94px;
  background: linear-gradient(90deg, rgba(19, 136, 8, 0.8) 0%, rgba(19, 136, 8, 0.2) 70%, transparent 100%);
}

.receipt-v2-brush .ashoka {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid #1a4b8c;
  left: 50%;
  top: 36px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle, transparent 55%, #1a4b8c 56%, #1a4b8c 58%, transparent 59%),
    conic-gradient(#1a4b8c 0 2deg, transparent 2deg 15deg);
}

.receipt-v2-brush .signature {
  position: absolute;
  right: 20px;
  bottom: 6px;
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 1.15rem;
  color: #0f2438;
}

.receipt-v2-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-top: 8px;
}

.receipt-v2-terms {
  font-size: 0.85rem;
  color: #5c6b73;
  line-height: 1.5;
}

.receipt-v2-terms .terms-title {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: #0f2438;
  margin-bottom: 6px;
}

.receipt-v2-thanks {
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: 1.8rem;
  color: #0f2438;
}

.receipt-v2 .receipt-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .receipt-v2-top {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .receipt-v2-meta {
    text-align: left;
  }

  .receipt-v2-meta-row {
    grid-template-columns: 120px 1fr;
  }

  .receipt-v2-parties {
    grid-template-columns: 1fr;
  }

  .receipt-v2-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .receipt-v2-title {
    letter-spacing: 0.1em;
    font-size: 1.6rem;
  }

  .receipt-v2-table-total {
    width: 100%;
  }
}

@media print {
  .navbar,
  .site-footer,
  .receipt-actions {
    display: none !important;
  }

  body {
    background: #ffffff !important;
  }

  .receipt-v2 {
    box-shadow: none;
    border: 1px solid #e5e5e5;
  }
}

/* Receipt minimal */
.receipt-min {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(15, 36, 56, 0.12);
  box-shadow: 0 18px 40px rgba(24, 38, 43, 0.12);
  padding: 24px 26px;
}

.receipt-min-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(15, 36, 56, 0.08);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.receipt-min-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f2438;
}

.receipt-min-subtitle {
  font-size: 0.9rem;
  color: #6c757d;
}

.receipt-min-status {
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.receipt-min-status.is-paid {
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
}

.receipt-min-status.is-pending {
  background: rgba(255, 193, 7, 0.2);
  color: #856404;
}

.receipt-min-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.receipt-min-block {
  border: 1px dashed rgba(15, 36, 56, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fafafa;
}

.receipt-min-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7b8794;
  font-weight: 600;
}

.receipt-min-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: #0f2438;
  margin-top: 4px;
  word-break: break-word;
}

.receipt-min-total {
  margin-top: 18px;
  border-top: 2px solid #0f2438;
  padding-top: 12px;
  max-width: 320px;
  margin-left: auto;
  display: grid;
  gap: 6px;
}

.receipt-min-total .line {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}

.receipt-min-total .total {
  font-size: 1.05rem;
  font-weight: 700;
}

.receipt-min-payment {
  margin-top: 18px;
}

.receipt-min-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .receipt-min-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .receipt-min-grid {
    grid-template-columns: 1fr;
  }

  .receipt-min-total {
    max-width: 100%;
    margin-left: 0;
  }
}

@media print {
  .navbar,
  .site-footer,
  .receipt-min-actions,
  .receipt-min-payment {
    display: none !important;
  }

  body {
    background: #ffffff !important;
  }

  .receipt-min {
    box-shadow: none;
    border: 1px solid #e5e5e5;
  }
}

/* Receipt minimal enhancements (border + typography + alignment) */
.receipt-min {
  max-width: 920px;
  margin: 0 auto;
  border: 2px solid #1f2a44;
  border-radius: 18px;
  padding: 26px 30px;
  position: relative;
}

.receipt-min::before,
.receipt-min::after {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9f1c 0%, #ffffff 50%, #2d6a4f 100%);
  opacity: 0.7;
}

.receipt-min::before {
  left: -3px;
}

.receipt-min::after {
  right: -3px;
}

.receipt-min-head {
  align-items: flex-start;
}

.receipt-min-title {
  font-size: 1.65rem;
  letter-spacing: 0.04em;
}

.receipt-min-subtitle {
  font-size: 0.95rem;
}

.receipt-min-status {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.receipt-min-grid {
  gap: 16px 22px;
}

.receipt-min-block {
  border: 1px solid #d7dfe8;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.receipt-min-label {
  font-size: 0.72rem;
}

.receipt-min-value {
  font-size: 1.02rem;
}

.receipt-min-total {
  max-width: 360px;
  font-size: 0.98rem;
}

.receipt-min-total .line {
  font-size: 0.95rem;
}

.receipt-min-total .total {
  font-size: 1.15rem;
}

@media (max-width: 768px) {
  .receipt-min {
    padding: 22px 20px;
  }

  .receipt-min::before,
  .receipt-min::after {
    display: none;
  }
}

/* Receipt border tuning */
.receipt-min-grid {
  border: 1px solid rgba(15, 36, 56, 0.18);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}

.receipt-min-total {
  border: 1px solid rgba(15, 36, 56, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
}

/* Receipt black theme override */
.receipt-min {
  border-color: #000000;
  color: #000000;
}

.receipt-min * {
  color: inherit;
}

.receipt-min::before,
.receipt-min::after {
  background: #000000;
  opacity: 0.15;
}

.receipt-min-status.is-paid,
.receipt-min-status.is-pending {
  background: #000000;
  color: #ffffff;
}

.receipt-min-grid,
.receipt-min-total,
.receipt-min-block {
  border-color: #000000;
}

.receipt-min-label,
.receipt-min-subtitle {
  color: #000000;
}

.receipt-min-total .line,
.receipt-min-total .total {
  color: #000000;
}
