/* ================= BASE ================= */
* {
  box-sizing: border-box;
  font-family: "noto";
  padding: 0;
  margin: 0;
  font-size: 14px;
}

html {
  scroll-behavior: smooth !important;
  scroll-padding-top: 150px;
}

body {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 150px;
}
body {
  color: rgba(var(--text), 1);
  line-height: 1.6;
  background: var(--body-bg);
}

.container {
  max-width: 1500px;
  margin-inline: auto;
  width: 90%;
}
.disabled {
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.5;
}
.locked {
  opacity: 0.4;
}
.hide {
  display: none !important;
}
h1 {
  font-size: 25px;
  text-transform: capitalize;
}

h2 {
  font-size: 25px;
  margin-bottom: 15px;
  line-height: 1.2;
  text-transform: capitalize;
}
ol li {
  list-style-position: inside;
}
ul li {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  -webkit-font-smoothing: antialiased;
  filter: contrast(1.05) saturate(1.02);
  content-visibility: auto;
  contain-intrinsic-size: 300px;
  object-fit: cover;
  object-position: center;
  opacity: 0.7;
}
b {
  font-size: inherit;
}
.flex {
  display: flex;
  align-items: center;
}
.img-overlay {
  position: relative;
  display: inline-flex;
}

/* overlay layer */
.img-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--theme), 0.2);
  pointer-events: none;
  z-index: 1;
}
[data-theme="dark"] .img-overlay::before {
  background: rgba(var(--div-bg), 0.3);
}

