/* ============================================
   CURRENCY SWITCHER
   ============================================ */

.currency-switcher {
    display: inline-block;
}

.currency-switcher .dropdown-toggle {
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.currency-switcher .currency-dropdown-panel {
    min-width: 280px;
    max-height: 400px;
    overflow-y: auto;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.currency-switcher .currency-search-wrapper {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 8px 10px;
    border-bottom: 1px solid #e9ecef;
    z-index: 2;
}

.currency-switcher .currency-search-input {
    border-radius: 6px;
}

.currency-switcher .currency-list {
    list-style: none;
    padding: 4px 0;
    margin: 0;
}

.currency-switcher .currency-list li {
    margin: 0;
}

.currency-switcher .currency-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 14px;
    color: #212529;
    text-decoration: none;
    transition: background 0.15s ease;
}

.currency-switcher .currency-item:hover {
    background: #f8f9fa;
}

.currency-switcher .currency-item.active {
    background: #eef2ff;
    color: #4338ca;
    font-weight: 600;
}

.currency-switcher .currency-symbol {
    font-weight: 600;
    min-width: 28px;
    text-align: right;
    color: #495057;
}

.currency-switcher .currency-code {
    font-weight: 600;
    color: #212529;
    min-width: 40px;
}

.currency-switcher .currency-country {
    color: #6c757d;
    font-size: 12px;
    margin-left: auto;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

.currency-switcher .currency-no-results {
    padding: 8px 12px;
    text-align: center;
}

.currency-switcher .currency-dropdown-panel::-webkit-scrollbar {
    width: 6px;
}

.currency-switcher .currency-dropdown-panel::-webkit-scrollbar-track {
    background: #f1f3f5;
    border-radius: 4px;
}

.currency-switcher .currency-dropdown-panel::-webkit-scrollbar-thumb {
    background: #ced4da;
    border-radius: 4px;
}

.currency-switcher .currency-dropdown-panel::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}
 
