/* ========================================
   GELİŞMİŞ ARAMA SİSTEMİ STİLLERİ
   ======================================== */

/* Ana Arama Container */
.advanced-search-container {
    background: var(--card-background);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}

/* Ana Arama Satırı */
.search-main-row {
    margin-bottom: 25px;
}

.search-main-row .search-input-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    z-index: 1;
}

.search-main-row .search-input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1), 0 4px 20px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

/* Büyük Arama Input */
.search-input-large {
    flex: 1;
    padding: 15px 25px;
    font-size: 18px;
    border: none;
    background: transparent;
    outline: none;
    color: var(--text-color);
    font-weight: 500;
}

.search-input-large::placeholder {
    color: var(--text-light);
    font-weight: 400;
}

/* Arama Submit Butonu */
.search-submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.search-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-color) 100%);
}

.search-submit-btn:active {
    transform: translateY(0);
}

/* Filtre Paneli */
.search-filters-panel {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #e2e8f0;
}

.filters-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
}

.filter-group label i {
    margin-right: 5px;
    color: var(--primary-color);
}

.filter-group select,
.filter-group input[type="text"],
.filter-group input[type="date"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    font-size: 14px;
    transition: all 0.2s ease;
    color: var(--text-color);
}

.filter-group select:focus,
.filter-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

/* Tarih Aralığı */
.date-range-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-separator {
    color: var(--text-light);
    font-weight: 600;
}

/* Filtre Aksiyonları */
.filters-actions {
    text-align: right;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.button-secondary {
    background: white;
    color: var(--text-color);
    border: 2px solid var(--border-color);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.button-secondary:hover {
    background: var(--background-color);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-1px);
}

/* Canlı Arama Sonuçları - Modern Tasarım */
.live-search-results {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%) !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.25) !important,
        0 10px 30px rgba(0, 0, 0, 0.15) !important,
        0 0 0 1px rgba(255, 255, 255, 0.8) !important;
    max-height: 450px !important;
    overflow: hidden !important;
    z-index: 9999 !important;
    margin-top: 8px !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    transform: translateY(-10px) scale(0.95) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    display: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.live-search-results.show {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

/* Canlı Arama Header */
.live-search-header {
    padding: 16px 20px 12px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-radius: 16px 16px 0 0;
}

.live-search-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.live-search-header h4 i {
    font-size: 12px;
    color: #3b82f6;
}

/* Sonuçlar Container */
.live-search-results-list {
    max-height: 350px;
    overflow-y: auto;
    padding: 8px 0;
}

.live-search-results-list::-webkit-scrollbar {
    width: 6px;
}

.live-search-results-list::-webkit-scrollbar-track {
    background: transparent;
}

.live-search-results-list::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.3);
    border-radius: 3px;
}

.live-search-results-list::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.5);
}

/* Canlı Arama Öğeleri */
.live-search-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 20px;
    margin: 0 8px 4px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.live-search-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.live-search-item:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(6, 182, 212, 0.08) 100%);
    transform: translateX(4px);
    border-left: 3px solid #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.live-search-item:hover::before {
    left: 100%;
}

.live-search-item:active {
    transform: translateX(2px) scale(0.98);
}

/* İkon ve Avatar */
.live-search-item .result-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

/* Sonuç İçeriği */
.live-search-item .result-content {
    flex: 1;
    min-width: 0;
}

