/* Deposit limits — geometry and colour taken from millennialbet-deposit-limits.
   The page is a stack of 1280px sections; inside them the mockup alternates a
   583px column of copy with a 633px panel, then falls back to plain grids. */

/* sections in the mockup start 96px below their own top edge */
.dl-section__inner { display: flex; flex-direction: column; gap: 48px; padding-block: 96px; }

.dl-lede { font-size: 18px; line-height: 29px; color: #475569; }
.dl-lede--slate { color: var(--slate); }
.dl-body { font-size: 16px; line-height: 26px; color: #475569; }
.dl-body--light { color: #cbd5e1; }
.dl-sub { font-family: var(--font-display); font-size: 28px; line-height: 30.46px; color: var(--ink-soft); }
.dl-minor { font-family: var(--font-display); font-size: 22px; line-height: 24px; color: var(--ink-soft); }
.section--dark .dl-sub, .section--dark .dl-minor { color: var(--white); }
.dl-head { display: flex; flex-direction: column; gap: 16px; }

/* ---- copy beside a panel ---- */
.dl-split { display: flex; align-items: flex-start; gap: 64px; }
.dl-split__copy { display: flex; flex-direction: column; gap: 16px; flex: 1 1 583px; min-width: 0; }
.dl-split--even .dl-split__copy { flex: 1 1 616px; }

/* ---- limit → deposits → blocked ---- */
.dl-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex: 0 1 633px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--r-12);
  box-shadow: inset 0 0 0 1px var(--line-light);
}
.dl-flow__step {
  padding: 12px;
  background: var(--bone);
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 13.06px;
  color: var(--ink-soft);
  white-space: nowrap;
}
.dl-flow__step--first { color: var(--red-text); }
.dl-flow__step--stop { background: var(--red); color: var(--white); }
.dl-flow__line { width: 32px; height: 1px; flex: none; background: var(--red); }

/* ---- what counts as a deposit ---- */
.dl-counts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.dl-count {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--r-12);
  box-shadow: inset 0 0 0 1px var(--line-light);
}
.dl-count--dark { background: var(--ink); box-shadow: none; }
.dl-count__title {
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 15.23px;
  letter-spacing: .02em;
  color: var(--red-text);
}
.dl-list { display: flex; flex-direction: column; gap: 8px; }
.dl-list li { position: relative; padding-left: 16px; font-size: 14px; line-height: 22px; color: #475569; }
.dl-count--dark .dl-list li { color: var(--slate); }
.dl-list li::before { content: '·'; position: absolute; left: 2px; color: var(--red-text); font-weight: 800; }

/* ---- limit status panel ---- */
.dl-status {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 0 1 633px;
  padding: 24px;
  background: #111622;
  border-radius: var(--r-16);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}
.dl-status__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 14.14px;
  color: var(--red-text);
}
.dl-status__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--red); }
.dl-status__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dl-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  background: var(--ink);
  border-radius: var(--r-8);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}
.dl-tile--stop { box-shadow: inset 0 0 0 1px var(--red); }
.dl-tile__label { font-family: var(--font-display); font-size: 11px; line-height: 12px; color: var(--slate); }
.dl-tile--stop .dl-tile__label { color: var(--red-text); }
.dl-tile__value { font-family: var(--font-display); font-size: 18px; line-height: 20px; color: var(--white); }

/* ---- the three periods ---- */
.dl-periods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.dl-period {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: var(--white);
  border-radius: var(--r-12);
  box-shadow: inset 0 0 0 1px var(--line-light);
}
.dl-period__badge { font-family: var(--font-display); font-size: 32px; line-height: 35px; color: var(--red-text); }
.dl-period__title { font-family: var(--font-display); font-size: 18px; line-height: 20px; color: var(--ink-soft); }
.dl-period__body { font-size: 14px; line-height: 21px; color: #475569; }
.dl-strip {
  padding: 20px;
  background: var(--white);
  border-radius: var(--r-8);
  box-shadow: inset 0 0 0 1px var(--line-light);
  font-size: 14px;
  font-weight: 600;
  line-height: 18.2px;
  color: #475569;
}

/* ---- changing a limit ---- */
.dl-changes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.dl-change { display: flex; flex-direction: column; gap: 20px; }
.dl-change__title { font-family: var(--font-display); font-size: 22px; line-height: 24px; color: var(--white); }
.dl-change__title--now { color: var(--red-text); }
.dl-change__body { font-size: 14px; line-height: 21px; color: #cbd5e1; }
.dl-change__panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding: 16px;
  background: #111622;
  border-radius: var(--r-8);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}
.dl-change__label { font-size: 11px; line-height: 14.3px; color: var(--slate); }
.dl-change__value { font-size: 14px; line-height: 18.2px; color: var(--white); }
.dl-change__state { font-family: var(--font-display); font-size: 11px; line-height: 12px; color: var(--slate); }
.dl-change__state--now { color: var(--red-text); }
.dl-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 20px;
  background: #111622;
  border-radius: var(--r-8);
  box-shadow: inset 0 0 0 1px var(--line-dark);
}
.dl-summary__item { font-size: 13px; font-weight: 700; line-height: 17px; color: var(--white); }
.dl-summary__item--now { color: var(--red-text); }
.dl-summary__item + .dl-summary__item { box-shadow: inset 1px 0 0 var(--line-dark); padding-left: 24px; }

