/* Cancelled request / top-up notice — see cancel-notice.js.
   Light theme, mobile-first, one primary action.

   Deliberately NOT an error dialog: no red banner, no warning triangle. The
   client did nothing wrong, and a screen that shouts at them about their own
   money reads as a system failing rather than a company explaining itself. */

.cancel-notice {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.55);
  opacity: 0;
  transition: opacity 0.18s ease;
  overflow-y: auto;
}
.cancel-notice.is-open { opacity: 1; }

.cancel-notice__card {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: auto;
  padding: 30px 28px 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  transform: translateY(10px) scale(0.98);
  transition: transform 0.18s ease;
}
.cancel-notice.is-open .cancel-notice__card { transform: none; }

.cancel-notice__x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: #94a3b8;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  border-radius: 10px;
}
.cancel-notice__x:hover { color: #475569; background: #f1f5f9; }

.cancel-notice__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  margin-bottom: 14px;
}

.cancel-notice__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 5px;
}

.cancel-notice__title {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
  color: #0f172a;
  letter-spacing: -0.015em;
}

.cancel-notice__body {
  font-size: 14.5px;
  line-height: 1.6;
  color: #475569;
}
.cancel-notice__body p { margin: 0 0 10px; }
.cancel-notice__body p:last-child { margin-bottom: 0; }

/* The amount gets its own row so nobody has to hunt for it in a paragraph. */
.cancel-notice__money {
  margin-top: 16px;
  padding: 12px 15px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.07);
  border: 1px solid rgba(16, 185, 129, 0.24);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.cancel-notice__money-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #047857;
}
.cancel-notice__money-amount {
  font-size: 21px;
  font-weight: 700;
  color: #065f46;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.cancel-notice__cta {
  display: block;
  margin-top: 20px;
  width: 100%;
  min-height: 52px;
  padding: 15px 20px;
  border-radius: 14px;
  background: #10b981;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  line-height: 1.3;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.28);
}
.cancel-notice__cta:hover { background: #059669; }

.cancel-notice__support {
  display: block;
  margin-top: 10px;
  min-height: 44px;
  padding: 12px;
  text-align: center;
  color: #64748b;
  font-size: 14px;
  text-decoration: none;
  border-radius: 10px;
}
.cancel-notice__support:hover { color: #0f172a; background: #f8fafc; }

@media (max-width: 420px) {
  .cancel-notice { padding: 14px; }
  .cancel-notice__card { padding: 26px 18px 20px; }
  .cancel-notice__title { font-size: 19px; }
  .cancel-notice__money { flex-direction: column; align-items: flex-start; gap: 2px; }
}
