.search-wrapper {
    position: relative;
    max-width: 600px;
    margin: auto;
}

.search-input {
    width: 100%;
    padding: 15px 30px 15px 15px;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    outline: none;
    color: #333;
}

.search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(45deg, #4abdda, #027cf6);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(87, 159, 237, 0.4);
    transition: transform 0.2s ease;
}

.search-input:focus {
    padding: 16px 35px 16px 16px;
    border: 2px solid #1B92EC !important;
}

.search-button:hover {
    transform: translateY(-50%) scale(1.1);
}

.search-icon {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2;
}

/*======================== combox recherche categorie ==================================== */

.combobox-wrapper {
    position: relative;
    max-width: 600px;
    margin: auto;
}

.combobox-input {
    width: 100%;
    padding: 15px 50px 15px 15px;
    font-size: 1.1rem;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    outline: none;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.combobox-input:focus {
    padding: 16px 55px 16px 16px;
    border: 2px solid #1B92EC !important;
    background: rgba(255, 255, 255, 1);
}

.combobox-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(45deg, #4abdda, #027cf6);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(87, 159, 237, 0.4);
    transition: transform 0.2s ease;
}

.combobox-button:hover {
    transform: translateY(-50%) scale(1.1);
}

.combobox-button.active {
    transform: translateY(-50%) rotate(180deg);
}

.dropdown-icon {
    width: 20px;
    height: 20px;
    stroke: white;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

/* Dropdown liste */
.combobox-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.combobox-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.combobox-option {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
    font-size: 1rem;
    color: #333;
}

.combobox-option:hover {
    background: linear-gradient(45deg, rgba(74, 189, 218, 0.1), rgba(2, 124, 246, 0.1));
    color: #027cf6;
}

.combobox-option.selected {
    background: linear-gradient(45deg, #4abdda, #027cf6);
    color: white;
}

.combobox-option:last-child {
    border-bottom: none;
    border-radius: 0 0 15px 15px;
}

.combobox-option:first-child {
    border-radius: 15px 15px 0 0;
}

.combobox-option.no-results {
    color: #666;
    font-style: italic;
    text-align: center;
    cursor: default;
}

.combobox-option.no-results:hover {
    background: none;
    color: #666;
}

/* Scrollbar personnalisée */
.combobox-dropdown::-webkit-scrollbar {
    width: 6px;
}

.combobox-dropdown::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.combobox-dropdown::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #4abdda, #027cf6);
    border-radius: 10px;
}

.combobox-dropdown::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #027cf6, #4abdda);
}

/* Responsive */
@media (max-width: 768px) {
    .combobox-wrapper {
        margin-bottom: 10px;
        max-width: 100%;
    }

    .combobox-input {
        font-size: 1rem;
        padding: 12px 45px 12px 12px;
    }

    .combobox-button {
        width: 40px;
        height: 40px;
        right: 6px;
    }

    .dropdown-icon {
        width: 18px;
        height: 18px;
    }
}

/* Style pour les exemples */
.example-section {
    margin: 40px 0;
}