/* Estilos para el select personalizado con iconos */
.custom-select-container {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

.custom-select-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #ecf0f3;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.custom-select-selected:hover {
    background: #dfe6ed;
    border-color: #3498db;
}

.custom-select-selected span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-select-selected i {
    color: #666;
    font-size: 20px;
}

.custom-select-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    border-top: none;
    border-radius: 0 0 8px 8px;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.custom-select-options.show {
    display: block;
}

.custom-select-option {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease;
}

.custom-select-option:hover {
    background: #3498db;
    color: white;
}

.custom-select-option:last-child {
    border-bottom: none;
}

.custom-select-option .option-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    object-fit: contain;
}

/* Scrollbar para las opciones */
.custom-select-options::-webkit-scrollbar {
    width: 8px;
}

.custom-select-options::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.custom-select-options::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 4px;
}

.custom-select-options::-webkit-scrollbar-thumb:hover {
    background: #2980b9;
}