.live-search-item .result-title {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 4px 0;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.live-search-item .result-meta {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.live-search-item .result-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.live-search-item .result-meta .meta-item i {
    font-size: 11px;
    color: #94a3b8;
}

.live-search-item .result-type {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    color: #64748b;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Sonuç Bulunamadı */
.live-search-no-results {
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
}

.live-search-no-results i {
    font-size: 32px;
    margin-bottom: 12px;
    color: #cbd5e1;
}

.live-search-no-results h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #475569;
}

.live-search-no-results p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

/* Footer */
.live-search-footer {
    padding: 12px 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
    background: rgba(248, 250, 252, 0.5);
    border-radius: 0 0 16px 16px;
}

.live-search-footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.live-search-footer-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    color: white;
    text-decoration: none;
}

.live-search-footer-link i {
    font-size: 12px;
}

/* Arama Sonuçları Container */
.search-results-container {
    margin-top: 30px;
}

.search-results-header {
    margin-bottom: 25px;
}

.search-results-header h2 {
    color: var(--text-color);
    font-size: 24px;
    font-weight: 700;
}

.search-results-header strong {
    color: var(--primary-color);
}

/* Arama Sonuç Kartları */
.search-results-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.search-result-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.search-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

/* Sonuç Tipi Badge */
.result-type-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-type-badge.topic {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    color: white;
}

.result-type-badge.reply {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

/* Sonuç İçeriği */
.result-content {
    padding-right: 80px;
}

.result-title {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 700;
}

.result-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.result-title a:hover {
    color: var(--primary-color);
}

.result-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 15px;
}

/* Sonuç Meta Bilgileri */
.result-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 13px;
    color: var(--text-light);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.meta-item i {
    font-size: 12px;
    color: var(--primary-color);
}

.meta-item a {
    color: var(--text-light);
    text-decoration: none;
}

.meta-item a:hover {
    color: var(--primary-color);
}

/* Loading Spinner iyileştirmeleri */
.loading-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 30px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.loading-spinner i {
    font-size: 18px;
    color: #3b82f6;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Gelişmiş Fade Animasyonları */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeOutDown {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
}

.live-search-results.show .live-search-item {
    animation: fadeInUp 0.3s ease-out forwards;
}

.live-search-results.show .live-search-item:nth-child(1) { animation-delay: 0.05s; }
.live-search-results.show .live-search-item:nth-child(2) { animation-delay: 0.1s; }
.live-search-results.show .live-search-item:nth-child(3) { animation-delay: 0.15s; }
.live-search-results.show .live-search-item:nth-child(4) { animation-delay: 0.2s; }
.live-search-results.show .live-search-item:nth-child(5) { animation-delay: 0.25s; }

/* Pulse efekti loading sırasında */
.live-search-results.loading {
    background: linear-gradient(-45deg, #f8fafc, #e2e8f0, #f8fafc, #e2e8f0);
    background-size: 400% 400%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Enhanced Hover Interactions */
.live-search-item:hover .result-title {
    color: #3b82f6;
    transform: translateX(2px);
    transition: all 0.2s ease;
}

.live-search-item:hover .result-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

/* Sonuç Bulunamadı */
.no-results-found {
    text-align: center;
    padding: 60px 20px;
    background: var(--card-background);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

/* Responsive Tasarım İyileştirmeleri */
@media (max-width: 768px) {
    .live-search-results {
        margin-top: 4px;
        border-radius: 12px;
        max-height: 320px;
        left: -10px;
        right: -10px;
        box-shadow: 
            0 15px 40px rgba(0, 0, 0, 0.2),
            0 8px 20px rgba(0, 0, 0, 0.15);
    }
    
    .live-search-header {
        padding: 12px 16px 8px;
    }
    
    .live-search-header h4 {
        font-size: 13px;
    }
    
    .live-search-item {
        padding: 12px 16px;
        margin: 0 6px 2px;
        border-radius: 10px;
    }
    
    .live-search-item .result-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .live-search-item .result-title {
        font-size: 14px;
    }
    
    .live-search-item .result-meta {
        font-size: 11px;
        gap: 8px;
    }
    
    .live-search-results-list {
        max-height: 240px;
    }
    
    .live-search-footer {
        padding: 10px 16px;
    }
    
    .live-search-footer-link {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .live-search-results {
        left: -15px;
        right: -15px;
        max-height: 280px;
        border-radius: 10px;
    }
    
    .live-search-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 10px 12px;
    }
    
    .live-search-item .result-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
        align-self: center;
    }
    
    .live-search-item .result-content {
        width: 100%;
    }
    
    .live-search-item .result-meta {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .live-search-results-list {
        max-height: 200px;
        padding: 4px 0;
    }
}

/* Dark mode compatibility improvements */
@media (prefers-color-scheme: dark) {
    .live-search-results {
        background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.5),
            0 10px 30px rgba(0, 0, 0, 0.3),
            0 0 0 1px rgba(255, 255, 255, 0.1);
    }
    
    .live-search-header {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
        border-bottom-color: rgba(71, 85, 105, 0.5);
    }
    
    .live-search-header h4 {
        color: #cbd5e1;
    }
    
    .live-search-item:hover {
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(6, 182, 212, 0.15) 100%);
    }
}

/* Header Arama Önerileri - Kompakt Modern Stil */
.header-search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    width: 180px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    max-height: 160px;
    overflow-y: auto;
    z-index: 1000;
    margin-top: 4px;
    opacity: 0;
    transform: translateY(-5px);
    animation: headerSuggestionsShow 0.25s ease forwards;
}

@keyframes headerSuggestionsShow {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-search-suggestions::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 16px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-bottom: 4px solid #ffffff;
    filter: drop-shadow(0 -1px 1px rgba(0, 0, 0, 0.05));
}

.suggestion-item {
    padding: 10px 14px;
    cursor: pointer;
    transition: all 0.15s ease;
    border-bottom: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #374151;
    background-color: transparent;
    position: relative;
}

.suggestion-item::before {
    content: '\f002';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #9ca3af;
    margin-right: 10px;
    font-size: 11px;
    transition: all 0.15s ease;
}

.suggestion-item:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.suggestion-item:first-child {
    border-radius: 8px 8px 0 0;
}

.suggestion-item:only-child {
    border-radius: 8px;
}

.suggestion-item:hover {
    background: #f9fafb;
    color: #111827;
    border-left: 2px solid #3b82f6;
    padding-left: 12px;
}

.suggestion-item:hover::before {
    color: #3b82f6;
}

.suggestion-item:active {
    background: #f3f4f6;
}

/* Scrollbar için özel stil */
.header-search-suggestions::-webkit-scrollbar {
    width: 6px;
}

.header-search-suggestions::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.header-search-suggestions::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
    transition: background 0.2s ease;
}

