.search-results {
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    border: 1px solid #dee2e6;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.search-list-item {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-list-item:hover {
    background-color: #f8f9fa;
}

.search-list-item h5 {
    font-size: 0.95rem;
    font-weight: 500;
    color: #212529;
}

.search-list-item h6 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-list-item p {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #6c757d;
}

.search-error {
    color: #6c757d;
}

.search-error i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.search-error p {
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Input grup stilleri */
.input-group .form-control {
    border-right: none;
    padding-right: 0;
}

.input-group .input-group-text {
    background-color: transparent;
    border-left: none;
    padding-left: 0.5rem;
}

/*.input-group .form-control:focus {
    box-shadow: none;
    border-color: #dee2e6;
}*/

.input-group .form-control:focus + .input-group-text {
    border-color: #dee2e6;
}

/* Scrollbar stilleri */
.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.search-results::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Searchbar aktifken header'ı öne çıkar */
header.sticky-top {
    z-index: 1030;
}

.searchbar:not(.d-none) {
    position: relative;
    z-index: 1001;
}

/* Search Input Placeholder - beyaz renk */
.searchbar #search-all-input::placeholder {
    color: rgba(255, 255, 255, 0.85);
    opacity: 1;
}

.searchbar #search-all-input::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.85);
}

.searchbar #search-all-input::-moz-placeholder {
    color: rgba(255, 255, 255, 0.85);
}

.searchbar #search-all-input:-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.85);
}

/* Animated Gradient Background */
@keyframes gradientSlide {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Searchbar açıkken animasyonu aktifleştir */
.navbar.bg-wg:has(.searchbar:not(.d-none)),
.navbar.bg-wg.search-active {
    background-size: 200% 100%;
    animation: gradientSlide 3s ease infinite;
} 