@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap");

:root {
  --primary: #0080ff;
  --primary-rgb: 0, 128, 255;
  --dark-primary: #0063c3;
  --secondary: #ff6e1b;
  --secondary-rgb: 255, 110, 27;
  --dark-secondary: #e05c0f;
  --important: #f01c36;
  --important-rgb: 240, 28, 54;
  --disabled: #c4c4c4;
  --disabled-text: #f1f1f1;
  --background: #ffffff;
  --background-light-grey: #fafafa;
  --text: #241f1a;
  --text-rgb: 36, 31, 26;
  --text-grey: #494949;
  --text-light-grey: #878787;
  --page-max-width: 1440px;
  --dropdown-selection-color: #464646;
  --stroke-grey: #e4e4e4;
  --radius-big: 16px;
  --radius-medium: 8px;
  --radius-small: 4px;
  --gradient-primary: linear-gradient(180deg, #0081ff 0%, #80c0ff 100%);
  --btn-primary-text: #fafafa;
  --btn-secondary-text: #fafafa;
  --btn-important-text: #fafafa;
  --table-general-padding: 40px;
  --range-top-position: -3px;
  --green-color: #45b8b0;
  --dark-green-color: #256965;
  --second-background: #f7f7f7;
  --second-font: #241f1a;
}

* {
  box-sizing: border-box;
  font-family: "Plus Jakarta Sans", sans-serif;
}

*::-webkit-scrollbar {
  width: 5px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 1000px;
  background: rgba(0, 0, 0, 0.05);
}

*::-webkit-scrollbar-thumb {
  background: rgb(195, 195, 195);
  border-radius: 1000px;
}

body {
  background-color: var(--background);
  font-family: "Plus Jakarta Sans", sans-serif;
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow-x: hidden;
  line-height: 150%;
  letter-spacing: -0.32px;
  font-size: 16px;
  font-style: normal;
  color: var(--text);
}

w3m-modal {
  z-index: 9999;
}

@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.no-scroll {
  overflow: hidden;
  /* position: fixed;
  width: 100%; */
}

.loading-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10% 0;
  flex-direction: column;
}

.loading-text {
  text-align: center;
  font-size: xx-large;
  font-weight: bold;
  color: var(--text);
}

.lds-roller {
  display: block;
  position: relative;
  margin: 20px auto;
  width: 80px;
  height: 80px;
}

.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}

.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text);
  margin: -4px 0 0 -4px;
}

#main-page-loader .lds-roller div:after {
  background: var(--text) !important;
}
#main-page-loader .loading-text {
  color: var(--text) !important;
}

.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}

.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}

.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}

.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}

.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}

.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}

.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}

.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}

.container {
  margin: 2rem 1.5rem;
}

.page-content {
  max-width: var(--page-max-width);
  margin-left: auto;
  margin-right: auto;
}

.nav-bar {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  height: 80px;
  padding: 24px 64px;
  justify-content: space-between;
  align-items: center;
  max-width: var(--page-max-width);
}

.nav-bar-account {
  display: flex;
  align-items: center;
  gap: 20px;
  align-self: stretch;
  max-width: 530px;
}

.help-btn {
  border: none;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 24px */
  letter-spacing: -0.32px;
  background: none;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

#help-modal-svg {
  display: flex;
  width: 56px;
  height: 56px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 1000px;
  background-color: var(--primary);
}

.nav-mobile {
  display: none;
}

#burger-menu {
  display: none;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  aspect-ratio: 1/1;
  cursor: pointer;
}

.nav-mobile-display-overlay {
  display: none;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 998;
  background: rgba(var(--text-rgb), 0.4);
  cursor: pointer;
}