/* সব img overlay-এর নিচে থাকবে */
.img-overlay img {
  position: relative;
  z-index: 0;
}
a {
  text-decoration: none;
}
.swal-icon svg {
  width: 100%;
  height: 100%;
}
.swal2-popup {
  background: rgba(var(--div-bg), 1) !important;
}
svg {
  width: 20px;
  height: 20px;
  shape-rendering: geometricPrecision;
  vertical-align: middle;
  transform: translateY(-2px);
  margin-right: 5px;
}
.capitalize {
  text-transform: capitalize !important;
}
.green-col {
  color: rgba(var(--green), 1);
}
.red-col {
  color: rgba(var(--red), 1);
}
.orange-col {
  color: rgba(var(--orange), 1);
}
.blue-col {
  color: rgba(var(--blue), 1);
}
.purple-col {
  color: rgba(var(--purple), 1);
}
.theme-col {
  color: rgba(var(--theme), 1);
}
.green-tag,
.red-tag,
.orange-tag,
.blue-tag,
.purple-tag,
.theme-tag {
  padding: 2px 5px 0;
  border-radius: 5px;
  font-size: inherit;
}
.green-tag {
  background: rgba(var(--green), 0.1);
  color: rgba(var(--green), 1);
}
.red-tag {
  background: rgba(var(--red), 0.1);
  color: rgba(var(--red), 1);
}
.orange-tag {
  background: rgba(var(--orange), 0.1);
  color: rgba(var(--orange), 1);
}
.blue-tag {
  background: rgba(var(--blue), 0.1);
  color: rgba(var(--blue), 1);
}
.purple-tag {
  background: rgba(var(--purple), 0.1);
  color: rgba(var(--purple), 1);
}
.theme-tag {
  background: rgba(var(--theme), 0.1);
  color: rgba(var(--theme), 1);
}
.left-right-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.btn,
.tag-btn {
  white-space: nowrap;
  padding: 8px 20px 6px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.btn {
  background: rgba(var(--theme), 1);
  color: rgba(var(--op-theme), 1);
  opacity: 0.8;
  box-shadow: 2px 5px 10px rgba(var(--theme), 0.5);
  transition: all 0.3s ease;
  text-shadow: 1px 1px rgba(var(--theme), 1);
}
.btn:hover {
  opacity: 1;
  box-shadow: none;
}
.btn svg,
.tag-btn svg {
  width: 17px;
  height: 17px;
  margin-right: 10px;
}
.tag-btn {
  background: rgba(var(--theme), 0.1);
  color: rgba(var(--theme), 1);
}
.tag-btn:hover {
  background: rgba(var(--theme), 0.2);
}
.green-bg,
.red-bg,
.orange-bg,
.blue-bg,
.purple-bg {
  color: #fff;
}
.green-bg {
  background: rgba(var(--green), 1);
}
.red-bg {
  background: rgba(var(--red), 1);
}
.orange-bg {
  background: rgba(var(--orange), 1);
}
.blue-bg {
  background: rgba(var(--blue), 1);
}
.purple-bg {
  background: rgba(var(--purple), 1);
}
.theme-bg {
  background: rgba(var(--theme), 1);
  color: rgba(var(--op-theme), 1);
}
.green-tag-bg {
  background: rgba(var(--green), 0.1);
  color: rgba(var(--green), 1);
}
.red-tag-bg {
  background: rgba(var(--red), 0.1);
  color: rgba(var(--red), 1);
}
.orange-tag-bg {
  background: rgba(var(--orange), 0.1);
  color: rgba(var(--orange), 1);
}
.blue-tag-bg {
  background: rgba(var(--blue), 0.1);
  color: rgba(var(--blue), 1);
}
.purple-tag-bg {
  background: rgba(var(--purple), 0.1);
  color: rgba(var(--purple), 1);
}
.theme-tag-bg {
  background: rgba(var(--theme), 0.1);
  color: rgba(var(--theme), 1);
}

.hidden {
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.no-border {
  border: none !important;
}
.rating-stars {
  display: inline-flex;
}
.rating-stars svg {
  display: inline-flex;
  margin: 0;
}
.grid {
  display: grid;
  gap: 50px;
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}
.grid-5 .grid-item {
  border-radius: 30px;
}
.eyebrow {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  padding: 3px 13px 1px;
  border: 1px solid rgba(var(--theme), 0.16);
  border-radius: 999px;
  color: rgba(var(--theme), 1);
  background: rgba(var(--theme), 0.08);
  font-size: 12px;
  font-weight: 800;
}
.eyebrow::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 5px rgba(var(--theme), 0.1);
}
.semi-title {
  font-size: clamp(13px, 2vw, 16px);
  font-weight: 800;
  color: rgba(var(--op-theme), 1);
  background: rgba(var(--theme), 1);
  padding: 5px 30px 3px 20px;
  border-radius: 5px 3pc 5px 5px;
  display: inline-block;
  text-decoration: none;
  margin: 20px auto;
}
/* ================= TOP HEADER ================= */
.top-header {
  height: 300px;
  margin: 10px 0 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  border-radius: 30px 30px 15% 15%;
  background: rgba(var(--theme), 0.1);
  position: relative;
}
.top-header::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.1;
  filter: invert(1);
  border-radius: 30px;
  background: url("/assets/img/default/edubg.png") repeat;
  background-size: 500px;
}
html[data-theme="dark"] .top-header::after {
  opacity: 0.03;
}
.top-header .header-text {
  flex: 0 0 60%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.top-header .header-text h1 {
  font-weight: 900;
  color: rgba(var(--theme), 1);
}
.top-header .header-text p {
  color: rgba(var(--text), 0.7);
  font-weight: 300;
  font-size: 13px;
  margin: 0 auto;
}
.header-text svg {
  width: 15px;
  height: 15px;
}
.top-header .header-text .last-update {
  color: rgba(var(--text), 0.7);
  font-weight: 500;
  font-size: 15px;
}
.header-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.header-img img {
  height: 100%;
}
.last-update time {
  font-weight: 700;
  color: rgba(var(--text), 1);
}

/* ===== Table ===== */
.green-table table th,
.red-table table th,
.orange-table table th,
.purple-table table th,
.blue-table table th {
  color: #fff;
}
.green-table table th {
  background: rgba(var(--green), 0.7);
}
.green-table table tr:nth-child(even) {
  background: rgba(var(--green), 0.1);
}
.red-table table th {
  background: rgba(var(--red), 0.7);
}
.red-table table tr:nth-child(even) {
  background: rgba(var(--red), 0.1);
}
.orange-table table th {
  background: rgba(var(--orange), 0.7);
}
.orange-table table tr:nth-child(even) td {
  background: rgba(var(--orange), 0.1);
}
.purple-table table th {
  background: rgba(var(--purple), 0.7);
}
.purple-table table tr:nth-child(even) td {
  background: rgba(var(--purple), 0.1);
}
.blue-table table th {
  background: rgba(var(--blue), 0.7);
}
.blue-table table tr:nth-child(even) td {
  background: rgba(var(--blue), 0.1);
}
.table {
  max-width: 100%;
  overflow-x: scroll !important;
}
table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0 8px;
}
table tr:nth-child(odd) {
  padding: 15px;
}
table tr:nth-child(odd) td:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

table tr:nth-child(odd) td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

