/**
 * Truly Impressive Search Suggestions - Theme-Matched
 * Premium design with perfect spacing and white thumbnails
 */

/* Search Suggestions Container */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, rgba(26, 26, 26, 0.98) 100%);
    border: 1px solid rgba(46, 208, 110, 0.3);
    border-radius: 16px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.7),
        0 8px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(46, 208, 110, 0.2),
        0 0 0 1px rgba(46, 208, 110, 0.1);
    z-index: 999999 !important;
    max-height: 420px;
    overflow-y: auto;
    display: none;
    margin-top: 8px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Position adjustments for different search layouts */
.hero-search .search-suggestions {
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    width: 100%;
    max-width: 600px;
}

.hero-search-modern .search-suggestions {
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    min-width: 500px;
    max-width: 700px;
    z-index: 999999 !important;
}

/* Tools page hero search */
.tools-hero-section .hero-search .search-suggestions {
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    width: 100%;
    max-width: 600px;
    z-index: 999999 !important;
}

/* Categories page hero search */
.categories-hero-section .hero-search .search-suggestions {
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    width: 100%;
    max-width: 600px;
    z-index: 999999 !important;
}

/* 404 page search */
.error-404-page .error-search .search-suggestions {
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    min-width: 400px;
    max-width: 500px;
    z-index: 999999 !important;
}

.mobile-search .search-suggestions,
.mobile-search-container .search-suggestions {
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    margin-top: 4px;
}

.search-input-group .search-suggestions {
    top: calc(100% + 8px);
    left: 0;
    right: 0;
}

/* Ensure hero section doesn't cut off suggestions */
.hero-section-modern,
.hero-search-modern,
.search-container,
.tools-hero-section,
.categories-hero-section,
.error-404-page,
.error-search {
    overflow: visible !important;
}

/* Ensure search suggestions appear above all toolbars and sections */
.search-suggestions {
    z-index: 999999 !important;
    position: absolute !important;
}

/* Force above any toolbar sections */
.tool-toolbar-section,
.toolbar-section,
*[class*="toolbar"],
*[class*="toolbar-section"] {
    z-index: 9999 !important;
}

/* Blog-specific suggestion styling */
.suggestion-thumb-blog {
    background: linear-gradient(135deg, #2ED06E 0%, #22c55e 100%) !important;
    font-size: 18px !important;
}

.suggestion-thumb-category {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
    font-size: 18px !important;
}

.suggestion-item[data-type="blog_post"] .suggestion-category {
    background: rgba(46, 208, 110, 0.1);
    color: #2ED06E;
}

.suggestion-item[data-type="blog_category"] .suggestion-category {
    background: rgba(22, 163, 74, 0.1);
    color: #16a34a;
}

.suggestion-date {
    font-size: 12px;
    color: #999;
    margin-left: 8px;
}

/* Blog-specific search form styling */
.blog-search-form {
    position: relative;
}

.blog-search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border: 2px solid #d1fae5;
    border-radius: 16px;
    padding: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.blog-search-input-group:focus-within {
    border-color: #2ED06E;
    box-shadow: 0 8px 25px rgba(46, 208, 110, 0.15);
    transform: translateY(-2px);
}

.blog-search-icon {
    position: absolute;
    left: 16px;
    color: #2ED06E;
    font-size: 16px;
    z-index: 2;
    pointer-events: none;
}

.blog-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 16px 20px 16px 48px;
    font-size: 16px;
    font-weight: 500;
    color: #334155;
    outline: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.blog-search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.blog-search-btn {
    background: linear-gradient(135deg, #2ED06E 0%, #22c55e 100%);
    border: none;
    border-radius: 12px;
    padding: 12px 16px;
    margin: 4px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
}

.blog-search-btn:hover {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 208, 110, 0.3);
}

/* Blog page search styling */
.blog-search-section {
    margin: 40px 0 20px;
}

.blog-search-container {
    max-width: 600px;
    margin: 0 auto;
}

.blog-search-container .search-suggestions {
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    width: 100%;
    min-width: 500px;
    max-width: 600px;
    z-index: 999999 !important;
}

/* Ensure blog page doesn't cut off suggestions */
.blog-header-section,
.blog-search-section,
.blog-search-container {
    overflow: visible !important;
}

/* Ensure search wrappers have relative positioning for absolute suggestions */
.search-wrapper,
.search-form,
.mobile-search,
.hero-search,
.search-input-group,
.search-container,
.error-search,
.blog-search-container,
.blog-search-form {
    position: relative !important;
}

/* Adjustments for shortcode search forms */
.aitools-search-form {
    position: relative !important;
}

.aitools-search-form .search-suggestions {
    top: calc(100% + 8px);
    left: 0;
    right: 0;
}

/* Suggestion Header Arrow */
.search-suggestions::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 28px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, rgba(26, 26, 26, 0.98) 100%);
    border: 1px solid rgba(46, 208, 110, 0.3);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    border-radius: 4px 0 0 0;
    box-shadow: 
        -3px -3px 6px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(46, 208, 110, 0.2);
}

