.sdew-dropdown {
    position: relative;
    width: 100%;
}

.sdew-dropdown * {
    box-sizing: border-box;
}

.sdew-dropdown__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sdew-dropdown__label {
    flex: 1 1 auto;
    text-align: left;
}

.sdew-dropdown__icon {
    flex: 0 0 auto;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sdew-dropdown__icon i,
.sdew-dropdown__icon svg {
    display: block;
}

.sdew-dropdown.is-open .sdew-dropdown__icon {
    transform: rotate(180deg);
}

.sdew-dropdown__menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    min-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    border: 1px solid #ddd;
    display: none;
    overflow-y: auto;
    z-index: 9999;
}

.sdew-dropdown.is-open .sdew-dropdown__menu {
    display: block;
}

.sdew-dropdown__item {
    width: 100%;
    display: block;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.sdew-dropdown__item:focus-visible,
.sdew-dropdown__trigger:focus-visible {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

.sdew-empty {
    padding: 12px 14px;
    border: 1px dashed #ccc;
    background: #fafafa;
    color: #666;
    font-size: 14px;
}