.nav-mobile-display {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  padding: 20px 30px;
  min-width: 230px;
  background-color: var(--background);
  z-index: 999;
  display: none;
  animation: navSlideIn 0.4s ease-in-out;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  cursor: default;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.nav-mobile-display button {
  cursor: pointer;
  background-color: transparent;
  border: none;
  line-height: 150%;
  letter-spacing: -0.32px;
  font-size: 16px;
  font-style: normal;
  padding: 0;
}

.nav-mobile-display button:hover {
  background-color: #f0f0f0;
}

.custom-dropdown {
  position: relative;
  display: inline-block;
  font-family: sans-serif;
  user-select: none;
}

.custom-dropdown .selected {
  padding: 8px 12px;
  border: 1px solid var(--stroke-grey);
  border-radius: 4px;
  background-color: var(--background);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-radius 0.2s, border 0.2s, background-color 0.2s;
}

.custom-dropdown .selected.bg-light-grey {
  background-color: var(--background-light-grey);
}

.custom-dropdown .selected svg.arrow {
  width: 16px;
  height: 16px;
  pointer-events: none;
  margin-left: 8px;
  transition: transform 0.2s;
}

.custom-dropdown.open .selected svg.arrow {
  transform: rotate(180deg);
}

.custom-dropdown .options {
  position: absolute;
  top: calc(100% - 15px);
  left: 0;
  border: 1px solid var(--stroke-grey);
  border-radius: var(--radius-medium);
  background: var(--background);
  max-height: 200px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.05);
  z-index: 100;
  display: none;
  padding-left: 0;
  overflow-x: hidden;
}

.custom-dropdown.open .options {
  display: block;
}

.custom-dropdown .options li {
  list-style: none;
  padding: 8px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.custom-dropdown .options li:hover {
  background-color: #f0f0f0;
}
/* Variant classes applied to the selected element */
.custom-dropdown .selected.round {
  border-radius: 9999px;
}

.custom-dropdown .selected.square {
  border-radius: 0;
}

.custom-dropdown .selected.transparent {
  border: none;
  background: transparent;
}

.gbm-segment-control {
  display: flex;
  position: relative;
  border: 1.5px solid var(--stroke-grey);
  border-radius: 10px;
  overflow: hidden;
  font-size: 14px;
  color: var(--text-grey);
  max-width: 400px;
  width: 100%;
  align-items: center;
  background-color: var(--background-light-grey);
  overflow: visible;
  padding: 4px;
  flex: 0 0 100%; /* take 100% of the flex‐container’s width (capped by max-width) */
  max-width: 400px;
}

.gbm-segment-control input {
  display: none;
}

.gbm-segment-control label {
  text-align: center;
  cursor: pointer;
  position: relative;
  transition: color 250ms ease-in-out;
  z-index: 2;
  font-weight: 600;
  display: flex;
  padding: 8px 24px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex: 1; /* even distribution */
  white-space: nowrap; /* no wrapping */
}

.gbm-segment-control input:checked + label {
  color: var(--btn-secondary-text) !important;
}

.gbm-segment-control .gbm-indicator {
  top: 4px;
  bottom: 4px;
  left: 0;
  right: auto;
  position: absolute;
  background: var(--secondary);
  border-radius: 10px;
  transition: transform 250ms ease-in-out, width 250ms ease-in-out;
  z-index: 1;
  color: var(--btn-secondary-text) !important;
}

.gbm-tooltip {
  display: inline-block;
  cursor: pointer;
}

.gbm-tooltip .gbm-tooltip-text {
  width: 260px;
  background-color: #fff;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.05);
  color: #241f1a;
  padding: 16px;
  text-align: left;
  /* Position the tooltip */
  position: absolute;
  margin-left: 10px;
  z-index: 1;
  border-radius: var(--radius-medium);
  border: 1px solid var(--stroke-grey);
  word-wrap: normal;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  text-align: left;
  display: none;
  white-space: normal;
  overflow-wrap: anywhere;
  max-inline-size: 260px;
}

.gbm-tooltip:hover .gbm-tooltip-text
/* ,.gbm-tooltip:focus-within .gbm-tooltip-text  */ {
  display: block;
}

.gbm-btn {
  color: var(--btn-primary-text);
  height: 2.5rem;
  padding: 0.5rem 0.75rem;
  background-color: var(--primary);
  border-radius: var(--radius-medium);
  border: none;
  cursor: pointer;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--btn-primary-text);
  border: 1px solid var(--primary);
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.btn-primary:hover {
  background-color: rgba(var(--primary-rgb), 0.5);
  border-color: rgba(var(--primary-rgb), 0.5);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.btn-secondary:hover {
  border: 1px solid var(--primary);
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
}

.btn-important {
  background-color: var(--important);
  color: var(--btn-important-text);
  border: 1px solid var(--important);
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.btn-important:hover {
  border: 1px solid var(--important);
  background: rgba(var(--important-rgb), 0.3);
  color: var(--important);
}

.btn-dark {
  background-color: #000;
  color: #fff;
  border: 1px solid #000;
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.btn-dark:hover {
  background-color: rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 0, 0, 0.5);
}

.gbm-btn:disabled {
  background-color: var(--disabled);
  cursor: not-allowed;
  border-color: var(--disabled);
  color: var(--text-light-grey);
}

.connect-btn {
  display: none;
  background-color: var(--secondary);
  color: var(--btn-secondary-text);
  padding: 8px 16px;
  font-size: 14px;
  line-height: 20px;
  border-radius: 6px;
  font-weight: 500;
}

.connect-btn:hover {
  background-color: rgba(var(--secondary-rgb), 0.9);
}

/* #### NEW  */

/* make sure we use border-box and only hide overflow once */
.gbm-segment-control {
  box-sizing: border-box;
  position: relative;
  display: flex;
  padding: 4px; /* your padding */
  overflow: hidden; /* clip the indicator to the rounded border */
  border: 1.5px solid var(--stroke-grey);
  border-radius: 10px;
  background: var(--background-light-grey);
  font-size: 14px;
  color: var(--text-grey);
  width: 100%;
  max-width: 400px;
}

/* the labels just flex equally by default */
.gbm-segment-control label {
  flex: 1; /* equal share of the inner content width */
  text-align: center;
  cursor: pointer;
  z-index: 2;
  padding: 8px 24px;
  transition: color 250ms ease-in-out;
  font-weight: 600;
}

/* your little slider */
.gbm-segment-control .gbm-indicator {
  position: absolute;
  top: 4px; /* match the container padding */
  bottom: 4px;
  left: 0; /* baseline for transform */
  background: var(--secondary);
  border-radius: 10px;
  z-index: 1;
  transition: transform 250ms ease-in-out, width 250ms ease-in-out;
}

.footer-wrapper {
  margin-left: auto;
  margin-right: auto;
  padding: 40px 64px;
  width: 100%;
}

.footer {
  cursor: pointer;
  display: flex;
  width: 144px;
  height: 36px;
  padding: 6.696px 4px 6.696px 10px;
  justify-content: flex-end;
  align-items: center;
  border-radius: var(--radius-small);
  background: var(--gradient-primary);
}

.alert-circle {
  background-color: var(--important);
  color: var(--btn-important-text);
  height: 15px;
  padding: 0px 7px;
  border-radius: 1000px;
  align-self: stretch;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.28px;
  width: 15px;
}

.gbm-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: rgba(var(--secondary-rgb), 0.5);
  outline: none;
}

.gbm-range:hover {
  opacity: 1;
}

.gbm-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--secondary);
  margin-top: -2px;
  cursor: pointer;
  border: none;
  top: 6px;
}

