/* Search Root Styling */
.elementor-widget-container #search-root {
    background: linear-gradient(145deg, #ffffff, #f0f7ff);
    border-radius: 8px;
    height: auto;
    overflow-y: visible;
    padding: 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}


/* Search Wrapper */
.jgs-search-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Title Styling */
.jgs-title {
    color: #2196F3 !important;
    font-size: 28px !important;
    font-weight: 600 !important;
    text-align: center;
    margin-bottom: 30px !important;
}

/* Grid Styling */
.jgs-options-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
}

/* Option Button Styling */
.jgs-option-button {
    padding: 18px 25px !important;
    background: #ffffff !important;
    border: 2px solid #e8f4ff !important;
    border-radius: 12px !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    color: #2196F3 !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    position: relative !important;
    transform: translateY(0);
}

.jgs-option-button::after {
    content: '';
    position: absolute;
    left: 15%;
    bottom: -12px;
    width: 70%;
    height: 15px;
    background: rgba(0, 0, 0, 0.06);
    filter: blur(8px);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: -1;
}

.jgs-option-button:hover {
    transform: translateY(-3px);
    background: #ffffff !important;
    color: #444 !important;
    border-color: #2196F3 !important;
}

.jgs-option-button:hover::after {
    bottom: -14px;
    background: rgba(33, 150, 243, 0.08);
}

/* Input Styling */
.jgs-search-input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.jgs-search-box {
    width: 100%;
    padding: 16px 50px 16px 20px !important;
    border: 2px solid rgba(33, 150, 243, 0.3) !important;
    border-radius: 12px !important;
    font-size: 16px !important;
    transition: all 0.2s ease !important;
    background: white !important;
}

.jgs-search-box:focus {
    outline: none !important;
    border-color: #2196F3 !important;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1) !important;
}

/* Reset Button Styling */
.jgs-reset-button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    border: none !important;
    color: #2196F3 !important;
    font-size: 18px !important;
    cursor: pointer;
    padding: 8px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    opacity: 0.7;
}

.jgs-reset-button:hover {
    opacity: 1;
    background: rgba(33, 150, 243, 0.1) !important;
}

/* Results Styling */
.jgs-results {
    margin-top: 15px;
}

.jgs-result-link {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
    text-decoration: none;
    color: inherit;
}

.jgs-result-link:last-child {
    border-bottom: none;
}

.jgs-result-title {
    color: #2196F3;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.jgs-result-city {
    color: #667;
    font-size: 14px;
    margin: 2px 0 0;
    text-decoration: none;
    display: block;
}

.jgs-result-city:hover {
    color: #444;
    text-decoration: none;
}

.jgs-result-link:hover .jgs-result-title {
    color: #667;
}

/* No Results Styling */
.jgs-no-results {
    color: #667;
    font-size: 16px;
    text-align: center;
    margin: 20px 0;
    font-style: italic;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .jgs-search-wrapper {
        padding: 15px;
    }
    
    .jgs-option-button {
        min-height: 60px !important;
        margin: 5px 0;
    }
    
    .jgs-title {
        font-size: 24px !important;
    }
}

.search-everything-btn {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-everything-btn:hover {
    background-color: #005885;
}