.utp-platform-country-picker {
    position: relative;
}

.utp-platform-country-picker__control {
    position: relative;
}

.utp-platform-country-picker__input {
    width: 100%;
    padding-right: 42px;
}

.utp-platform-country-picker__toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    display: inline-flex;
    width: 28px;
    height: 28px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    transform: translateY(-50%);
}

.utp-platform-country-picker__dropdown {
    position: absolute;
    z-index: 7000;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    max-height: 300px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: #202530;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.utp-platform-country-picker__dropdown[hidden] {
    display: none;
}

.utp-platform-country-picker__option {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
}

.utp-platform-country-picker__option:hover,
.utp-platform-country-picker__option--active {
    background: rgba(255, 255, 255, 0.10);
}

.utp-platform-country-picker__country {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.utp-platform-country-picker__code {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.utp-platform-country-picker__empty {
    padding: 12px;
    color: rgba(255, 255, 255, 0.64);
}

.utp-platform-country-picker__status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