/* Suggestion Items */
.suggestion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: linear-gradient(90deg, rgba(46, 208, 110, 0.12) 0%, rgba(46, 208, 110, 0.04) 100%);
    transform: translateX(6px);
    border-left: 2px solid #2ED06E;
    padding-left: 14px;
}

.suggestion-item.active {
    background: linear-gradient(90deg, rgba(46, 208, 110, 0.16) 0%, rgba(46, 208, 110, 0.06) 100%);
    transform: translateX(6px);
    border-left: 2px solid #2ED06E;
    padding-left: 14px;
}

/* Suggestion Links */
.suggestion-item a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: inherit;
    gap: 14px;
    position: relative;
}

/* Suggestion Thumbnail */
.suggestion-thumb {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
    background: #ffffff;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.suggestion-item:hover .suggestion-thumb {
    transform: scale(1.08);
    box-shadow: 
        0 8px 24px rgba(46, 208, 110, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(46, 208, 110, 0.3);
}

/* Suggestion Content */
.suggestion-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.suggestion-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.suggestion-excerpt {
    font-size: 12px;
    color: #a0a0a0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
}

/* Suggestions Header */
.suggestions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px 10px;
    border-bottom: 1px solid rgba(46, 208, 110, 0.15);
    background: linear-gradient(135deg, rgba(46, 208, 110, 0.08) 0%, transparent 100%);
}

.suggestions-title {
    font-size: 10px;
    font-weight: 800;
    color: #2ED06E;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 0 8px rgba(46, 208, 110, 0.4);
}

.suggestions-count {
    font-size: 9px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #2ED06E 0%, #26b870 100%);
    padding: 3px 6px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(46, 208, 110, 0.25);
    border: 1px solid rgba(46, 208, 110, 0.2);
}

/* Suggestions List */
.suggestions-list {
    max-height: 280px;
    overflow-y: auto;
}

/* Suggestions Footer */
.suggestions-footer {
    padding: 10px 20px 14px;
    border-top: 1px solid rgba(46, 208, 110, 0.15);
    background: linear-gradient(135deg, rgba(46, 208, 110, 0.04) 0%, transparent 100%);
}

.suggestions-tip {
    font-size: 9px;
    color: #666666;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.3px;
    opacity: 0.7;
}

/* Suggestion Meta */
.suggestion-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}

/* Suggestion Category */
.suggestion-category {
    display: inline-flex;
    align-items: center;
    font-size: 8px;
    font-weight: 800;
    color: #2ED06E;
    background: linear-gradient(135deg, rgba(46, 208, 110, 0.15) 0%, rgba(46, 208, 110, 0.08) 100%);
    padding: 2px 6px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border: 1px solid rgba(46, 208, 110, 0.2);
    box-shadow: 0 1px 3px rgba(46, 208, 110, 0.15);
}

/* Suggestion Badge */
.suggestion-badge {
    display: inline-flex;
    align-items: center;
    font-size: 7px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, #2ED06E 0%, #26b870 100%);
    padding: 2px 5px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 1px 3px rgba(46, 208, 110, 0.15);
    border: 1px solid rgba(46, 208, 110, 0.3);
}

/* Loading State */
.suggestion-loading {
    padding: 32px 20px;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, rgba(46, 208, 110, 0.08) 0%, transparent 100%);
    border-radius: 12px;
    margin: 16px;
    border: 1px solid rgba(46, 208, 110, 0.15);
}

.loading-spinner {
    position: relative;
    width: 32px;
    height: 32px;
    transform-origin: center center;
}

