/* style.css - Complete Authentic Theme matching akallindia.in/recharge & utility-credits */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --utility-border: #e5e7f2;
  --utility-slate: #082844;
  --utility-mini-bg: #075e96;
  --utility-primary: #0877b9;

  --bg-gradient: linear-gradient(135deg, #f0f6fc 0%, #e6f0fa 50%, #eef5fc 100%);
  --surface-color: #ffffff;
  --surface-border: #d4e3f2;

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --primary-color: #062b54;
  --primary-hover: #1e40af;

  --card-bg: #f4f8fc;
  --input-bg: #f0f5fa;
  --input-border: #d0e1f2;

  --shadow-sm: 0 10px 30px rgba(180, 200, 225, 0.3);
  --shadow-md: 0 15px 35px rgba(160, 185, 210, 0.35);
  --shadow-modal: 0 25px 60px rgba(15, 35, 60, 0.22);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  padding-bottom: 0.5rem;
}

/* Background Ambient Glow Circles */
.bg-shape {
  position: fixed;
  filter: blur(140px);
  opacity: 0.6;
  animation: float 14s infinite alternate ease-in-out;
  z-index: -1;
  border-radius: 50%;
}

.shape-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #d0e3f7 0%, #c2d9f2 100%);
  top: -150px;
  left: -150px;
}

.shape-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #d8e7f8 0%, #cae0f5 100%);
  bottom: -200px;
  right: -150px;
  animation-delay: -7s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(35px, 55px) scale(1.08);
  }
}

h1,
h2,
h3,
h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.015em;
}

/* Diamond Gem Image Styling */
.diamond-img,
.utility-diamond img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
  margin-right: 4px;
  filter: drop-shadow(0 2px 6px rgba(2, 132, 199, 0.35));
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.utility-card:hover .diamond-img,
.credit-item:hover .diamond-img {
  transform: scale(1.25) rotate(4deg);
}

/* In-Page Maintenance Notice Banner */
.inpage-maint-banner {
  background: #fff3cd;
  border: 1.5px solid #ffe8a1;
  border-radius: 16px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.25rem;
  color: #856404;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.12);
}

/* Top Announcement Bar */
.site-announcement {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0.35rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  position: relative;
  z-index: 10;
  height: 32px;
  box-sizing: border-box;
}

.site-announcement__icon {
  display: flex;
  align-items: center;
  color: #2563eb;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.site-announcement__viewport {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.site-announcement__track {
  display: inline-block;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
  padding-left: 100%;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.8rem;
}

@keyframes marqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* Mini Header Bar */
.utility-mini-bar {
  background: #075e96;
  padding: 0.5rem 1rem;
  box-shadow: 0 4px 15px rgba(5, 8, 35, 0.12);
  position: relative;
  z-index: 50;
  margin-bottom: 0.4rem;
}

