.currency-dropdown {
    position: relative;
    display: inline-block;
}

.currency-dropdown-toggle {
    display: flex;
    align-items: center;
    background-color: transparent;
    border: none;
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.currency-dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.currency-dropdown-toggle img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    border-radius: 2px;
}

.currency-dropdown-menu {
    position: absolute;
    right: 10px;
    top: 120%;
    background-color: #2a2a2a;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 130px;
    z-index: 1000;
    overflow: hidden;
    display: none;
}

.currency-dropdown.show .currency-dropdown-menu {
    display: block;
    animation: fadeIn 0.2s ease;
}

.currency-dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.currency-dropdown-item:hover {
    background-color: #3a3a3a;
}

.currency-dropdown-item.active {
    background-color: #0d6efd;
}

.currency-dropdown-item img {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    border-radius: 2px;
}

.currency_color {
    color: white;
}



/* Responsive styles */
@media (max-width: 767.98px) {
    .currency-dropdown {
        width: 100%;
        margin-top: 15px;
        margin-right: 0rem !important;
    }

    .arrow_currency {
        margin-left: auto ! important;
    }

    .currency-dropdown-toggle {
        width: 100%;
        justify-content: space-between;
        padding: 10px 15px;
        background-color: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
    }

    .currency-dropdown-menu {
        width: 100%;
        position: relative;
        margin-top: 5px;
        right: -0px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
