
.search-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
}

.search-box:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

#searchInput {
    flex: 1;
    padding: 18px 20px;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

#searchInput::placeholder {
    color: #999;
    font-weight: 400;
}

.search-btn {
    background: #ff6b00;
    border: none;
    padding: 18px 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0 50px 50px 0;
    font-size: 16px;
}

.search-btn:hover {
    background: #ff6b00;
    transform: scale(1.05);
}

.clear-btn {
    background: #ff4757;
    border: none;
    padding: 18px 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    margin-right: 10px;
    font-size: 14px;
}

.clear-btn:hover {
    background: #ff3742;
    transform: scale(1.05);
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .search-container {
        max-width: 80%;
        padding: 0 15px;
    }
    
    .search-box {
        border-radius: 25px;
    }
    
    #searchInput {
        padding: 15px 18px;
        font-size: 16px;
    }
    
    .search-btn {
        padding: 15px 20px;
        border-radius: 0 25px 25px 0;
    }
    
    .clear-btn {
        padding: 15px 18px;
        margin-right: 8px;
    }
}

@media (max-width: 480px) {
    .search-box {
        border-radius: 20px;
    }
    
    #searchInput {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .search-btn {
        padding: 12px 18px;
        border-radius: 0 20px 20px 0;
    }
    
    .clear-btn {
        padding: 12px 15px;
        margin-right: 5px;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-suggestions.show,
.search-results.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Scrollbar stilleri */
.search-suggestions::-webkit-scrollbar {
    width: 6px;
}

.search-suggestions::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.search-suggestions::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.3);
    border-radius: 3px;
}

.search-suggestions::-webkit-scrollbar-thumb:hover {
    background: rgba(102, 126, 234, 0.5);
} 