.gbm-range::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--secondary);
  margin-top: -15px;
  cursor: pointer;
  border: none;
}

.gbm-range::-moz-range-progress {
  height: 6px;
  background-color: var(--secondary);
  border-radius: 6px;
}

.gbm-range::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  height: 20px;
}

.gbm-range::-ms-fill-upper {
  background-color: var(--secondary);
}
.gbm-range::-ms-fill-lower {
  background-color: rgba(var(--secondary-rgb), 0.5);
}

.range-input {
  position: relative;
  padding: 10px 0;
}

.range-input input {
  top: var(--range-top-position);
  position: absolute;
  background: transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
}

.range-input input::-moz-range-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--secondary);
  margin-top: -15px;
  cursor: pointer;
  border: none;
  pointer-events: auto;
}

.range-input input::-webkit-slider-thumb {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--secondary);
  margin-top: -15px;
  cursor: pointer;
  border: none;
  pointer-events: auto;
}

.range-input input::-moz-range-progress {
  background-color: transparent;
}

.range-slider {
  height: 6px;
  position: relative;
  background-color: rgba(var(--secondary-rgb), 0.5);
  border-radius: 2px;
  margin-top: 20px;
  margin-left: 2px;
}

.range-selected {
  height: 100%;
  left: 0%;
  right: 0%;
  position: absolute;
  border-radius: 6px;
  background-color: var(--secondary);
}

