	/* ===========================
   Currency dropdown styling
   Targets your exact markup:
   .d-dropdown > .btn + #currencies-list
   =========================== */

/* Button styling */
.d-dropdown .btn.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #121a26;                /* dark, matches screenshot */
  color: #e2e8f0;
  line-height: 1.1;
}
.d-dropdown .btn.dropdown-toggle:hover {
  background: #141e2c;
  border-color: rgba(255,255,255,.12);
}
.d-dropdown .btn.dropdown-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(64,203,179,.25); /* subtle teal focus */
}

/* Icon chip on the left */
.d-dropdown .btn .icon.c-1 {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1cc8b6, #2ed0b5); /* soft teal */
  color: #0c141d;
  flex: 0 0 36px;
}

/* Title + subtitle area */
.d-dropdown .btn .content { text-align: left; }
.d-dropdown .btn .content .title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #e3edf7;
  font-size: 14px;
}
.d-dropdown .btn .content .title i {
  color: #8aa4bb;
  font-size: 16px;
}
.d-dropdown .btn .content .info {
  margin-top: 2px;
  font-size: 12px;
  color: #8aa4bb;
}

/* Remove Bootstrap caret, you already have the Remix arrow */
.d-dropdown .btn.dropdown-toggle::after { display: none; }

/* ===========================
   Panel styling
   =========================== */
#currencies-list.dropdown-menu {
  --bs-dropdown-bg: #222737;                               /* panel bg */
  --bs-dropdown-color: #d7e1ee;                            /* text */
  --bs-dropdown-border-color: rgba(255,255,255,.06);
  --bs-dropdown-link-hover-bg: #1a2331;                    /* hover */
  --bs-dropdown-link-hover-color: #ffffff;
  --bs-dropdown-min-width: 220px;
  
  max-height: 220px;          /* adjust to desired height */
  overflow-y: auto;           /* makes it scrollable */
  overflow-x: hidden;
  scrollbar-width: thin;      /* Firefox scrollbar */
  scrollbar-color: #3d4d5c #0f1722; /* scrollbar colors */
  background: var(--bs-dropdown-bg);
  color: var(--bs-dropdown-color);
  border: 1px solid var(--bs-dropdown-border-color);
  border-radius: 12px;
  padding: 6px;
  min-width: 100px;
  box-shadow: 0 14px 36px rgba(0,0,0,.45);
  margin-top: 8px; /* small gap from button */
}

/* Each item */
#currencies-list .dropdown-item,
#currencies-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;   /* code & symbol breathe */
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #d7e1ee;
  font-weight: 600;
  font-size: 14px;
}
#currencies-list .dropdown-item:hover,
#currencies-list a:hover,
#currencies-list .dropdown-item:focus {
  background: var(--bs-dropdown-link-hover-bg);
  color: var(--bs-dropdown-link-hover-color);
}

/* Divider (if any) */
#currencies-list .dropdown-divider {
  border-color: rgba(255,255,255,.08);
  margin: 6px 8px;
}

/* Optional: active/current currency highlight */
#currencies-list .active,
#currencies-list .dropdown-item.active {
  background: #223043;
  color: #fff;
}

/* Optional: narrow screens */
@media (max-width: 480px) {
  .d-dropdown .btn .content .info { display: none; } /* keep it tidy */
}

/* ===========================
   Mobile adjustments
   =========================== */
@media (max-width: 768px) {
  /* Hide all text on mobile */
  .d-dropdown .btn .content {
    display: none !important;
  }

  /* Center the icon and adjust spacing */
  .d-dropdown .btn.dropdown-toggle {
    padding: 10px;
    justify-content: center;
  }

  .d-dropdown .btn .icon.c-1 {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
}
