.saivercon-select-widget {
    width: 100%;
    padding: var(--select-padding, 10px);
    font-size: var(--select-font-size, 16px);
    border-radius: var(--select-border-radius, 8px);
    border: 1px solid #ccc;
    background-color: white;
    color: var(--select-text-color, #000);
    cursor: pointer;
    transition: all 0.3s ease;
}

.saivercon-select-widget:hover {
    border-color: var(--select-hover-border-color, #0073aa);
}

.saivercon-select-widget option {
    font-size: var(--option-font-size, 16px);
    color: var(--option-text-color, #000);
}

/* Widget Search */
.saivercon-search-widget {
    position: relative;
    width: 100%;
}

.saivercon-search-input {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 8px;
    background-color: white;
    color: #000;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.saivercon-search-input:focus {
    outline: none;
    border-color: #0073aa;
}

.saivercon-search-helper {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.saivercon-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-top: 5px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

/* Estilo da barra de rolagem */
.saivercon-search-results::-webkit-scrollbar {
    width: 8px;
}

.saivercon-search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.saivercon-search-results::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.saivercon-search-results::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.saivercon-search-result-item {
    display: block !important;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    cursor: pointer;
    border-bottom-style: solid;
    width: 100%;
    box-sizing: border-box;
    clear: both;
    float: none;
}

/* Força display block em mobile */
@media (max-width: 768px) {
    .saivercon-search-result-item {
        display: block !important;
        width: 100% !important;
        float: none !important;
    }
}

.saivercon-search-result-item:last-child {
    border-bottom: none;
}

.saivercon-search-result-item:hover {
    background-color: #f5f5f5;
    color: #0073aa;
}

.saivercon-search-loading,
.saivercon-search-no-results,
.saivercon-search-error {
    padding: 15px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.saivercon-search-error {
    color: #d63638;
}