.justify-content-mobile-friendly {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.warning-banner {
  display: flex;
  background-color: var(--important);
  align-items: center;
  color: var(--btn-important-text);
}

.warning-banner-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 8rem;
  flex: 1;
  gap: 10px;
}

.warning-svg-container {
  width: 62px;
  height: 62px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.warning-banner-btn {
  cursor: pointer;
  background-color: transparent;
  color: var(--text);
  border: none;
  border-radius: 5px;
  border: 1px solid transparent;
}

.transparent-underline-btn {
  background-color: transparent;
  border: none;
  color: var(--text);
  text-decoration: underline;
  font-size: 1rem;
  padding: 0;
}

.transparent-underline-btn:hover {
  cursor: pointer;
}

.transparent-underline-btn.secondary {
  color: var(--secondary);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: calc(var(--vh, 1vh) * 100);
  height: 100dvh;
  background: rgba(36, 31, 26, 0.4);
  backdrop-filter: blur(1px);
  transition: 0.3s ease-in-out;
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  z-index: 9999;
}

.modal-body {
  padding: 24px 40px 48px 40px;
  min-width: 500px;
  min-height: 100px;
  background-color: var(--background);
  color: var(--text);
  border-radius: var(--radius-big);
  box-shadow: 0 4px 27px rgba(0, 0, 0, 0.15);
}

.close-modal-btn {
  display: flex;
  width: 40px;
  height: 40px;
  padding: 10px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 1000px;
  background: #eee;
  cursor: pointer;
  border: none;
}

.modal-content {
  margin: auto;
  max-height: calc(var(--vh, 1vh) * 85);
  max-height: 85dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
}

.modal-content .gbm-btn {
  display: flex;
  height: 56px;
  padding: 0px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-medium);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 100%; /* 18px */
  letter-spacing: -0.36px;
  width: 100%;
}

.modal-content p {
  color: var(--text-grey);
  font-weight: 500;
  line-height: 150%; /* 24px */
  letter-spacing: -0.32px;
}

.modal-content::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #d9d9d9;
  border-radius: 6px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.48px;
}

.modal-header-text,
.modal-content .modal-header-text {
  color: var(--text);
  margin: 0;
}

.gbm-modal-container {
  margin-left: 3rem;
  margin-right: 3rem;
}

.gbm-modal-header {
  font-size: 48px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 57.6px */
  letter-spacing: -1.92px;
  margin: 0;
}

@keyframes navSlideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes navSlideOut {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}

@keyframes blinkingLight {
  0% {
    opacity: 1;
    background-color: var(--secondary);
    box-shadow: 0 0 10px var(--secondary), 0 0 15px var(--secondary),
      0 0 20px var(--secondary), 0 0 30px var(--secondary);
  }
  50% {
    opacity: 0;
    opacity: 0.5;
    background-color: var(--dark-secondary);
    box-shadow: 0 0 5px var(--dark-secondary);
  }
  100% {
    opacity: 1;
    background-color: var(--secondary);
    box-shadow: 0 0 10px var(--secondary), 0 0 15px var(--secondary),
      0 0 20px var(--secondary), 0 0 30px var(--secondary);
  }
}

.auction-time-circle {
  animation: blinkingLight 2.5s linear infinite;
}

.ens-avatar-image {
  border-radius: 50%;
  width: 20px;
  height: 20px;
  aspect-ratio: 1 / 1;
  margin-right: 10px;
  object-fit: cover;
}

.ens-avatar-image.inverted-colors {
  filter: invert(0.25);
  width: 25px;
  height: 25px;
}

#help-modal {
  z-index: 999;
}
#help-modal .modal-body {
  max-width: 685px;
  padding: 24px 40px 48px 40px;
  text-align: center;
}

#help-modal .modal-body p {
  color: var(--text-grey);
  font-weight: 500;
  line-height: 150%; /* 24px */
  letter-spacing: -0.32px;
  margin: 0;
}

#help-modal .modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  align-self: stretch;
}

#help-modal .modal-body p a {
  font-weight: bold;
  color: var(--text);
}

#help-modal .gbm-btn {
  margin-top: 8px;
}

