/* AUREA — coin logo select (custom dropdown for currency selects).
   Used together with coin-select.js: the native <select data-coin-select>
   stays in the DOM as the value source of truth; this styles the custom
   button + option list that show each currency's real logo. */
.coin-select-wrap {
  position: relative;
  width: 100%;
}
.coin-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.coin-select-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: var(--input, var(--input-bg, #0e1222));
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.38), inset 0 -1px 0 rgba(255, 255, 255, 0.04);
}
.coin-select-btn:focus-visible {
  outline: none;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.38), 0 0 0 3px rgba(255, 215, 0, 0.16);
}
.coin-select-btn .cs-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cs-logo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  flex: 0 0 auto;
  object-fit: cover;
  display: block;
}
.cs-logo-spacer {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  display: block;
}
.cs-chev {
  flex: 0 0 auto;
  opacity: 0.75;
  display: block;
}
.coin-select-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 80;
  background: var(--surface-2, var(--card-2, #141828));
  border: 1px solid var(--gold-dark, #c8aa00);
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 18px rgba(138, 43, 226, 0.18);
  max-height: 320px;
  overflow-y: auto;
}
.coin-select-list[hidden] {
  display: none;
}
.cs-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 9px 10px;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.cs-opt:hover,
.cs-opt.cs-active {
  background: rgba(255, 215, 0, 0.1);
}
.cs-opt .cs-check {
  width: 16px;
  flex: 0 0 auto;
  color: var(--gold, #ffd700);
  font-weight: 800;
  visibility: hidden;
}
.cs-opt[aria-selected="true"] .cs-check {
  visibility: visible;
}
.cs-opt .cs-label {
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  line-height: 1.45;
}

/* checkout page: coin logo next to the displayed currency */
.co-coin-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: -6px;
  margin-right: 8px;
}
.co-coin-icon-sm {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  vertical-align: -4px;
  margin-right: 6px;
}
