.sportsbook iframe {
  height: calc(100% - 1px);
}

.login-page {
  justify-content: flex-start;
}

.login-box {
  margin: 2% 0;
}

.footer.footer-login {
  position: fixed;
  bottom: 0;
  width: 100%;
  left: 0;
}

.grecaptcha-badge {
  visibility: hidden;
}

@media screen and (max-width: 767px) {

  .sportsbook .slot-iframe.show {
    top: 85px;
    height: calc(100vh - 85px);
  }

  .login-box img {
    max-height: 70px;
  }
}

@media only screen and (min-width: 1280px) {
  .ball-by-ball .market-6 .market-nation-detail {
    width: calc(100% - 160px);
  }
  .ball-by-ball .fancy-min-max-box {
    width: 80px;
  }
}

/*Matka Calendar*/
:root {
  --w3-bg: #f5f7fb;
  --w3-panel: #fff;
  --w3-panel-2: #f2f4f8;
  --w3-line: #e5e7eb;
  --w3-text: #111827;
  --w3-muted: #6b7280;
  --w3-head: #b45309;
  --w3-chip: #eef2f7;
  --w3-date-bg: #111827;
  --w3-date-ring: #f59e0b;

  --w3-digit: #475569;
  --w3-digit-bg: rgba(71, 85, 105, 0.14);
  --w3-big-color: #333;

  /* responsive cell min width */
  --w3-cell-min: 130px;
  --w3-big-color: #333;
}
/* Light theme (optional) */
:root[data-theme="light"],
.light {
  --w3-bg: #f5f7fb;
  --w3-panel: #fff;
  --w3-panel-2: #f2f4f8;
  --w3-line: #e5e7eb;
  --w3-text: #111827;
  --w3-muted: #6b7280;
  --w3-head: #b45309;
  --w3-chip: #eef2f7;
  --w3-date-bg: #111827;
  --w3-date-ring: #f59e0b;

  --w3-digit: #475569;
  --w3-digit-bg: rgba(71, 85, 105, 0.14);
  --w3-big-color: #333;
}
.calendar {
  background: var(--w3-panel);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
  font: 14px/1.4 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}

/* Top bar */
.calendar .left,
.calendar .right {
  font-size: 12px;
  color: var(--w3-muted);
}
.calendar .right {
  text-align: right;
}
.calendar .left b,
.calendar .right b {
  color: var(--w3-text);
}
.calendar .center {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.calendar .month {
  font-weight: 800;
  letter-spacing: 0.4px;
  min-width: 200px;
  text-align: center;
}

/* single horizontal scroller for header + grid */

/* DOW (Mon first) */

/* Grid */
.calendar .grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(var(--w3-cell-min), 1fr));
  border-left: 1px solid var(--w3-line);
}
.calendar .cell {
  min-height: 120px;
  position: relative;
  border-right: 1px solid var(--w3-line);
  border-bottom: 1px solid var(--w3-line);
  padding: 8px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(0, 0, 0, 0.06)
  );
  overflow: hidden; /* keep everything inside on mobile */
}
.calendar .cell:hover {
  outline: 1px solid #5b5f66;
  z-index: 1;
}

/* show prev/next-month trailing days dimmed */
.calendar .cell.out.prev,
.calendar .cell.out.next {
  opacity: 0.45;
}

/* top row inside a cell: DATE centered (no O/C titles) */

/* date badge */

/* inner content column for safe shrink */
.calendar .content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* body: O digits | BIG | C digits */
.calendar .digits {
  display: grid;
  grid-auto-rows: min-content;
  gap: 3px;
  align-content: start;
  justify-items: center;
}
.calendar .digits .d {
  font-size: 15px;
  line-height: 18px;
  border-radius: 6px;
  padding: 0 0;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap; /* keep pills in rail */
  transition: background 0.15s ease;
}
/* pill only when digit exists */
.calendar .digits .d.has {
  padding: 3px 6px;
  font-weight: 900;
  color: var(--w3-digit);
  background: var(--w3-digit-bg);
}

/* bigger big number */
.calendar .big {
  text-align: center;
  font-size: 36px;
  font-weight: 900;
  color: var(--w3-big-color);
  letter-spacing: 1px;
  margin-top: 10px;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 900px) {
  :root {
    --w3-cell-min: 120px;
  }
  .calendar .month {
    min-width: 140px;
  }
}
@media (max-width: 720px) {
  :root {
    --w3-cell-min: 110px;
  }
  .calendar .left,
  .calendar .right {
    text-align: center;
  }
  .calendar .center {
    justify-content: center;
  }
  .calendar .month {
    min-width: 0;
    font-size: 16px;
  }
  .calendar .cell {
    min-height: 110px;
  }
  .calendar .digits .d {
    font-size: 13px;
    line-height: 16px;
  }
  .calendar .digits .d.has {
    padding: 3px 6px;
  }
  .calendar .big {
    font-size: 30px;
  }
}
@media (max-width: 420px) {
  :root {
    --w3-cell-min: 100px;
  }
  .calendar .digits .d {
    font-size: 11px;
    line-height: 13px;
  }
  .calendar .digits .d.has {
    padding: 2px 4px;
  }
  .calendar .big {
    font-size: 24px;
  }
}