#help-modal .gbm-modal-header {
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 38.4px */
  letter-spacing: -1.28px;
}

#disclaimer-modal .modal-content {
  max-width: 642px;
  gap: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

#disclaimer-modal .gbm-modal-header {
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 38.4px */
  letter-spacing: -1.28px;
  margin: 0;
}

#disclaimer-modal p {
  margin-top: 0;
}

.desktop-wallets-box {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 8px;
  color: var(--text-grey);
  font-weight: 500;
  line-height: 150%; /* 24px */
  letter-spacing: -0.32px;
}

.desktop-wallets-box:hover {
  background-color: #f0f0f0;
  border-radius: var(--radius-small);
}

.desktop-wallets-box img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.desktop-wallet-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  font-size: 20px;
}

.desktop-wallet-info p {
  margin: 0;
}

.desktop-wallet-info > p:first-of-type {
  font-weight: bold;
  font-size: 24px;
  color: var(--text);
}

.desktop-wallet-info a {
  color: var(--text);
}

#freeze-modal .modal-body {
  max-width: 640px;
  width: 100%;
  padding-bottom: 48px;
  padding-top: 48px;
}

#freeze-modal .modal-content {
  text-align: center;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  display: flex;
  color: var(--text-grey);
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 24px */
  letter-spacing: -0.32px;
  gap: 16px;
}

#freeze-modal .modal-header-text {
  text-align: center;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 38.4px */
  letter-spacing: -1.28px;
}

#freeze-modal .modal-content p {
  margin: 0;
}

.alerts-wrapper {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 2147483647;
  display: flex;
  flex-direction: column;
  gap: 12px; /* Space between alerts */
}

.alert-container {
  background-color: var(--background);
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.05);
  border-radius: 12px 12px 6px 6px;
  display: flex;
  min-width: 400px;
  padding: 8px;
  position: relative;
  transform: translateX(100%);
  opacity: 0;
  animation: alertSlideIn 0.4s ease-out forwards;
  gap: 24px;
  overflow: hidden;
  max-width: min(500px, 100%);
}

.alert-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--primary);
  border-radius: 0 8px 8px 4px;
  transition: width 0.1s linear;
}

@keyframes alertSlideIn {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.image-alert-size img {
  position: relative;
  width: 140px;
  height: 140px;
  aspect-ratio: 1/1;
  object-fit: contain;
  border-radius: var(--radius-medium);
}

.outbid-right-container {
  flex: 1 1 0;
}

.outbid-right-container h3 {
  color: var(--important);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 30px */
  letter-spacing: -0.4px;
  margin: 0;
}

.outbid-right-container p {
  color: var(--text-grey);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 150%; /* 21px */
  letter-spacing: -0.28px;
  margin: 0;
  margin-bottom: 8px;
}

.outbid-right-container .alert-action-button {
  color: var(--secondary);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%; /* 21px */
  letter-spacing: -0.28px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.outbid-right-container .btn-dark {
  border-radius: var(--radius-medium);
  height: 32px;
  padding: 0 24px;
  margin-top: 12px;
  margin-bottom: 5px;
}

.alert-close-btn {
  border-radius: 1000px;
  background: #eee;
  cursor: pointer;
  border: none;
  display: flex;
  width: 32px;
  height: 32px;
  padding: 5px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  aspect-ratio: 1/1;
}

.loader-svg {
  position: relative;
  width: 117px;
  height: 65px;
  background: var(--background);
}
.loader-svg svg {
  position: absolute;
  top: 0;
  left: 0;
}

.loader-svg .loader-green-circle {
  animation: move-green 2s ease-in-out infinite,
    z-green 2s steps(1, end) infinite;
}

.loader-svg .loader-orange-circle {
  animation: move-orange 2s ease-in-out infinite,
    z-orange 2s steps(1, end) infinite;
}

.loader-svg .loader-green {
  z-index: 0; /* start underneath */
  animation: move-green 2s ease-in-out infinite,
    z-green 2s steps(1, end) infinite;
}
.loader-svg .loader-orange {
  z-index: 1; /* start on top */
  animation: move-orange 2s ease-in-out infinite,
    z-orange 2s steps(1, end) infinite;
}

/* slide each in and back */
@keyframes move-green {
  0%,
  100% {
    transform: translateX(5.51px);
  }
  50% {
    transform: translateX(-59.51px);
  }
}
@keyframes move-orange {
  0%,
  100% {
    transform: translateX(-9.51px);
  }
  50% {
    transform: translateX(59.51px);
  }
}

/* discrete z-index jump at 50% */
@keyframes z-green {
  0%,
  49.999% {
    z-index: 0;
  }
  50%,
  100% {
    z-index: 2;
  }
}
@keyframes z-orange {
  0%,
  49.999% {
    z-index: 1;
  }
  50%,
  100% {
    z-index: 0;
  }
}

#tutorial-modal .modal-content {
  width: 768px;
}

.yt-video-wrap {
  position: relative;
  width: 100%;
  max-width: 1600px; /* optional */
  margin: 0 auto; /* optional */
}
.yt-video-wrap::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 = 9/16 = 56.25% */
}
.yt-video-wrap > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-video-wrap {
  display: block; /* avoid inline gaps */
  width: 100%; /* fill the container on mobile */
  aspect-ratio: 16 / 9; /* auto-calc height */
  border: 0;
  max-width: 1600px; /* optional cap */
  margin: 0 auto; /* optional center */
}

