@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap");

/* Copy Animation */
.base-color {
  color: hsl(var(--main)) !important;
}

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #fff;
  background-color: #ff7000;
  border-radius: 3px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  50% {
    opacity: 0.7;
    transform: translateX(40%);
  }

  70% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
  }
}

.cookies-card {
  width: 520px;
  padding: 30px;
  color: #fdfdfd;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all 0.5s;
  background: #10152B;
  border-radius: 20px;
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #6e6f70;
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
}

.cookies-btn {
  color: #363636;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
}

.cookies-btn:hover {
  color: #363636;
}

@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}

.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.input-popup::after {
  position: absolute;
  content: "";
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #1a1a1a transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
}

.input-popup p::before {
  position: absolute;
  content: "";
  font-family: "Line Awesome Free";
  font-weight: 900;
  left: 0;
  top: 4px;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error {
  text-decoration: line-through;
}

.input-popup p.error::before {
  content: "\f057";
  color: #ea5455;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}

.show-filter {
  display: none;
}

@media (max-width: 767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
  }
}

/* ////////////////// select 2 css //////////////// */
.select2-dropdown {
  border: 0 !important;
  margin-top: 8px !important;
  border-radius: 5px !important;
  box-shadow: 0 3px 9px rgba(50, 50, 9, 0.05),
    6px 4px 19px rgb(115 103 240 / 20%);
}

.select2-search--dropdown {
  padding: 10px 10px !important;
  border-color: #ced4da !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  border-color: #ced4da !important;
  padding: 10px 20px;
}

.select2-results__option.select2-results__option--selected,
.select2-results__option--selectable,
.select2-container--default .select2-results__option--disabled {
  padding: 12px 14px !important;
  border-bottom: 1px solid #eee;
}

.select2-results__option.select2-results__message {
  text-align: center !important;
  padding: 12px 14px !important;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar {
  width: 8px;
  border-radius: 5px;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 5px;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar-thumb {
  background: #ddd;
}

.select2-container--default
  .select2-results
  > .select2-results__options::-webkit-scrollbar-thumb:hover {
  background: #ddd;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  display: none;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow:after {
  position: absolute;
  right: 10px;
  top: 0;
  content: "\f107";
  font-family: "Line Awesome Free";
  font-weight: 900;
  transition: 0.3s;
}

.select2-container--default .select2-selection--single {
  border-color: #ced4da !important;
  border-width: 2px !important;
  border-radius: 0.375rem !important;
  padding: 0.375rem 0.75rem !important;
  height: 100% !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  top: 8px !important;
}

.select2-container--default.select2-container--open
  .select2-selection--single
  .select2-selection__arrow:after {
  transform: rotate(-180deg);
}

.select2-results__option:last-child {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.select2-results__option:first-child {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.select2-results__option.select2-results__option--selected,
.select2-container--default
  .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #f1f1f1 !important;
  color: #000 !important;
}

.select2-container--default
  .select2-search--dropdown
  .select2-search__field:focus {
  border-color: #ed1569 !important;
  box-shadow: 0 0 25px rgba(115, 103, 240 0.071) !important;
  outline: 0 !important;
}

.select2-dropdown .country-flag {
  width: 25px;
  height: 25px;
  border-radius: 8px;
}

.select2-dropdown .gateway-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0px !important;
}

.select2-dropdown .gateway-subtitle {
  font-size: 12px;
  margin-bottom: 0px !important;
}
.select2-container--open .select2-selection.select2-selection--single,
.select2-container--open .select2-selection.select2-selection--multiple {
  border-color: hsl(var(--base)) !important;
  border-radius: 0.375rem !important;
}

.gateway-card {
  padding: 15px;
}

button .spinner-border {
  --bs-spinner-width: 1.5rem;
  --bs-spinner-height: 1.5rem;
}

label.required:after {
  content: "*";
  color: #dc3545 !important;
  margin-left: 2px;
}

.header .nav-right a {
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 10px;
  border-radius: 4px;
}

.btn--dark:hover {
  color: #363636 !important;
  background-color: #ea5455 !important;
  box-shadow: 0 0 10px 2px #ea54558c !important;
}

/* ===== Celestial Atlas Leaderboard ===== */
.atlas-board {
  position: relative;
  overflow: hidden;
}

.atlas-board__sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 18%, rgba(104, 120, 216, 0.16), transparent 42%),
    radial-gradient(ellipse at 15% 70%, rgba(216, 182, 107, 0.07), transparent 35%),
    radial-gradient(1.5px 1.5px at 18% 22%, rgba(246, 240, 228, 0.45), transparent),
    radial-gradient(1px 1px at 72% 30%, rgba(216, 182, 107, 0.4), transparent),
    radial-gradient(1px 1px at 40% 78%, rgba(246, 240, 228, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 88% 62%, rgba(104, 120, 216, 0.45), transparent);
}

.atlas-board__orbit {
  position: absolute;
  left: 50%;
  top: 38%;
  border-radius: 50%;
  border: 1px solid rgba(216, 182, 107, 0.12);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.atlas-board__orbit--lg {
  width: min(760px, 90vw);
  height: min(760px, 90vw);
}

.atlas-board__orbit--sm {
  width: min(420px, 58vw);
  height: min(420px, 58vw);
  border-style: dashed;
  border-color: rgba(104, 120, 216, 0.18);
}

.atlas-board > .container {
  position: relative;
  z-index: 1;
}

.atlas-constellation {
  position: relative;
  max-width: 880px;
  margin: 0 auto 36px;
  padding: clamp(28px, 4vw, 48px) clamp(18px, 3vw, 36px);
  border-radius: 28px;
  border: 1px solid rgba(216, 182, 107, 0.18);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(104, 120, 216, 0.16), transparent 48%),
    linear-gradient(165deg, rgba(21, 27, 54, 0.92), rgba(7, 10, 26, 0.96));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.atlas-star--primary {
  position: relative;
  text-align: center;
  max-width: 320px;
  margin: 0 auto 28px;
  padding: 18px 16px 8px;
}

.atlas-star__rings {
  position: absolute;
  inset: -8% 8% auto;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  border: 1px solid rgba(216, 182, 107, 0.28);
  box-shadow:
    inset 0 0 0 18px rgba(104, 120, 216, 0.04),
    0 0 40px rgba(216, 182, 107, 0.08);
  pointer-events: none;
}

.atlas-star__rings::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px dashed rgba(104, 120, 216, 0.35);
}

.atlas-star__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(216, 182, 107, 0.35);
  background: rgba(16, 21, 43, 0.75);
  color: var(--accent-gold, #d8b66b);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.atlas-star__avatar {
  position: relative;
  z-index: 1;
  width: 92px;
  height: 92px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  color: #f6f0e4;
  background:
    radial-gradient(circle at 30% 25%, rgba(216, 182, 107, 0.35), transparent 50%),
    linear-gradient(145deg, #1b2243, #0a0f22);
  border: 2px solid rgba(216, 182, 107, 0.65);
  box-shadow:
    0 0 0 8px rgba(216, 182, 107, 0.08),
    0 0 28px rgba(104, 120, 216, 0.25);
}

.atlas-star__avatar em {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-style: normal;
  font-family: "Source Sans 3", sans-serif;
  font-size: 12px;
  font-weight: 800;
  color: #0c1024;
  background: linear-gradient(135deg, #e8d4a0, #d8b66b);
}

.atlas-star__name {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(24px, 3vw, 32px);
  color: #f6f0e4;
}

.atlas-star__score {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 16px;
  border-radius: 999px;
  color: #e8d4a0;
  background: rgba(216, 182, 107, 0.12);
  border: 1px solid rgba(216, 182, 107, 0.22);
  font-weight: 700;
}

.atlas-star-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.atlas-star--secondary,
.atlas-star--tertiary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(216, 182, 107, 0.16);
  background: rgba(16, 21, 43, 0.72);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.atlas-star--secondary:hover,
.atlas-star--tertiary:hover {
  transform: translateY(-3px);
  border-color: rgba(216, 182, 107, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.atlas-star--secondary .atlas-star__avatar,
.atlas-star--tertiary .atlas-star__avatar {
  width: 52px;
  height: 52px;
  margin: 0;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(104, 120, 216, 0.1);
}

.atlas-star--secondary .atlas-star__avatar {
  border-color: rgba(158, 166, 194, 0.65);
}

.atlas-star--tertiary .atlas-star__avatar {
  border-color: rgba(104, 120, 216, 0.55);
}

.atlas-star__rank {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: rgba(216, 182, 107, 0.75);
  min-width: 28px;
}

.atlas-star__meta .atlas-star__name {
  font-size: 18px;
  margin-bottom: 4px;
}

.atlas-star__meta .atlas-star__score {
  padding: 4px 10px;
  font-size: 13px;
}

.atlas-empty,
.atlas-chart__empty {
  padding: 28px 16px;
  text-align: center;
  color: #9ea6c2;
  border: 1px dashed rgba(216, 182, 107, 0.2);
  border-radius: 14px;
}

.atlas-chart,
.atlas-signals {
  height: 100%;
  padding: 24px 22px;
}

.atlas-chart__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.atlas-chart__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  color: #f6f0e4;
}

.atlas-chart__count {
  min-width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 182, 107, 0.3);
  color: #e8d4a0;
  font-weight: 700;
  background: rgba(104, 120, 216, 0.12);
}

.atlas-chart__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.atlas-chart__list::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(216, 182, 107, 0.35), rgba(104, 120, 216, 0.15), transparent);
}

.atlas-chart__row {
  position: relative;
  display: grid;
  grid-template-columns: 36px 12px 40px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.atlas-chart__row:hover {
  background: rgba(104, 120, 216, 0.08);
  border-color: rgba(216, 182, 107, 0.2);
  transform: translateX(3px);
}

.atlas-chart__pos {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: rgba(216, 182, 107, 0.8);
}

.atlas-chart__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8b66b;
  box-shadow: 0 0 10px rgba(216, 182, 107, 0.55);
  justify-self: center;
  z-index: 1;
}

.atlas-chart__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  color: #f6f0e4;
  background: linear-gradient(145deg, #1b2243, #10152b);
  border: 1px solid rgba(216, 182, 107, 0.25);
}

.atlas-chart__name {
  font-weight: 600;
  color: #f6f0e4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atlas-chart__points {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e8d4a0;
  font-weight: 700;
  white-space: nowrap;
}

.atlas-signals__live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(104, 120, 216, 0.35);
  color: #a8b4f0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.atlas-signals__live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6878d8;
  box-shadow: 0 0 0 0 rgba(104, 120, 216, 0.55);
  animation: atlas-pulse 1.6s ease-out infinite;
}

.atlas-signals__feed {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 4px;
}

.atlas-signal {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 12px;
  padding: 14px 14px 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(216, 182, 107, 0.12);
  background: rgba(16, 21, 43, 0.55);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.atlas-signal:hover {
  border-color: rgba(216, 182, 107, 0.35);
  transform: translateY(-2px);
}

.atlas-signal__mark {
  width: 8px;
  border-radius: 999px;
  background: rgba(158, 166, 194, 0.45);
}

.atlas-signal__mark--win {
  background: linear-gradient(180deg, #d8b66b, #6878d8);
}

.atlas-signal__mark--loss {
  background: linear-gradient(180deg, #9ea6c2, #3a425e);
}

.atlas-signal__mark--push {
  background: linear-gradient(180deg, #e8d4a0, #a8873f);
}

.atlas-signal__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.atlas-signal__top strong {
  color: #f6f0e4;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
}

.atlas-signal__top span {
  color: #9ea6c2;
  font-size: 13px;
}

.atlas-signal__chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.atlas-signal__chip--win {
  color: #e8d4a0;
  background: rgba(216, 182, 107, 0.14);
}

.atlas-signal__chip--loss {
  color: #c8cfe6;
  background: rgba(158, 166, 194, 0.12);
}

.atlas-signal__chip--push {
  color: #f0e2c0;
  background: rgba(168, 135, 63, 0.16);
}

@keyframes atlas-pulse {
  0% { box-shadow: 0 0 0 0 rgba(104, 120, 216, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(104, 120, 216, 0); }
  100% { box-shadow: 0 0 0 0 rgba(104, 120, 216, 0); }
}

@media (max-width: 767px) {
  .atlas-board__orbit {
    display: none;
  }

  .atlas-star-row {
    grid-template-columns: 1fr;
  }

  .atlas-chart__row {
    grid-template-columns: 28px 10px 34px 1fr;
    grid-template-rows: auto auto;
  }

  .atlas-chart__points {
    grid-column: 3 / -1;
    justify-self: start;
  }

  .atlas-chart__list::before {
    left: 28px;
  }
}
