/* 联系方式下拉框样式 */
.aso-select-contact .aso-select-trigger-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    background: #fff;

    border: 1px solid #EBECF0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 36px;
}

.aso-select-contact .aso-select-trigger-contact:hover {
    border-color: #4a90e2;
    background: #fafbff;
}

.aso-select-contact.aso-select-open .aso-select-trigger-contact {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    background: #fafbff;
}

.aso-select-contact .aso-select-left {
    display: flex;
    align-items: center;

}

.aso-select-contact .aso-select-left .icon-img {
    width: 20px;
    height: 20px;
}

.aso-select-contact .aso-select-label {
    font-size: 16px;
    color: #74757A;

}

.aso-select-contact .aso-select-arrow {
    font-size: 12px;
    color: #74757A;
    transition: transform 0.3s ease;
}

.aso-select-contact.aso-select-open .aso-select-arrow {
    transform: rotate(90deg);
}

.aso-select-contact .aso-select-options-contact {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e1e5ea;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.aso-select-contact.aso-select-open .aso-select-options-contact {
    display: block;
}

.aso-select-option-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.aso-select-option-contact:hover {
    background-color: #e9eefc;

}

.aso-select-option-contact:hover .aso-select-label {
    color: #4e7aea !important;
}

.aso-select-option-contact.aso-select-option-active {
    background-color: #e9eefc;
    color: #4e7aea !important;
}

.aso-select-option-contact.aso-select-option-active .aso-select-label {
    color: #4e7aea !important;
}

.aso-select-option-contact .icon-img {
    width: 18px;
    height: 18px;
}

.aso-select-option-contact .aso-select-label {
    font-size: 14px;
}

/* 国家地区下拉框样式 */
.aso-select-country {
    position: relative;
    width: 100%;
}

.aso-select-country .aso-select-trigger-country {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #EBECF0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 36px;
}

.aso-select-country .aso-select-trigger-country .aso-select-label {
    color: #74757A !important;
}

.aso-select-country .aso-select-trigger-country .aso-select-label span {
    color: #111 !important;
}

.aso-select-country .aso-select-trigger-country:hover {
    border-color: #2259e5;
    background: #fafbff;
}

.aso-select-country.aso-select-open .aso-select-trigger-country {
    border-color: #2259e5;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    background: #fafbff;
}

.aso-select-country .aso-select-trigger-country .aso-select-label {
    display: flex;
    align-items: center;

    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.aso-select-country .aso-select-trigger-country .country-flag-icon {
    width: 18px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.aso-select-country .aso-select-arrow {
    font-size: 14px;
    color: #999;
    transition: transform 0.3s ease;
}

.aso-select-country.aso-select-open .aso-select-arrow {
    transform: rotate(90deg);
}

.aso-select-country .aso-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e1e5ea;

    border-radius: 0 0 6px 6px;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-top: 10px;
    border-radius: 6px;
    min-height: 314px;
}

.aso-select-country.aso-select-open .aso-select-dropdown {
    display: block;
}

/* 搜索框样式 */
.aso-select-country .aso-select-search {
    display: flex;
    align-items: center;

    border-bottom: 1px solid #e1e5ea;
    position: relative;
    background: #fafbff;
    margin: 12px;
    border-radius: 15px;

}

.aso-select-country .aso-select-search-icon {
    position: absolute;
    right: 5px;
    color: #c0c4cc;
    font-size: 14px;
    z-index: 1;
}

.aso-select-country .aso-select-search-input {
    flex: 1;
    padding: 0 30px 0 12px;
    border: 1px solid #e1e5ea;

    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
    background-color: #f5f5f5;

    height: 32px;
    border-radius: 15px;
}

.aso-select-country .aso-select-search-input:focus {
    border-color: #2259e5;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.aso-select-country .aso-select-search-input::placeholder {
    color: #999;
}

.aso-select-country .aso-select-clear-btn {
    position: absolute;
    right: 20px;
    color: #999;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 4px;
    border-radius: 4px;
}

.aso-select-country .aso-select-clear-btn:hover {
    color: #666;
    background: #f5f7fa;
}

/* 国家选项列表样式 */
.aso-select-country .aso-select-options-country {
    max-height: 240px;
    overflow-y: auto;
    background: #fff;
    margin-top: 24px;
}

.aso-select-option-country {
    display: flex;
    align-items: center;

    padding: 0 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    height: 36px;
}

.aso-select-option-country:hover {
    background-color: #e9eefc;

}

.aso-select-option-country:hover .country-name {
    color: #4e7aea;
}

.aso-select-option-country.aso-select-option-active-country {

    background-color: #e9eefc;

}

.aso-select-option-country.aso-select-option-active-country .country-name {
    color: #4e7aea;
}

.aso-select-option-country .country-flag-icon {
    width: 21px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.aso-select-option-country .country-name {
    font-size: 14px;
    flex: 1;
}

/* 搜索高亮样式 */
.country-name-highlight {
    /* background-color: #fff3cd;
    color: #856404;
    padding: 1px 3px;
    border-radius: 3px;
    font-weight: 600; */
}

/* 无结果提示样式 */
.aso-select-country .aso-select-no-result {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
    background: #fafbff;
}

.aso-select-country .aso-select-no-result::before {
    content: "🔍";
    display: block;
    font-size: 24px;
    margin-bottom: 8px;
    opacity: 0.5;
}

/* 滚动条样式 */
.aso-select-options-country::-webkit-scrollbar {
    width: 8px;
}

.aso-select-options-country::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 4px;
}

.aso-select-options-country::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.aso-select-options-country::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .aso-select-country .aso-select-dropdown {
        max-height: 300px;
    }

    .aso-select-country .aso-select-options-country {
        max-height: 250px;
    }

    .aso-select-option-country {
        padding: 12px;
    }

    .aso-select-country .aso-select-search {
        padding: 10px;
    }
}

/* 禁用状态 */
.aso-select-country.aso-select-disabled {
    opacity: 0.6;
    pointer-events: none;
}

.aso-select-country.aso-select-disabled .aso-select-trigger-country {
    background-color: #f8f9fa;
    cursor: not-allowed;
}

/* 加载状态 */
.aso-select-country .aso-select-loading {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.aso-select-country .aso-select-loading::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #e1e5ea;
    border-top: 2px solid #4a90e2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}