table tr:nth-child(odd) td {
  background-color: rgba(var(--theme), 0.04);
}
td {
  text-align: center;
  font-weight: 400;
  padding: 10px;
}
th {
  text-align: center;
  text-transform: capitalize;
  padding: 8px;
  font-weight: 600;
  background: rgba(var(--theme), 0.6);
  color: rgba(var(--op-theme), 1);
  text-shadow: 1px 1px rgba(var(--theme), 1);
  font-size: 15px;
}
th:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
th:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.cell-flex {
  display: flex;
  align-items: center;
  gap: 8px;
}
.cell-flex img {
  border-radius: 100%;
  width: 25px;
}

.table-avatar {
  vertical-align: middle;
  width: 25px;
  height: 25px;
  font-size: 0;
  object-fit: cover;

  /* 🔥 fallback background */
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  display: inline-block;
}
.table-avatar:not([src]),
.table-avatar[src=""] {
  content: "";
  background-color: #d5d7da;
}

/* ================= FOOTER ================= */
.footer {
  position: relative;
  margin-top: 110px;
  color: rgba(var(--text), 1);
  background:
    linear-gradient(135deg, rgba(var(--theme), 0.12), transparent 44%),
    linear-gradient(315deg, rgba(var(--blue), 0.08), transparent 36%),
    rgba(var(--div-bg), 0.86);
  border-top: 1px solid rgba(var(--theme), 0.16);
  box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.055);
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.55fr);
  gap: clamp(28px, 5vw, 70px);
  padding: clamp(38px, 6vw, 72px) 0 22px;
}

.footer-brand {
  min-width: 0;
}

.footer-logo {
  display: inline-flex;
  width: min(190px, 70%);
  margin-bottom: 18px;
}

.footer-logo img,
.footer img {
  width: 100%;
  opacity: 1;
}

.footer p {
  max-width: 440px;
  color: rgba(var(--text), 0.64);
  font-size: 14px;
  line-height: 1.8;
}