.utility-mini-header {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.utility-mini-title {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.utility-mini-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.utility-mini-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(180deg);
}

/* Main Layout (Mobile First + PC Desktop Responsive) */
.app-container {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  padding: 0 0.5rem 1.5rem;
  box-sizing: border-box;
}

.service-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

/* PC / Desktop Responsive Layout (850px+) */
@media (min-width: 850px) {
  .utility-mini-header {
    max-width: 1100px;
  }
  .app-container {
    max-width: 1100px;
    padding: 0 1.25rem 2rem;
  }
  .service-form {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    align-items: start;
  }
  .utility-form-card,
  .info-card {
    padding: 1.5rem 1.3rem;
  }
}

/* Main Form Card & Support Cards */
.utility-form-card,
.info-card {
  background: linear-gradient(180deg, #ffffff 0%, #f4f9fe 100%);
  border-radius: 20px;
  padding: 1.1rem 0.6rem;
  box-shadow: 0 10px 30px rgba(180, 205, 230, 0.3);
  border: 1px solid #d8e8f6;
  width: 100%;
  box-sizing: border-box;
}

/* Profile ID Input Field */
.utility-profile-field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.utility-profile-field__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.utility-profile-control {
  position: relative;
  display: flex;
  align-items: center;
}

.utility-profile-control__icon {
  position: absolute;
  left: 1.1rem;
  color: #3b82f6;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.utility-profile-control input {
  width: 100%;
  padding: 0.95rem 3.2rem 0.95rem 2.9rem;
  border-radius: 20px;
  border: 1px solid var(--input-border);
  font-size: 1.05rem;
  font-weight: 600;
  outline: none;
  background: var(--input-bg);
  color: var(--text-primary);
  transition: all 0.25s ease;
}

.utility-profile-control input::placeholder {
  color: var(--text-muted);
}

.utility-profile-control input:focus {
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.utility-profile-help-btn {
  position: absolute;
  right: 0.85rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.utility-profile-help-btn:hover {
  background: #bfdbfe;
}

.helper-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Select Recharge Credit List Grid */
.utility-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0b2545;
  margin-bottom: 0.85rem;
}

.refresh-icon {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.refresh-icon:hover {
  transform: rotate(180deg);
  color: var(--text-primary);
}

.credit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  width: 100%;
  box-sizing: border-box;
}

/* Package Card (Exact Same to Same as Screenshot) */
.utility-card,
.credit-item {
  background: linear-gradient(180deg, #f7fbfe 0%, #ebf4fc 100%);
  border: 1.5px solid #c9e0f5;
  border-radius: 14px;
  padding: 0.75rem 0.2rem;
  aspect-ratio: 1.05 / 1;
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
}

.utility-card:hover,
.credit-item:hover {
  border-color: #062846;
  background: #e5f1fb;
}

/* Selected Card (Authentic Double Border Ring + Top Right Checkmark Badge) */
.utility-card.selected,
.credit-item.selected {
  border: 2px solid #062846;
  background: linear-gradient(180deg, #eef6fd 0%, #e1effa 100%);
  box-shadow: inset 0 0 0 1.5px #ffffff, 0 4px 14px rgba(6, 40, 70, 0.12);
}

.check-icon {
  display: none;
  position: absolute;
  top: 5px;
  right: 5px;
  width: 18px;
  height: 18px;
  background: #062846;
  border-radius: 50%;
  color: #ffffff;
  font-size: 10px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(6, 40, 70, 0.3);
}

.utility-card.selected .check-icon,
.credit-item.selected .check-icon {
  display: flex;
}

.utility-card strong,
.credit-item .diamond-val {
  font-size: clamp(0.9rem, 3.5vw, 1.08rem);
  font-weight: 800;
  color: #0b2545;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
}

.utility-card span,
.credit-item .price-val {
  font-size: clamp(0.72rem, 2.8vw, 0.82rem);
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}

/* Quantity Card & Stepper (Exact Same to Same as Screenshot) */
.quantity-card {
  background: #e8f3fe;
  border: 1px solid #cce2f5;
  border-radius: 16px;
  padding: 0.65rem 0.85rem;
  margin: 1.1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #94c4ec;
  background: #dbeefe;
  color: #075e96;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: #b8dafa;
}

.qty-input {
  width: 85px;
  height: 38px;
  border-radius: 20px;
  border: 1.5px solid #b8dafa;
  background: #ffffff;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #0b2545;
  outline: none;
}

.quantity-summary {
  text-align: right;
  line-height: 1.35;
}

.quantity-summary p {
  font-size: 0.82rem;
  color: #475569;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
}

.quantity-summary p strong {
  color: #0b2545;
  font-size: 0.92rem;
  font-weight: 800;
}

/* Action Button */
.payment-controls {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.btn.primary,
.btn-proceed {
  width: 100%;
  max-width: 100%;
  padding: 1.05rem 1.5rem;
  border-radius: 16px;
  border: none;
  background: linear-gradient(180deg, #6c8aa8 0%, #4c6c8c 100%);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 20px rgba(76, 108, 140, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn.primary:enabled,
.btn-proceed:enabled {
  width: 100%;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  box-shadow: 0 10px 25px rgba(2, 132, 199, 0.4);
}

.btn.primary:enabled:hover,
.btn-proceed:enabled:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.5);
}

.btn.primary:disabled,
.btn-proceed:disabled {
  opacity: 0.9;
  cursor: not-allowed;
}

.btn.ghost {
  background: #e0ecfa;
  border: 1px solid #c2dae8;
  color: var(--text-primary);
  padding: 0.85rem 1.25rem;
  border-radius: 18px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-align: center;
}

.btn.ghost:hover {
  background: #d4e5f7;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.85rem;
  text-align: center;
}

.link-button {
  background: none;
  border: none;
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

/* Support & History Cards */
.support-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.utility-support-card__head h3,
.utility-history-card h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.utility-support-card__head p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
}

.utility-support-card__grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.utility-support-link {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.utility-support-link:hover {
  transform: translateX(4px);
  border-color: #cbd5e1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.utility-support-link__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.imo-bg {
  background: #dbeafe;
  color: #1d4ed8;
}

.wa-bg {
  background: #dcfce7;
  color: #16a34a;
}

.utility-support-link__label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.utility-support-link__value {
  display: block;
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* History Search Form & Result Card (Matching official design) */
.utility-history-card h3 {
  font-family: serif, 'Inter', sans-serif;
  color: #0c3866;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.history-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.history-form input {
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid #dce8f5;
  background: #f4f8fc;
  color: #0f172a;
  font-weight: 600;
  font-size: 1rem;
  outline: none;
  width: 100%;
}

.history-form input::placeholder {
  color: #94a3b8;
}

.history-form input:focus {
  border-color: #062b54;
  background: #ffffff;
}

#search-history-btn {
  background: #eef6fc;
  border: 1px solid #d0e2f5;
  color: #0f2b4c;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem;
  border-radius: 16px;
  width: 100%;
  cursor: pointer;
  text-align: center;
  margin-top: 0.85rem;
  font-family: inherit;
  transition: all 0.2s ease;
}

#search-history-btn:hover {
  background: #e2effa;
  border-color: #b8d7f2;
}

.history-results {
  margin-top: 0.5rem;
}

.history-result-card {
  background: #ffffff;
  border: 1px solid #e8eeef;
  border-radius: 20px;
  padding: 1.25rem 1rem;
  margin-top: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.history-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.25rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
}

.history-row:last-child {
  border-bottom: none;
}

.history-label {
  color: #64748b;
  font-weight: 500;
}

.history-val {
  color: #0f172a;
  font-weight: 800;
  text-align: right;
}

.history-status-pill {
  padding: 4px 18px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: inline-block;
}

.history-status-pill.pending {
  background: #fefce8;
  color: #a16207;
  border: 1px solid #fef08a;
}

.history-status-pill.success,
.history-status-pill.completed {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.history-status-pill.failed {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.btn-copy-sm, .history-btn-copy {
  background: #eef6fc;
  color: #062b54;
  border: 1px solid #d0e2f5;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  transition: all 0.2s ease;
  vertical-align: middle;
}

.btn-copy-sm:hover, .history-btn-copy:hover {
  background: #062b54;
  color: #ffffff;
  border-color: #062b54;
}

.btn-copy-sm:active, .history-btn-copy:active {
  transform: scale(0.92);
}

.copy-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #00c853, #009624);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(0, 200, 83, 0.4);
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: toastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastIn {
  from { opacity: 0; transform: translateY(20px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Live Support FAB Chat Widget */
.utility-chat-fab {
  position: fixed;
  right: 6px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 2200;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.utility-chat-fab:hover {
  transform: scale(1.08);
}

.utility-chat-fab img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  border: 2.5px solid #ffb300;
  box-shadow: 0 8px 25px rgba(255, 179, 0, 0.45);
}

.mascot-fab-label {
  background: #ff3b30;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.62rem;
  padding: 1.5px 6px;
  border-radius: 8px;
  margin-top: -6px;
  box-shadow: 0 3px 10px rgba(255, 59, 48, 0.45);
  border: 1px solid #ffffff;
  white-space: nowrap;
  letter-spacing: 0.01em;
  font-family: 'Outfit', sans-serif;
}

/* Modals */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  padding: 1.75rem;
  box-shadow: var(--shadow-modal);
  color: var(--text-primary);
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.modal-content::-webkit-scrollbar,
.modal-overlay::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* ID Unban Modal */
.checkout-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.checkout-modal.active {
  display: flex;
}

.checkout-modal__scrim {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
}

.checkout-modal__dialog {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  width: 95%;
  max-width: 500px;
  padding: 1.75rem;
  z-index: 10;
  box-shadow: var(--shadow-modal);
}

.checkout-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: 0.75rem;
}

.badge {
  display: inline-block;
  background: #062b54;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.checkout-modal__header h2 {
  font-size: 1.25rem;
  color: var(--text-primary);
}

.checkout-modal__sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.checkout-modal__close {
  background: #f1f5f9;
  border: none;
  color: var(--text-primary);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 800;
}

.checkout-receipt-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.35rem;
}

.form-row input,
#unban-imo-number {
  flex: 1;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--text-primary);
  font-weight: 600;
  outline: none;
}

.checkout-success-actions {
  display: flex;
  gap: 0.5rem;
}

.checkout-channel-summary {
  background: var(--card-bg);
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  padding: 1rem;
  margin-top: 1.25rem;
}

.checkout-summary-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.checkout-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.checkout-summary-grid dt {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.checkout-summary-grid dd {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Status Modal */
.status-modal-card {
  max-width: 420px;
  width: 90%;
  text-align: center;
  padding: 2rem 1.5rem;
  background: #ffffff;
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-modal);
  border-radius: 28px;
}

.status-icon-wrapper {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.status-icon-wrapper.success {
  background: #dcfce7;
  color: #16a34a;
  border: 2px solid #86efac;
}

.status-icon-wrapper.failed {
  background: #fee2e2;
  color: #dc2626;
  border: 2px solid #fca5a5;
}

.status-icon-wrapper.pending {
  background: #fef3c7;
  color: #d97706;
  border: 2px solid #fde68a;
}

.status-modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.status-modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.status-details-box {
  background: var(--card-bg);
  border: 1px solid var(--surface-border);
  border-radius: 18px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.status-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.status-detail-row .detail-label {
  color: var(--text-muted);
  font-weight: 600;
}

.status-detail-row .detail-value {
  color: var(--text-primary);
  font-weight: 700;
  font-family: monospace;
}

.status-badge-pill {
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-badge-pill.success {
  background: #dcfce7;
  color: #15803d;
}

.status-badge-pill.failed {
  background: #fee2e2;
  color: #b91c1c;
}

.status-badge-pill.pending {
  background: #fef3c7;
  color: #b45309;
}

.status-modal-btn {
  width: 100%;
  padding: 0.85rem;
  border-radius: 18px;
  border: none;
  background: #062b54;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

/* ==========================================
   Maintenance Mode Screen Styling
   ========================================== */
.maintenance-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, #090e17 0%, #0f172a 50%, #1e1b4b 100%);
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  overflow-y: auto;
  color: #ffffff;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.maintenance-card {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 30px rgba(99, 102, 241, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.maintenance-icon-glow {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.6);
  animation: lockPulseGlow 2s infinite ease-in-out;
}

/* Red Lock Animated Pulse & Shake */
@keyframes lockPulseGlow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5), 0 6px 18px rgba(220, 38, 38, 0.25);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 22px 6px rgba(220, 38, 38, 0.45), 0 8px 24px rgba(220, 38, 38, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.5), 0 6px 18px rgba(220, 38, 38, 0.25);
  }
}

@keyframes lockIconShake {
  0%, 100% { transform: rotate(0deg); }
  15% { transform: rotate(-12deg); }
  30% { transform: rotate(12deg); }
  45% { transform: rotate(-8deg); }
  60% { transform: rotate(8deg); }
  75% { transform: rotate(0deg); }
}

.maint-lock-pulse {
  animation: lockPulseGlow 2s infinite ease-in-out !important;
}

.maint-lock-shake {
  display: inline-block;
  animation: lockIconShake 2.2s infinite ease-in-out !important;
}
    transform: scale(1);
  }
}

.maintenance-banner {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.maintenance-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}

.maintenance-reason-container {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 1.5rem;
  text-align: left;
}

.reason-header {
  font-size: 0.85rem;
  font-weight: 700;
  color: #818cf8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.reason-body {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.countdown-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(129, 140, 248, 0.3);
  border-radius: 16px;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 1.5rem;
  text-align: center;
}

.countdown-label {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.4rem 0;
}

.countdown-timer {
  font-family: 'Courier New', Courier, monospace;
  font-size: 2.2rem;
  font-weight: 900;
  color: #38bdf8;
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}

.maintenance-support-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.maint-support-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.maint-support-btn.wa {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.maint-support-btn.wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.maint-support-btn.imo {
  background: linear-gradient(135deg, #0084ff, #0056b3);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 132, 255, 0.3);
}

.maint-support-btn.imo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 132, 255, 0.4);
}