@import '../../config/styles/mp/mixins.less';

.container {
    width: 100%;
}

.trigger {
    display: flex;
    align-items: center;
    min-height: 72rpx;
    padding: 0 24rpx;
    box-sizing: border-box;
    background: #f5f5f5;
    border-radius: 999rpx;
}

.trigger-text {
    flex: 1;
    min-width: 0;
    font-size: 28rpx;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.trigger-placeholder {
    color: #bdbdbd;
}

.clear-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48rpx;
    height: 48rpx;
    margin-right: 8rpx;
}

.popup-container {
    max-height: 70vh;
    padding: 24rpx;
    display: flex;
    flex-direction: column;
    background: #fff;
    .safe-area-inset-bottom();
}

.popup-actions {
    margin-bottom: 24rpx;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cancel-btn {
    color: #888;
    font-size: 28rpx;
}

.confirm-btn {
    color: var(--oak-color-primary);
    font-size: 28rpx;
}

.search-bar {
    height: 72rpx;
    margin-bottom: 24rpx;
}

.search-placeholder {
    font-size: 28rpx;
    color: #bdbdbd;
}

.search-input {
    font-size: 28rpx;
}

.loading-view {
    display: flex;
    justify-content: center;
    padding: 48rpx 0;
}

.option-scroll {
    max-height: 800rpx;
}

.option-item {
    padding: 12rpx 0;
}

.empty-view {
    padding: 48rpx 0;
    text-align: center;
    color: #999;
    font-size: 26rpx;
}