.footer p strong {
  color: rgba(var(--text), 0.92);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.footer-group {
  min-width: 0;
  padding: 22px;
  border: 1px solid rgba(var(--text), 0.08);
  border-radius: 8px;
  background: rgba(var(--div-bg), 0.54);
}

.footer h4 {
  margin-bottom: 15px;
  color: rgba(var(--text), 0.94);
  font-size: 15px;
  font-weight: 900;
}

.footer ul {
  display: grid;
  gap: 9px;
}

.footer li {
  list-style: none;
}

.footer a {
  color: rgba(var(--text), 0.72);
  transition:
    color 0.2s ease,
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.footer-group a {
  display: inline-flex;
  align-items: center;
  line-height: 1.45;
  font-size: 13px;
  transition: all 0.3s ease;
}

.footer-group a::before {
  width: 6px;
  height: 6px;
  margin-right: 9px;
  border-radius: 999px;
  background: rgba(var(--theme), 0.72);
  content: "";
}

.footer-group a:hover {
  color: rgba(var(--theme), 1);
  text-decoration: underline;
  font-weight: 700;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.footer-social a {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(var(--theme), 0.16);
  border-radius: 8px;
  color: rgba(var(--theme), 1);
  background: rgba(var(--theme), 0.07);
}

.footer-social a:hover {
  border-color: rgba(var(--theme), 0.32);
  background: rgba(var(--theme), 0.13);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 25px;
  height: 25px;
  margin: 0;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 14px;
  padding: 18px 0 0;
  border-top: 1px solid rgba(var(--text), 0.08);
}

.footer-bottom p {
  max-width: none;
  margin: 0;
  font-size: 12px;
}

.back-to-top {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px 7px;
  border: 1px solid rgba(var(--theme), 0.18);
  border-radius: 999px;
  color: rgba(var(--text), 1);
  background: rgba(var(--theme), 0.08);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.back-to-top:hover {
  color: rgba(var(--op-theme), 1);
  background: rgba(var(--theme), 0.92);
  transform: translateY(-2px);
}

.back-to-top span {
  font-size: 15px;
  line-height: 1;
}

@media (max-width: 980px) {
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    text-align: center;
  }

  .footer-logo,
  .footer-brand p {
    margin-right: auto;
    margin-left: auto;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .footer {
    margin-top: 72px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-group {
    padding: 18px;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .footer-shell {
    padding-top: 34px;
  }

  .footer-logo {
    width: min(170px, 78%);
  }

  .footer p {
    font-size: 13px;
  }

  .back-to-top {
    width: 100%;
  }
}
/* ================= FAQ & Table of Contents ================= */
.faq {
  margin: 150px auto;
  max-width: 800px;
}
.faq h2 {
  font-size: 30px;
  font-weight: 300;
  text-align: center;
  margin-bottom: 30px;
}
.faq details {
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 10px;
}
.faq summary {
  font-weight: 700;
  font-size: 15px;
  border-radius: 10px;
  color: rgba(var(--text), 0.8);
  padding: 15px 25px;
  border-bottom: 1px solid var(--border);
}
/* .faq details[open] summary{
  background: rgba( var(--theme), .05);
} */
.faq summary::-webkit-details-marker {
  display: none;
}
.faq details div {
  padding: 15px 35px;
  color: rgba(var(--text), 0.6);
}
.table-of-contents {
  padding: 15px 25px;
  cursor: pointer;
  width: 70%;
  margin: auto;
}

.table-of-contents details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(var(--div-bg), 0.82);
  box-shadow: 0 16px 36px rgba(var(--theme), 0.08);
  overflow: hidden;
}

.table-of-contents summary {
  cursor: pointer;
  padding: 18px 22px;
  color: rgba(var(--theme), 1);
  font-weight: 900;
  border-bottom: 1px solid var(--border);
}
.table-of-contents ol {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.table-of-contents a {
  color: rgba(var(--text), 0.78);
  font-weight: 500;
  transition: all 0.3s ease;
}
.table-of-contents a:hover {
  color: rgba(var(--theme), 1);
  text-decoration: underline;
  font-weight: 700;
}
/* ================= CRISP LAUNCHER ================= */
.user-crisp-launcher {
  align-items: center;
  background: rgba(var(--theme), 1);
  border: 0;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(var(--theme), 0.3);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 58px;
  justify-content: center;
  bottom: calc(22px + env(safe-area-inset-bottom));
  padding: 0;
  position: fixed;
  right: calc(22px + env(safe-area-inset-right));
  width: 58px;
  z-index: 10020;
}
.user-crisp-launcher svg {
  height: 31px;
  width: 31px;
  margin: 0;
  transition: opacity .18s ease, transform .18s ease;
}
.user-crisp-launcher::before,
.user-crisp-launcher::after {
  background: currentColor;
  border-radius: 999px;
  content: "";
  height: 3px;
  left: 50%;
  opacity: 0;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(0deg) scaleX(.6);
  transition: opacity .18s ease, transform .18s ease;
  width: 28px;
}
.user-crisp-launcher.is-open svg {
  opacity: 0;
  transform: rotate(18deg) scale(.72);
}
.user-crisp-launcher.is-open::before {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(45deg) scaleX(1);
}
.user-crisp-launcher.is-open::after {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-45deg) scaleX(1);
}
/* ================= PURCHASE CONFIRM ================= */
.purchase-confirm-popup {
  background: rgba(var(--div-bg), 1) !important;
  border: 1px solid rgba(var(--theme), 0.14) !important;
  border-radius: 24px !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.18) !important;
  color: rgba(var(--text), 1) !important;
  overflow: hidden !important;
  padding: 0 !important;
  width: min(92vw, 560px) !important;
}

.purchase-confirm-html {
  margin: 0 !important;
  padding: 0 !important;
}

.purchase-confirm {
  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(var(--green), 0.16),
      transparent 34%
    ),
    radial-gradient(
      circle at 95% 12%,
      rgba(var(--theme), 0.14),
      transparent 35%
    ),
    linear-gradient(180deg, rgba(var(--div-bg), 0.98), rgba(var(--div-bg), 0.9));
  padding: 34px 30px 24px;
  position: relative;
  text-align: center;
}

.purchase-confirm.is-warning {
  background:
    radial-gradient(
      circle at 15% 0%,
      rgba(var(--orange), 0.18),
      transparent 34%
    ),
    radial-gradient(circle at 95% 12%, rgba(var(--red), 0.12), transparent 35%),
    linear-gradient(180deg, rgba(var(--div-bg), 0.98), rgba(var(--div-bg), 0.9));
}

.purchase-confirm__mark {
  align-items: center;
  background: rgba(var(--green), 1);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(var(--green), 0.24);
  color: #fff;
  display: inline-flex;
  height: 64px;
  justify-content: center;
  margin-bottom: 18px;
  width: 64px;
}

.purchase-confirm.is-warning .purchase-confirm__mark {
  background: linear-gradient(
    135deg,
    rgba(var(--orange), 1),
    rgba(var(--red), 0.9)
  );
  box-shadow: 0 18px 42px rgba(var(--orange), 0.24);
}

.purchase-confirm__mark svg {
  height: 50px;
  margin: 0;
  transform: none;
  width: 50px;
}

.purchase-confirm__eyebrow {
  color: rgba(var(--green), 1);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.purchase-confirm.is-warning .purchase-confirm__eyebrow {
  color: rgba(var(--orange), 1);
}

.purchase-confirm h2 {
  color: rgba(var(--text), 1);
  font-size: 26px;
  line-height: 1.18;
  margin: 0 0 10px;
  text-transform: none;
}

.purchase-confirm__lead,
.purchase-confirm__note {
  color: rgba(var(--text), 0.66);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.purchase-confirm__product {
  background: rgba(var(--div-bg), 0.86);
  border: 1px solid rgba(var(--theme), 0.14);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
  margin: 20px 0 14px;
  padding: 15px 16px;
  text-align: left;
}

.purchase-confirm__product span,
.purchase-confirm__meta b {
  color: rgba(var(--text), 0.5);
  display: block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.purchase-confirm__product strong,
.purchase-confirm__items {
  color: rgba(var(--text), 0.95);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.purchase-confirm__items {
  margin: 0;
  padding-left: 18px;
}

.purchase-confirm__items li {
  list-style: disc;
  margin: 4px 0;
}

.purchase-confirm__meta {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}

.purchase-confirm__meta span {
  background: rgba(var(--theme), 0.06);
  border: 1px solid rgba(var(--theme), 0.1);
  border-radius: 14px;
  color: rgba(var(--text), 0.9);
  font-size: 13px;
  font-weight: 800;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 12px 13px;
}

.purchase-confirm-actions {
  margin: 0 30px 28px !important;
}

.purchase-confirm-button {
  align-items: center;
  background: rgba(var(--theme), 1);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(var(--theme), 0.22);
  color: rgba(var(--op-theme), 1);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  justify-content: center;
  min-height: 44px;
  padding: 11px 24px 9px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.purchase-confirm-button:hover {
  background: rgba(var(--theme), 0.9);
  transform: translateY(-1.5px);
  box-shadow: 0 16px 36px rgba(var(--theme), 0.3);
}

.purchase-confirm-cancel-button {
  align-items: center;
  background: rgba(var(--text), 0.08);
  border: 1px solid rgba(var(--text), 0.12);
  border-radius: 999px;
  color: rgba(var(--text), 0.8);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 900;
  justify-content: center;
  min-height: 44px;
  padding: 11px 24px 9px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.purchase-confirm-cancel-button:hover {
  background: rgba(var(--text), 0.14);
  border-color: rgba(var(--text), 0.2);
  color: rgba(var(--text), 1);
  transform: translateY(-1.5px);
}

.purchase-confirm-close {
  color: rgba(var(--text), 0.55) !important;
  font-size: 30px !important;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.purchase-confirm-close:hover {
  color: rgba(var(--red), 1) !important;
  transform: rotate(90deg);
}
/* ================= RESPONSIVE ================= */
/* Responsive */
@media (max-width: 1400px) {
  .grid-5 {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}
@media (max-width: 1100px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}
@media (max-width: 768px) {
  .purchase-confirm {
    padding: 28px 18px 20px;
  }

  .purchase-confirm h2 {
    font-size: 22px;
  }

  .purchase-confirm__mark {
    border-radius: 18px;
    height: 56px;
    width: 56px;
  }
  .swal2-container {
    padding-bottom: 80px;
  }
  .purchase-confirm__mark svg {
    height: 35px;
    width: 35px;
  }

  .purchase-confirm__meta {
    grid-template-columns: 1fr;
  }

  .purchase-confirm-actions {
    margin: 0 18px 22px !important;
  }

  .purchase-confirm-button {
    width: 100%;
  }
}
@media (max-width: 600px) {
  .user-crisp-launcher {
    bottom: calc(80px + env(safe-area-inset-bottom));
  }
  .grid-3 {
    grid-template-columns: repeat(1, 1fr);
  }
  .grid-5,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .table-of-contents {
  width: 100%;
}
}

/* ===== Scrollbar ===== */
/* Chrome / Edge / Safari */
*:not(html):not(body)::-webkit-scrollbar {
  width: 2px;
  height: 2px;
}
*:not(html):not(body)::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
}
*:not(html):not(body)::-webkit-scrollbar-track {
  background: transparent;
}

/* Firefox only */
@supports (scrollbar-width: thin) {
  *:not(html):not(body) {
    scrollbar-width: thin; /* Firefox minimum */
    scrollbar-color: var(--border) transparent; /* Firefox */
  }
}
/* ===== Main Scrollbar ===== */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 6px; /* main scrollbar একটু মোটা */
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: transparent;
}

@supports (scrollbar-width: thin) {
  html,
  body {
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
  }
}