.loading-spinner::before,
.loading-spinner::after,
.loading-spinner span {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform-origin: center center;
}

.loading-spinner::before {
    background: linear-gradient(135deg, #2ED06E 0%, #26b870 100%);
    box-shadow: 
        0 0 16px rgba(46, 208, 110, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%) translateY(-8px) translateX(-8px) scale(1);
}

.loading-spinner::after {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    box-shadow: 
        0 0 16px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) translateY(8px) translateX(0px) scale(1);
}

.loading-spinner span {
    background: linear-gradient(135deg, #2ED06E 0%, #26b870 100%);
    box-shadow: 
        0 0 16px rgba(46, 208, 110, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translate(-50%, -50%) translateY(-8px) translateX(8px) scale(1);
    display: block;
}

/* Add wrapper for V shape spinning and zooming */
.loading-spinner-wrapper {
    position: relative;
    width: 32px;
    height: 32px;
    margin: 0 auto 12px;
    animation: spinAndZoomV 2.5s ease-in-out infinite;
}

.loading-text {
    font-size: 13px;
    color: #ffffff;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    margin-top: 12px;
    letter-spacing: 0.5px;
}

@keyframes spinAndZoomV {
    0% {
        transform: rotate(0deg) scale(0.9);
        opacity: 0.4;
    }
    50% {
        transform: rotate(180deg) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: rotate(360deg) scale(0.9);
        opacity: 0.4;
    }
}

@keyframes zoomLeftDot {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) translateY(-12px) translateX(-8px) scale(0.8);
    }
    40% {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(-12px) translateX(-8px) scale(1.2);
    }
}

@keyframes zoomCenterDot {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) translateY(0px) scale(0.8);
    }
    40% {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0px) scale(1.2);
    }
}

@keyframes zoomRightDot {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) translateY(-12px) translateX(8px) scale(0.8);
    }
    40% {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(-12px) translateX(8px) scale(1.2);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.2);
    }
}

/* Error State */
.suggestion-error {
    padding: 24px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 80, 80, 0.08) 0%, rgba(255, 80, 80, 0.03) 100%);
    border-radius: 12px;
    margin: 12px;
    border: 1px solid rgba(255, 80, 80, 0.2);
}

.error-icon {
    font-size: 36px;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 6px rgba(255, 80, 80, 0.4));
    animation: errorShake 0.5s ease-in-out;
}

.error-text {
    font-size: 15px;
    font-weight: 700;
    color: #ff5050;
    margin-bottom: 6px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.01em;
}

.error-hint {
    font-size: 12px;
    color: #a0a0a0;
    font-weight: 500;
    margin-top: 8px;
    opacity: 0.8;
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Empty State */
.suggestion-empty {
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(46, 208, 110, 0.05) 0%, transparent 100%);
    border-radius: 16px;
    margin: 16px;
    border: 1px solid rgba(46, 208, 110, 0.1);
}

.empty-icon {
    font-size: 40px;
    margin-bottom: 12px;
    opacity: 0.6;
    filter: drop-shadow(0 3px 6px rgba(255, 255, 255, 0.1));
}

.empty-text {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.01em;
}

.empty-hint {
    font-size: 12px;
    color: #a0a0a0;
    font-weight: 500;
    margin-top: 8px;
    opacity: 0.8;
}

.empty-hint {
    font-size: 11px;
    color: #666666;
    font-weight: 500;
}

/* Suggestion Arrow */
.suggestion-arrow {
    margin-left: auto;
    opacity: 0;
    transform: translateX(-10px) scale(0.7);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #2ED06E;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 3px rgba(46, 208, 110, 0.4));
}