/* ---- notifications and history ---- */
.dl-notice {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--r-12);
  box-shadow: inset 0 0 0 1px var(--line-light);
}
.dl-notice__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.dl-notice__kicker { font-family: var(--font-display); font-size: 12px; line-height: 13.06px; color: var(--red-text); }
.dl-notice__state { font-size: 11px; line-height: 14.3px; color: #475569; }
.dl-notice__body { font-size: 14px; font-weight: 600; line-height: 18.2px; color: var(--ink-soft); }

.dl-history {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--r-12);
  box-shadow: inset 0 0 0 1px var(--line-light);
  overflow: hidden;
}
.dl-history th {
  padding: 12px;
  background: var(--bone);
  font-family: var(--font-display);
  font-size: 11px;
  line-height: 12px;
  color: var(--ink-soft);
  text-align: left;
}
.dl-history td { padding: 12px; font-size: 12px; line-height: 16px; color: #475569; }
.dl-history tbody tr + tr td { box-shadow: inset 0 1px 0 var(--line-light); }
.dl-history__new { font-weight: 700; color: var(--ink-soft); }
.dl-history__new--down { color: var(--red-text); }

.dl-activity { display: flex; flex-direction: column; gap: 24px; }
.dl-prompts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dl-prompt {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--r-8);
  box-shadow: inset 0 0 0 1px var(--line-light);
}
.dl-prompt__num { font-family: var(--font-display); font-size: 14px; line-height: 15.23px; color: var(--red-text); }
.dl-prompt__title { font-family: var(--font-display); font-size: 16px; line-height: 17.41px; color: var(--ink-soft); }
.dl-prompt__body { font-size: 13px; line-height: 17px; color: #475569; }

/* ---- deposit limits and BetStop (red section) ---- */
.dl-bs-texts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.dl-bs-text { font-size: 18px; line-height: 29px; color: var(--white); }
.dl-bs-text--strong { font-weight: 600; color: var(--white); }
.dl-bs-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.dl-bs-card { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: var(--r-12); }
.dl-bs-card--dark { background: var(--ink); }
.dl-bs-card--light { background: var(--white); }
.dl-bs-card__kicker { font-family: var(--font-display); font-size: 13px; line-height: 14.14px; color: var(--red-text); }
.dl-bs-card__title { font-family: var(--font-display); font-size: 20px; line-height: 22px; }
.dl-bs-card--dark .dl-bs-card__title { color: var(--white); }
.dl-bs-card--light .dl-bs-card__title { color: var(--ink-soft); }
.dl-bs-card__body { font-size: 14px; line-height: 18.2px; }
.dl-bs-card--dark .dl-bs-card__body { color: var(--slate); }
.dl-bs-card--light .dl-bs-card__body { color: #475569; }
.dl-bs-cta { display: flex; justify-content: center; }

/* ---- if a limit is not enough ---- */
.dl-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.dl-important {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 48px;
  box-shadow: inset 0 1px 0 var(--line-light);
}
.dl-important__list { display: flex; flex-direction: column; gap: 16px; }
.dl-important__list li { position: relative; padding-left: 18px; font-size: 15px; line-height: 22.5px; color: #475569; }
.dl-important__list li::before { content: '•'; position: absolute; left: 0; color: var(--red-text); }
.dl-important__ctas { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 1199px) {
  .dl-section__inner { gap: 32px; padding-block: 56px; }
  .dl-split { flex-direction: column; gap: 24px; }
  .dl-flow, .dl-status { flex: none; align-self: stretch; }
  .dl-flow { flex-wrap: wrap; justify-content: flex-start; }
  .dl-counts, .dl-periods, .dl-changes, .dl-prompts, .dl-bs-texts, .dl-bs-cards { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .dl-summary { flex-direction: column; align-items: flex-start; gap: 12px; }
  .dl-summary__item + .dl-summary__item { padding-left: 0; box-shadow: none; }
  .dl-sub { font-size: 22px; line-height: 24px; }
  .dl-history { display: block; overflow-x: auto; }
}
