﻿.dropdown{
    margin-right: 10px;
}

.dropdown button {
    background-color: transparent;
    width: max-content;
    height: 40px;
    border-radius: 5px;
    color: white;
    padding: 10px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    justify-content: space-evenly;
}
.dropdown button img {
    margin: 0 5px 0 0;
}
.dropdown button img,
.dropdown-content li img {
    width: 28px;
}
.dropdown button,
.dropdown-content li {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-family: "Open Sans", sans-serif;
    font-family: "Noto Sans JP", sans-serif;
    font-family: "Noto Sans Arabic", sans-serif;
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 500;
}

.dropdown button:hover {
    cursor: pointer;
    background-color: #3c5b77;
}
/* Style for the dropdown content */
.dropdown-content {
    display: none;
    position: absolute;
    padding: 0;
    z-index: 1;
    border-radius: 5px;
    overflow-y: scroll;
    max-height: 315px;
}
/* Style for the dropdown content items */
.dropdown-content li {
    color: black;
    text-decoration: none;
    justify-content: end;
}
.dropdown-content li img {
    margin: 0 10px 0px 10px;
}
/* Style for the dropdown content items on hover */
.dropdown-content li:hover {
    background-color: rgb(26, 21, 14);
    cursor: pointer;
    color: blue;
    border-radius: 5px;
}
/* Show the dropdown content when the dropdown button is clicked */
.dropdown:focus-within .dropdown-content {
    display: block;
}
/* Animate the dropdown content */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.dropdown-content {
    animation: slideIn 0.3s ease-out;
}
/* Scrollbar styles */
::-webkit-scrollbar {
    width: 8px;
    height: 10px;
}
::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: #c2c9d2;
}

.dropdown-content::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.dropdown-content {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}