/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown__button {
    display: flex;
    align-items: center;
    gap: 8px;
    
    color: #133B66;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px; /* 140% */
    letter-spacing: -0.2px;
    user-select: none;
}

.dropdown__button:hover {
    border-color: #133B66;
    cursor: pointer;
}

.dropdown__flag {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown__flag img {
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.dropdown__label {
    padding-left: 8px;
    padding-right: 4px;
}

.dropdown__icon {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.dropdown-items {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    min-width: 120px;
}

.dropdown.active .dropdown-items {
    opacity: 1;
    visibility: visible;
    transform: translateY(8px);
    top: 100%;
}

.dropdown.active .dropdown__icon {
    transform: rotate(180deg);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    text-decoration: none;
    color: #133B66;
    transition: background-color 0.2s ease;
    background-color: #f5f5f5;
}

.dropdown-item:hover {
    background-color: #e0e0e0;
}

.dropdown-item__flag {
    width: 20px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdown-item__flag img {
    width: 100%;
    height: auto;
    border-radius: 2px;
}

.dropdown-item__label {
    font-size: 14px;
    font-weight: 500;
}