.suggestion-item:hover .suggestion-arrow {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* Thumbnail Placeholder */
.suggestion-thumb-placeholder {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    flex-shrink: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    color: #2ED06E;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.suggestion-item:hover .suggestion-thumb-placeholder {
    transform: scale(1.08);
    box-shadow: 
        0 8px 24px rgba(46, 208, 110, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(46, 208, 110, 0.2);
}

/* Search Term Highlighting */
mark {
    background: linear-gradient(135deg, rgba(46, 208, 110, 0.3) 0%, rgba(46, 208, 110, 0.15) 100%);
    color: #ffffff;
    font-weight: 800;
    padding: 1px 3px;
    border-radius: 3px;
    font-size: inherit;
    box-shadow: 0 1px 2px rgba(46, 208, 110, 0.2);
    border: 1px solid rgba(46, 208, 110, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .search-suggestions {
        max-height: 320px;
        border-radius: 12px;
        margin-top: 6px;
    }
    
    .suggestion-item a {
        padding: 10px 16px;
        gap: 10px;
    }
    
    .suggestion-thumb,
    .suggestion-thumb-placeholder {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }
    
    .suggestion-title {
        font-size: 13px;
    }
    
    .suggestion-excerpt {
        font-size: 11px;
    }
}

/* Smooth Animations */
.search-suggestions {
    animation: slideDownBounce 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes slideDownBounce {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    50% {
        opacity: 1;
        transform: translateY(2px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scrollbar Styling */
.search-suggestions::-webkit-scrollbar {
    width: 8px !important;
}

.search-suggestions::-webkit-scrollbar-track {
    background: rgba(26, 26, 26, 0.3) !important;
    border-radius: 4px !important;
    border: 1px solid rgba(46, 208, 110, 0.1) !important;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2ED06E 0%, #26b870 100%) !important;
    border-radius: 4px !important;
    border: 1px solid rgba(46, 208, 110, 0.3) !important;
    min-height: 20px !important;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #26b870 0%, #2ED06E 100%) !important;
    box-shadow: 0 0 8px rgba(46, 208, 110, 0.5) !important;
    border: 1px solid rgba(46, 208, 110, 0.5) !important;
}

.search-suggestions::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, #2ED06E 0%, #1fa058 100%) !important;
    box-shadow: 0 0 12px rgba(46, 208, 110, 0.7) !important;
}

/* Firefox scrollbar support */
.search-suggestions {
    scrollbar-width: thin;
    scrollbar-color: #2ED06E rgba(26, 26, 26, 0.3);
}

/* Ensure scrollbar is always visible */
.search-suggestions:hover::-webkit-scrollbar-track {
    background: rgba(26, 26, 26, 0.5) !important;
}

.search-suggestions:hover::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2ED06E 0%, #26b870 100%) !important;
    box-shadow: 0 0 4px rgba(46, 208, 110, 0.3) !important;
}

/* Search Clear Button */
.search-field::-webkit-search-cancel-button,
.search-field::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

/* Custom clear button styling */
.search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    color: #2ED06E;
    font-size: 18px;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    line-height: 1;
}

.search-clear:hover {
    color: #26b870;
    transform: translateY(-50%) scale(1.1);
}

.search-clear:active {
    color: #1fa058;
    transform: translateY(-50%) scale(0.95);
}

/* Show clear button when input has content */
.search-field:not(:placeholder-shown) ~ .search-clear,
.search-field:focus:not(:placeholder-shown) ~ .search-clear {
    opacity: 1;
    visibility: visible;
}

/* Alternative styling for browser default clear buttons */
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
    height: 20px;
    width: 20px;
    background: linear-gradient(135deg, #2ED06E 0%, #26b870 100%);
    border-radius: 50%;
    cursor: pointer;
    border: 1px solid rgba(46, 208, 110, 0.3);
    box-shadow: 0 2px 8px rgba(46, 208, 110, 0.25);
}

input[type="search"]::-webkit-search-cancel-button:hover {
    background: linear-gradient(135deg, #26b870 0%, #2ED06E 100%);
    box-shadow: 0 4px 12px rgba(46, 208, 110, 0.4);
}

/* Firefox clear button styling */
input[type="search"]::-moz-clear {
    background: linear-gradient(135deg, #2ED06E 0%, #26b870 100%);
    border: 1px solid rgba(46, 208, 110, 0.3);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(46, 208, 110, 0.25);
}

input[type="search"]::-moz-clear:hover {
    background: linear-gradient(135deg, #26b870 0%, #2ED06E 100%);
    box-shadow: 0 4px 12px rgba(46, 208, 110, 0.4);
}

/* Hover Effects */
.suggestion-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(46, 208, 110, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.suggestion-item:hover::before {
    opacity: 1;
}

/* Entrance Animations */
.suggestion-item {
    opacity: 0;
    transform: translateY(20px);
    animation: suggestionSlideIn 0.5s ease-out forwards;
}

@keyframes suggestionSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