.header-search-suggestions::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Header arama wrapper'ı için relative position */
.header-advanced-search {
    position: relative;
}

.header-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Küçük ekranlar için responsive ayarlar */
@media (max-width: 768px) {
    .header-search-suggestions {
        width: 160px;
        margin-top: 5px;
        max-height: 140px;
        border-radius: 6px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    }
    
    .header-search-suggestions::before {
        left: 16px;
    }
    
    .suggestion-item {
        padding: 6px 8px;
        font-size: 11px;
    }
    
    .suggestion-item::before {
        margin-right: 5px;
        font-size: 8px;
    }
}

/* Extra küçük ekranlar */
@media (max-width: 480px) {
    .header-search-suggestions {
        width: 140px;
        max-height: 120px;
    }
    
    .suggestion-item {
        padding: 5px 6px;
        font-size: 10px;
    }
    
    .suggestion-item::before {
        margin-right: 4px;
        font-size: 7px;
    }
}

/* Dark mode desteği */
@media (prefers-color-scheme: dark) {
    .header-search-suggestions {
        background: #1e293b;
        border-color: #334155;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 4px 10px rgba(0, 0, 0, 0.2);
    }
    
    .header-search-suggestions::before {
        border-bottom-color: #1e293b;
    }
    
    .suggestion-item {
        color: #cbd5e1;
        border-bottom-color: #334155;
    }
    
    .suggestion-item::before {
        color: #64748b;
    }
    
    .suggestion-item:hover {
        background: linear-gradient(135deg, #334155 0%, #475569 100%);
        color: #f1f5f9;
        border-left-color: #60a5fa;
    }
    
    .suggestion-item:hover::before {
        color: #60a5fa;
    }
    
    .header-search-suggestions::-webkit-scrollbar-track {
        background: #334155;
    }
    
    .header-search-suggestions::-webkit-scrollbar-thumb {
        background: #64748b;
    }
    
    .header-search-suggestions::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }
    
    .live-search-item .result-title {
        color: #f1f5f9;
    }
    
    .live-search-item .result-meta {
        color: #94a3b8;
    }
    
    .live-search-no-results {
        color: #94a3b8;
    }
    
    .live-search-no-results h4 {
        color: #cbd5e1;
    }
    
    .live-search-footer {
        background: rgba(15, 23, 42, 0.8);
        border-top-color: rgba(71, 85, 105, 0.5);
    }
}

.no-results-found i {
    font-size: 64px;
    color: var(--text-light);
    margin-bottom: 20px;
}

.no-results-found h3 {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 10px;
}

.no-results-found p {
    color: var(--text-light);
    font-size: 16px;
}

/* Popüler Aramalar */
.popular-searches-section {
    margin-top: 50px;
    padding: 30px;
    background: var(--card-background);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.popular-searches-section h3 {
    color: var(--text-color);
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popular-searches-section h3 i {
    color: #ef4444;
}

.popular-search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.popular-search-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.popular-search-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.2);
}

.popular-search-tag span {
    opacity: 0.7;
    font-size: 12px;
}

/* Header Mini Arama Kutusu */
.header-advanced-search {
    position: relative;
}

.header-search-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 2px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 40px;
}

.header-search-wrapper:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.header-search-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

.header-search-input {
    background: transparent;
    border: none;
    color: white;
    padding: 6px 12px;
    font-size: 14px;
    width: 150px;
    outline: none;
    transition: width 0.3s ease;
}

.header-search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.header-search-input:focus {
    width: 200px;
}

.header-search-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin: 2px;
}

.header-search-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .advanced-search-container {
        padding: 20px 15px;
    }
    
    .search-input-large {
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .filters-row {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .result-content {
        padding-right: 0;
    }
    
    .result-type-badge {
        position: static;
        display: inline-block;
        margin-bottom: 10px;
    }
    
    .result-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .header-search-input {
        width: 120px;
    }
    
    .header-search-input:focus {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .search-submit-btn span {
        display: none;
    }
    
    .search-submit-btn {
        padding: 12px 15px;
    }
    
    .popular-search-tag {
        font-size: 13px;
        padding: 6px 12px;
    }
}
