:root {
    --primary-color: #022c5c;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

.search-container {
    max-width:100%;
    margin: 0 auto;
    position: relative;
    border-color: #666;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    background-color: rgb(255, 255, 255);
    border-radius: 8px;
    padding: 0 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.search-icon {
    color: #888;
    margin-right: 10px;
}

#searchInput {
    flex: 1;
    border: none;
    padding: 15px 0;
    font-size: 16px;
    outline: none;
    width: 100%;
}

.clear-icon {
    cursor: pointer;
    color: #888;
    display: none;
    padding: 5px;
}

.suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border-radius: 0 0 8px 8px;
    box-shadow: var(--shadow);
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.suggestions-dropdown.show {
    max-height: 500px;
    overflow-y: auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.category {
    /* background-color: #f8f8f8; */
    border-radius: 6px;
    overflow: hidden;
}

.category-header {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 15px;
    font-weight: bold;
}

.category-header1 {
    background-color: none;
    color: black;
    padding: 10px 15px;
    font-weight: bold;
}

.subcategory-list {
    padding: 10px 0;
}

.subcategory-item {
    padding: 8px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.subcategory-item:hover {
    /* background-color: #f0f0f0; */
}

.no-results {
    padding: 15px;
    /* color: #666; */
    text-align: center;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

/* .modal-content {
    background-color: #022c5c;
    margin: 10% auto;
    padding: 25px;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
} */

.modal.show .modal-content {
    transform: translateY(0);
}

.close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-header {
    margin-bottom: 15px;
}

/* .modal-header h2 {
    margin: 0;
    color: var(--primary-color);
} */

.highlighted {
    color: var(--primary-color);
    font-weight: bold;
}