/* UTILITY */

.flex-10-align-center {
  display: flex;
  gap: 10px;
  align-items: center;
}

.w-100 {
  width: 100%;
}

.text-underline {
  text-decoration: underline;
}

.text-center {
  text-align: center;
}

.text-color {
  color: var(--text) !important;
}

.text-important {
  color: var(--important) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-bold {
  font-weight: bold !important;
}

.text-italic {
  font-style: italic !important;
}

.text-800 {
  font-weight: 800 !important;
}

.text-700 {
  font-weight: 700 !important;
}

.text-600 {
  font-weight: 600 !important;
}

.flex-align-center {
  display: flex;
  align-items: center;
}

.flex-justify-center {
  display: flex;
  justify-content: center;
}

.bg-light-grey {
  background-color: var(--background-light-grey);
}

.gap-4 {
  gap: 4px !important;
}

.gap-8 {
  gap: 8px !important;
}

.gap-10 {
  gap: 10px !important;
}

.gap-12 {
  gap: 12px !important;
}

.gap-16 {
  gap: 16px !important;
}

.gap-20 {
  gap: 20px !important;
}

.radius-medium {
  border-radius: var(--radius-medium) !important;
}

.flex-justify-content {
  display: flex;
  justify-content: space-between;
}

.deviser {
  height: 1px;
  width: 100%;
  border-top: 1px solid var(--stroke-grey);
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mt-4 {
  margin-top: 4rem;
}

.mt-5 {
  margin-top: 5rem;
}

.ml-75 {
  margin-left: 0.75rem;
}

.mr-75 {
  margin-right: 0.75rem;
}

/* OTHER DISPLAY SCREENS  */

@media (max-device-width: 768px), (max-width: 768px) {
  .modal-body {
    min-width: initial;
    width: 95%;
  }
}

@media screen and (max-width: 680px) {
  .nav-mobile.connected {
    display: block;
  }

  #burger-menu.connected {
    display: flex;
  }

  .nav-bar-account {
    display: none;
    margin-left: auto;
  }

  .help-btn {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .footer-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  .nav-bar {
    padding: 16px;
    height: 64px;
  }

  .nav-mobile {
    margin-left: 12px;
  }

  .warning-banner-content {
    padding: 0;
  }

  .modal .modal-body {
    max-height: calc(var(--vh, 1vh) * 85);
    max-height: 85dvh;
    padding: 24px;
    width: 95%;
    padding: 24px;
  }

  .modal .modal-content {
    max-height: calc(var(--vh, 1vh) * 75);
    max-height: 75dvh;
  }

  .gbm-modal-header {
    font-size: 28px;
  }

  #freeze-modal .modal-body {
    width: 95%;
    padding: 24px;
  }

  .alerts-wrapper {
    width: 100%;
    right: 0px;
    left: 10px;
  }

  .alert-container {
    min-width: unset;
    width: 95%;
    display: none;
  }

  .alerts-wrapper div:first-of-type {
    display: flex;
  }

  #tutorial-modal .modal-content {
    width: 100%;
  }
}
