.live-search-form {
    position: relative;
}

.live-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e1e1e;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    border-radius: 4px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #333;
}

.live-search-results ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.live-search-results li {
    border-bottom: 1px solid #333;
}

.live-search-results li:last-child {
    border-bottom: none;
}

.live-search-results a {
    display: flex;
    align-items: center;
    padding: 10px;
    text-decoration: none;
    color: #fff;
    transition: background 0.2s;
}

.live-search-results a:hover {
    background: #2a2a2a;
}

.live-search-thumb {
    width: 40px;
    height: 50px;
    margin-right: 10px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 3px;
    background: #333;
}

.live-search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-search-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.live-search-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 3px;
}

.live-search-type {
    font-size: 11px;
    color: #999;
    background: #333;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    align-self: flex-start;
}

.live-search-category-title {
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #aaa;
    background: #111;
    border-bottom: 1px solid #222;
    border-top: 1px solid #222;
}

.live-search-category-title:first-child {
    border-top: none;
}

.live-search-view-all {
    display: block;
    width: 100%;
    padding: 12px;
    text-align: center;
    background: #2b2b2b;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.2s;
    border-top: 1px solid #333;
}

.live-search-view-all:hover {
    background: #3a3a3a;
    color: #fff;
}

.live-search-no-result,
.live-search-loading {
    padding: 15px;
    text-align: center;
    color: #aaa;
    font-size: 13px;
}

@media (max-width: 768px) {
    .live-search-results {
        position: fixed;
        top: 60px; /* Header yüksekliğine göre ayarlanabilir */
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 60px);
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
}
