/* Academic Search Interface Styles */
:root {
    --primary-color: #003366; /* KKU Koyu Mavi */
    --secondary-color: var(--kku-brand, #E30613); /* KKU KÄ±rmÄ±zÄ± */
    --accent-color: #FF6B6B;
    --text-color: #333;
    --bg-color: #f5f5f5;
}

/* Arama bölgesi arka planı — foto yerine KKU gradient mesh + SVG animasyon */
.animated-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 520px;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    isolation: isolate;
    background-color: #0c1222;
    background-image:
        radial-gradient(ellipse 115% 75% at 50% -15%, rgba(227, 6, 19, 0.38) 0%, transparent 52%),
        radial-gradient(ellipse 65% 55% at 100% 45%, rgba(37, 99, 235, 0.22) 0%, transparent 48%),
        radial-gradient(ellipse 55% 45% at 0% 85%, rgba(227, 6, 19, 0.16) 0%, transparent 42%),
        linear-gradient(168deg, #070d18 0%, #0f172a 36%, #151d32 68%, #1a1030 100%);
    box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}

.animated-background::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: 0.55;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, transparent 88%);
}

.animated-background::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(7, 13, 24, 0.15) 0%, transparent 38%, rgba(7, 13, 24, 0.35) 100%),
        radial-gradient(ellipse 90% 40% at 50% 100%, rgba(0, 0, 0, 0.28) 0%, transparent 70%);
    pointer-events: none;
}

.bg-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.22;
    pointer-events: none;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out;
}

    .shape:nth-child(1) {
        top: 10%;
        left: 10%;
        animation-delay: 0s;
    }

    .shape:nth-child(2) {
        top: 20%;
        right: 15%;
        animation-delay: 2s;
    }

    .shape:nth-child(3) {
        bottom: 15%;
        left: 20%;
        animation-delay: 4s;
    }

    .shape:nth-child(4) {
        bottom: 25%;
        right: 10%;
        animation-delay: 6s;
    }

.pattern-shapes {
    opacity: 0.6;
}

.wave-patterns {
    opacity: 0.4;
}

.wave {
    animation-timing-function: linear;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Container positioning */
.container-fluid {
    position: relative;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .animated-background {
        height: 440px;
        width: 100vw;
        max-width: 100vw;
        left: 50%;
        right: auto;
        margin-left: -50vw;
    }

    .animated-background .bg-svg {
        opacity: 0.16;
    }

    .shape {
        opacity: 0.45 !important;
    }

    .premium-search-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (prefers-reduced-motion: reduce) {
    .animated-background * {
        animation: none !important;
    }
}

/* Header Styles */
.page-header {
    background: var(--primary-color);
    color: white;
    padding: 15px 0;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1100;
    animation: fadeInDown 0.8s ease-out;
}

    .page-header::before {
        display: none;
    }

    .page-header::after {
        display: none;
    }

    .page-header .container {
        position: relative;
        z-index: 2;
    }

    .page-header .row {
        align-items: center;
    }

    .page-header img {
        max-height: 60px;
        transition: transform 0.3s ease;
    }

        .page-header img:hover {
            transform: scale(1.05);
        }

    .page-header h1 {
        margin: 0;
        font-size: 1.8rem;
        font-weight: 600;
        text-shadow: none;
        position: relative;
        padding-left: 20px;
        color: white;
    }

        .page-header h1::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 3px;
            height: 60%;
            background: var(--secondary-color);
            border-radius: 2px;
        }

@media (max-width: 576px) {
    .page-header {
        padding: 10px 0;
    }

        .page-header h1 {
            font-size: 1.4rem;
        }
}

.main-content {
    position: relative;
    z-index: 1;
}

/* ============================================
   PREMIUM SEARCH DESIGN
   ============================================ */

.premium-search-container {
    margin: 40px auto 50px;
    max-width: 1200px;
    padding: 0 20px;
    position: relative;
    z-index: 1000;
    animation: fadeInUp 0.8s ease-out;
}

.premium-search-wrapper {
    position: relative;
}

/* Ana Arama Kutusu */
.premium-search-box {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e0e7ff;
    border-radius: 20px;
    padding: 8px 8px 8px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
}

    .premium-search-box:focus-within {
        border-color: var(--kku-brand, #E30613);
        box-shadow: 0 15px 50px rgba(227, 6, 19, 0.15), 0 5px 15px rgba(227, 6, 19, 0.1);
        transform: translateY(-2px);
    }

.search-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-right: 15px;
    background: linear-gradient(135deg, var(--kku-brand, #E30613) 0%, var(--kku-brand-hover, #c00510) 100%);
    border-radius: 12px;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.3);
    transition: all 0.3s ease;
}

.premium-search-box:focus-within .search-icon-container {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 20px rgba(227, 6, 19, 0.4);
}

.search-main-icon {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.premium-search-box:focus-within .search-main-icon {
    transform: scale(1.1);
}

.search-input-container {
    flex: 1;
    position: relative;
    min-width: 0;
}

.premium-search-input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 1.1rem;
    color: #1e293b;
    padding: 15px 0;
    font-weight: 400;
    transition: all 0.3s ease;
}

    .premium-search-input::placeholder {
        color: #94a3b8;
        font-weight: 400;
    }

    .premium-search-input:focus::placeholder {
        color: #cbd5e1;
    }

/* Arama Ã–nerileri */
.search-suggestions-wrapper {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 25px rgba(0, 0, 0, 0.1);
    z-index: 2005;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 500px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

/* Ã–neriler kutusunu premium-search-wrapper iÃ§inde premium-search-box ile aynÄ± geniÅŸlikte yap */
.premium-search-wrapper .search-suggestions-wrapper {
    width: 100%;
    left: 0;
    right: 0;
}

.search-suggestions-wrapper.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.suggestions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
    overflow-y: hidden;
    min-width: 0;
    flex-wrap: nowrap;
}

.suggestions-title {
    font-weight: 600;
    color: #475569;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: 0;
}

    .suggestions-title i {
        color: var(--kku-brand, #E30613);
    }

.suggestions-close {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 5px;
    border-radius: 6px;
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

    .suggestions-close:hover {
        background: #e2e8f0;
        color: #1e293b;
    }

.suggestions-content {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    padding-top: 15px;
    scrollbar-width: thin;
    scrollbar-color: #991b1b rgba(0, 0, 0, 0.06);
}

/* Ã–neriler paneli scrollbar - tek scroll, koyu kÄ±rmÄ±zÄ± */
.suggestions-content::-webkit-scrollbar {
    width: 8px;
}
.suggestions-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.06);
    border-radius: 4px;
}
.suggestions-content::-webkit-scrollbar-thumb {
    background: #991b1b;
    border-radius: 4px;
}
.suggestions-content::-webkit-scrollbar-thumb:hover {
    background: #7f1d1d;
}

.suggestion-item {
    padding: 12px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

    .suggestion-item:hover {
        background: #f1f5f9;
        transform: translateX(5px);
    }

    .suggestion-item i {
        color: var(--kku-brand, #E30613);
        font-size: 0.9rem;
        width: 20px;
    }

    .suggestion-item span {
        color: #334155;
        font-size: 0.95rem;
    }

/* Arama AksiyonlarÄ± */
.search-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 10px;
}

.search-filter-btn,
.search-clear-btn {
    width: 42px;
    height: 42px;
    border: none;
    background: #f1f5f9;
    border-radius: 10px;
    color: #64748b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

    .search-filter-btn:hover {
        background: var(--kku-brand, #E30613);
        color: white;
        transform: scale(1.05);
    }

    .search-filter-btn.active {
        background: var(--kku-brand, #E30613);
        color: white;
        box-shadow: 0 4px 12px rgba(227, 6, 19, 0.3);
    }

.search-clear-btn {
    display: flex;
}

    .search-clear-btn:hover {
        background: var(--kku-brand, #ef4444);
        color: white;
        transform: scale(1.05);
    }

/* Arama yÃ¼kleniyor - loading-animation.css ile aynÄ± yapÄ± (kompakt) */

/* Premium Arama Butonu */
.premium-search-btn {
    min-width: 140px;
    height: 58px;
    background: linear-gradient(135deg, var(--kku-brand, #E30613) 0%, var(--kku-brand-hover, #c00510) 100%);
    border: none;
    border-radius: 14px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.3);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

    .premium-search-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left 0.5s ease;
    }

    .premium-search-btn:hover::before {
        left: 100%;
    }

    .premium-search-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(227, 6, 19, 0.4);
        background: linear-gradient(135deg, var(--kku-brand-hover, #c00510) 0%, #a0040d 100%);
    }

    .premium-search-btn:active {
        transform: translateY(0);
    }

.btn-text {
    transition: transform 0.3s ease;
}

.premium-search-btn:hover .btn-text {
    transform: translateX(-3px);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.premium-search-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* Arama butonlarÄ± grubu (Ara + yan buton) */
.search-buttons-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Arama butonu yanÄ±ndaki ikincil buton */
.premium-search-secondary-btn {
    min-width: 140px;
    height: 58px;
    background: #ffffff;
    border: 2px solid var(--kku-brand, #E30613);
    border-radius: 14px;
    color: var(--kku-brand, #E30613);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.premium-search-secondary-btn:hover {
    background: #fef2f2;
    border-color: var(--kku-brand-hover, #c00510);
    color: var(--kku-brand-hover, #c00510);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(227, 6, 19, 0.2);
}

.premium-search-secondary-btn:active {
    transform: translateY(0);
}

/* Analiz ve Liste — pulse CTA (Gelişmiş Arama yanı) */
.premium-search-pulse-btn-wrap {
    position: relative;
    display: flex;
    flex-shrink: 0;
    text-decoration: none;
    border-radius: 14px;
    isolation: isolate;
}

.premium-search-pulse-btn-wrap::before,
.premium-search-pulse-btn-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    border: 2px solid rgba(124, 58, 237, 0.55);
    animation: premiumSearchPulseRing 2.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
    z-index: 0;
}

.premium-search-pulse-btn-wrap::after {
    animation-delay: 1.2s;
}

.premium-search-pulse-btn {
    position: relative;
    z-index: 1;
    min-width: 148px;
    height: 58px;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 48%, #5B21B6 100%);
    border: 2px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 22px;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s ease, filter 0.28s ease;
    box-shadow: 0 4px 18px rgba(124, 58, 237, 0.38);
    letter-spacing: 0.01em;
}

.premium-search-pulse-btn i {
    font-size: 1.05rem;
    opacity: 0.95;
}

.premium-search-pulse-btn-wrap:hover .premium-search-pulse-btn {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.48);
    filter: brightness(1.05);
}

.premium-search-pulse-btn-wrap:active .premium-search-pulse-btn {
    transform: translateY(0);
}

@keyframes premiumSearchPulseRing {
    0% {
        transform: scale(1);
        opacity: 0.75;
    }

    65% {
        transform: scale(1.14);
        opacity: 0.15;
    }

    100% {
        transform: scale(1.18);
        opacity: 0;
    }
}

/* HÄ±zlÄ± Filtreler */
.quick-filters {
    margin-top: 20px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 0;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
    padding-top: 10px;
}

.filter-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
}

    .filter-tag:hover {
        border-color: var(--kku-brand, #E30613);
        color: var(--kku-brand, #E30613);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(227, 6, 19, 0.15);
    }

    .filter-tag.active {
        background: linear-gradient(135deg, var(--kku-brand, #E30613) 0%, var(--kku-brand-hover, #c00510) 100%);
        border-color: var(--kku-brand, #E30613);
        color: white;
        box-shadow: 0 4px 15px rgba(227, 6, 19, 0.3);
    }

    .filter-tag i {
        font-size: 0.85rem;
    }

/* GeliÅŸmiÅŸ Filtreler Panel */
.advanced-filters-panel {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 25px rgba(0, 0, 0, 0.1);
    z-index: 1002;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    max-height: 600px;
    overflow: hidden;
}

    .advanced-filters-panel.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e2e8f0;
}

    .filters-header h4 {
        margin: 0;
        font-size: 1.1rem;
        font-weight: 600;
        color: #1e293b;
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .filters-header h4 i {
            color: var(--kku-brand, #E30613);
        }

.close-filters {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

    .close-filters:hover {
        background: #e2e8f0;
        color: #1e293b;
    }

.filters-content {
    padding: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .filter-group label {
        font-weight: 600;
        color: #475569;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .filter-group label i {
            color: var(--kku-brand, #E30613);
            font-size: 0.85rem;
        }

.filter-select,
.year-input {
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #334155;
    background: white;
    transition: all 0.3s ease;
    outline: none;
}

    .filter-select:focus,
    .year-input:focus {
        border-color: var(--kku-brand, #E30613);
        box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
    }

.year-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .year-range span {
        color: #64748b;
        font-weight: 500;
    }

.year-input {
    flex: 1;
}

/* Tarih Filtresi - Tek SatÄ±r DÃ¼zeni */
.filter-group-date {
    grid-column: 1 / -1;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.date-filter-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

    .date-filter-row .date-range-picker {
        flex: 1;
        min-width: 300px;
        margin: 0;
    }

    .date-filter-row .quick-date-filters {
        flex: 1;
        min-width: 200px;
        margin: 0;
        justify-content: flex-start;
    }

/* HÄ±zlÄ± Tarih Filtreleri - Minimal TasarÄ±m */
.quick-date-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 0;
    padding: 0;
}

.quick-date-btn {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

    .quick-date-btn span {
        display: block;
    }

    .quick-date-btn:hover {
        background: #f1f5f9;
        border-color: #cbd5e1;
        color: #475569;
    }

    .quick-date-btn.active {
        background: var(--kku-brand, #E30613);
        border-color: var(--kku-brand, #E30613);
        color: white;
        font-weight: 600;
    }

        .quick-date-btn.active::before {
            content: '';
            position: absolute;
            top: 2px;
            right: 2px;
            width: 6px;
            height: 6px;
            background: white;
            border-radius: 50%;
        }

/* Tarih SeÃ§iciler */
.date-range-picker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    padding: 0;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

.date-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0 12px;
    transition: all 0.3s ease;
}

    .date-input-wrapper:hover {
        border-color: #cbd5e1;
    }

    .date-input-wrapper:focus-within {
        border-color: var(--kku-brand, #E30613);
        box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
    }

.date-icon {
    color: #64748b;
    font-size: 0.9rem;
    margin-right: 8px;
    flex-shrink: 0;
}

.date-input-wrapper:focus-within .date-icon {
    color: var(--kku-brand, #E30613);
}

.date-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 0;
    font-size: 0.95rem;
    color: #334155;
    background: transparent;
}

    .date-input::placeholder {
        color: #94a3b8;
    }

.date-separator {
    color: #cbd5e1;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #f1f5f9;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.date-range-picker:focus-within .date-separator {
    background: var(--kku-brand, #E30613);
    color: white;
    transform: scale(1.05);
}

.filters-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 20px 25px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.btn-reset-filters,
.btn-apply-filters {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-reset-filters {
    background: #e2e8f0;
    color: #64748b;
}

    .btn-reset-filters:hover {
        background: #cbd5e1;
        color: #475569;
    }

.btn-apply-filters {
    background: linear-gradient(135deg, var(--kku-brand, #E30613) 0%, var(--kku-brand-hover, #c00510) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.3);
}

    .btn-apply-filters:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(227, 6, 19, 0.4);
    }

/* ============================================
   ARAMA SONUÃ‡LARI - KATEGORÄ° KARTLARI
   ============================================ */

.search-results-container {
    margin: 40px auto;
    max-width: 1200px;
    padding: 0 20px;
    animation: fadeInUp 0.6s ease-out;
    width: 100%;
    box-sizing: border-box;
    overflow-x: visible;
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.results-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .results-title i {
        color: var(--kku-brand, #E30613);
        font-size: 1.3rem;
    }

.close-results-btn {
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .close-results-btn:hover {
        background: var(--kku-brand, #E30613);
        color: white;
        transform: rotate(90deg);
    }

.search-results-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: visible;
}

/* Kategori KartÄ± */
.result-category-card {
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    overflow: visible;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

    .result-category-card:hover {
        border-color: var(--category-color, var(--kku-brand, #E30613));
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        transform: translateY(-2px);
    }

.category-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--category-bg, rgba(227, 6, 19, 0.05));
    border-bottom: 2px solid var(--category-color, var(--kku-brand, #E30613));
}

.category-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--category-color, var(--kku-brand, #E30613)) 0%, var(--category-color, var(--kku-brand, #E30613)) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.category-info {
    flex: 1;
}

.category-title {
    margin: 0 0 4px 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
}

.category-count {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.category-items {
    padding: 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 600px;
    overflow-y: auto;
    overflow-x: visible;
    width: 100%;
    box-sizing: border-box;
}

/* SonuÃ§ Item KartÄ± */
.result-item-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

    .result-item-card::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: var(--category-color, var(--kku-brand, #E30613));
        transform: scaleY(0);
        transition: transform 0.3s ease;
    }

    .result-item-card:hover {
        background: white;
        border-color: var(--category-color, var(--kku-brand, #E30613));
        transform: translateX(4px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

        .result-item-card:hover::before {
            transform: scaleY(1);
        }

    /* Ã–neri listesinde klavye ile seÃ§ilen (aktif) kayÄ±t */
    .result-item-card.active,
    .suggestion-item-card.active {
        background: rgba(227, 6, 19, 0.08);
        border-color: rgba(227, 6, 19, 0.35);
    }
        .result-item-card.active::before,
        .suggestion-item-card.active::before {
            transform: scaleY(1);
        }

.result-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--category-color, var(--kku-brand, #E30613)) 0%, var(--category-color, var(--kku-brand, #E30613)) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.result-item-card:hover .result-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Personel Ã¶nerileri iÃ§in profil gÃ¶rseli */
.suggestion-profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.suggestion-icon-wrapper {
    padding: 0;
    background: transparent;
}

.suggestion-icon-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--category-color, var(--kku-brand, #E30613)) 0%, var(--category-color, var(--kku-brand, #E30613)) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    border-radius: 8px;
}

/* Ad soyadÄ±n ilk harfleri iÃ§in placeholder */
.suggestion-initials-wrapper,
.suggestion-initials-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--category-color, var(--kku-brand, #E30613)) 0%, var(--category-color, var(--kku-brand, #E30613)) 100%);
    color: white;
    font-weight: 600;
    border-radius: 8px;
}

.suggestion-initials-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.initials-text {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.result-card-content {
    flex: 1;
    min-width: 0;
}

.result-card-title {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.result-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

    .meta-item i {
        font-size: 0.75rem;
        color: var(--category-color, var(--kku-brand, #E30613));
    }

.result-card-arrow {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.result-item-card:hover .result-card-arrow {
    color: var(--category-color, var(--kku-brand, #E30613));
    transform: translateX(4px);
}

.result-item-card .modal-list-badges {
    margin-left: auto;
}

.result-item-card .modal-list-badge {
    font-size: 0.68rem;
}

/* SonuÃ§ BulunamadÄ± */
.no-results {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    border: 2px dashed #e2e8f0;
}

    .no-results i {
        font-size: 4rem;
        color: #cbd5e1;
        margin-bottom: 20px;
        display: block;
    }

    .no-results h4 {
        margin: 0 0 12px 0;
        font-size: 1.3rem;
        color: #475569;
        font-weight: 600;
    }

    .no-results p {
        margin: 0;
        color: #94a3b8;
        font-size: 0.95rem;
    }

/* Arama yapÄ±lÄ±rken gÃ¶sterilen yÃ¼kleme animasyonu */
.suggestions-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 52px 24px;
    min-height: 200px;
    text-align: center;
    position: relative;
}

.suggestions-loading-spinner-wrap {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 20px;
    animation: suggestions-loader-enter 0.4s ease-out;
}

.suggestions-loading-spinner-wrap::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.08) 0%, transparent 70%);
    animation: suggestions-glow-pulse 2s ease-in-out infinite;
}

@keyframes suggestions-loader-enter {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes suggestions-glow-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* DÄ±ÅŸ halka - saat yÃ¶nÃ¼, gradient */
.suggestions-loading-spinner {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--kku-brand, #E30613);
    border-right-color: rgba(227, 6, 19, 0.4);
    animation: suggestions-search-spin 0.9s cubic-bezier(0.5, 0.2, 0.5, 0.8) infinite;
}

/* Ä°Ã§ halka - saat tersi, daha kÃ¼Ã§Ã¼k */
.suggestions-loading-spinner-inner {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-bottom-color: #991b1b;
    border-left-color: rgba(153, 27, 27, 0.5);
    animation: suggestions-search-spin-reverse 1.1s cubic-bezier(0.5, 0.2, 0.5, 0.8) infinite;
}

/* Parlama efekti - dÃ¶nen nokta */
.suggestions-loading-spinner-dot {
    position: absolute;
    top: 2px;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background: var(--kku-brand, #E30613);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(227, 6, 19, 0.6);
    animation: suggestions-search-spin 0.9s cubic-bezier(0.5, 0.2, 0.5, 0.8) infinite;
}

.suggestions-loading-text {
    font-size: 0.95rem;
    color: #475569;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.02em;
}

/* "AranÄ±yor" sonrasÄ± noktalar - sÄ±rayla zÄ±plama */
.suggestions-loading-dots {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    margin-left: 2px;
}

.suggestions-loading-dots span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--kku-brand, #E30613);
    animation: suggestions-dot-bounce 1.4s ease-in-out infinite both;
}

.suggestions-loading-dots span:nth-child(1) { animation-delay: 0s; }
.suggestions-loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.suggestions-loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes suggestions-search-spin {
    to { transform: rotate(360deg); }
}

@keyframes suggestions-search-spin-reverse {
    to { transform: rotate(-360deg); }
}

@keyframes suggestions-dot-bounce {
    0%, 80%, 100% { transform: translateY(0) scale(1); opacity: 0.6; }
    40% { transform: translateY(-6px) scale(1.2); opacity: 1; }
}

/* Ã–neri bulunamadÄ± mesajÄ± */
.no-suggestions {
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border-radius: 12px;
    border: 2px dashed #e2e8f0;
    margin: 16px;
}

.no-suggestions-icon {
    margin-bottom: 16px;
}

    .no-suggestions-icon i {
        font-size: 3rem;
        color: #cbd5e1;
        display: block;
    }

.no-suggestions h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: #475569;
    font-weight: 600;
}

.no-suggestions p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ============================================
   BÄ°RÄ°MLERE GÃ–RE Ã–ÄžRENCÄ° CÄ°NSÄ°YET DAÄžILIMI
   ============================================ */

.unit-gender-distribution-section {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

    .unit-gender-distribution-section .trend-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 1.5rem;
        gap: 2rem;
    }

    .unit-gender-distribution-section .trend-title-section {
        flex-shrink: 0;
        min-width: 200px;
    }

    .unit-gender-distribution-section .trend-title {
        font-size: 1.5rem;
        font-weight: 600;
        color: #1a202c;
        margin: 0;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

        .unit-gender-distribution-section .trend-title i {
            color: #4299e1;
            font-size: 1.25rem;
        }

    .unit-gender-distribution-section .trend-title-sep {
        color: #cbd5e1;
        margin: 0 0.5rem;
        font-weight: 300;
        user-select: none;
        font-size: 1.25rem;
        line-height: 1;
    }

    .unit-gender-distribution-section .trend-title .trend-subtitle {
        font-size: 0.9375rem;
        color: #718096;
        margin: 0;
        font-weight: 400;
    }

    .unit-gender-distribution-section .trend-subtitle {
        font-size: 0.875rem;
        color: #718096;
        margin: 0;
    }

.section-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.chart-view-select {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

    .chart-view-select:hover {
        border-color: var(--kku-brand, #E30613);
        color: var(--kku-brand, #E30613);
    }

    .chart-view-select:focus {
        border-color: var(--kku-brand, #E30613);
        box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
    }

.gender-chart-wrapper {
    position: relative;
    width: 100%;
    min-height: 500px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
}

.chart-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    z-index: 10;
}

/* BÃ¶lÃ¼m Detay Grafikleri */
#departmentChartsContainer {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.department-chart-wrapper {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: slideDown 0.4s ease-out;
    position: relative;
}

    .department-chart-wrapper::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, #4299e1 0%, #3182ce 100%);
        z-index: 1;
    }

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.department-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 2px solid #4299e1;
    position: relative;
    z-index: 2;
}

.department-chart-title-section {
    flex: 1;
}

.department-chart-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a202c;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .department-chart-title i {
        color: #4299e1;
        font-size: 1.2rem;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.close-department-chart {
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

    .close-department-chart:hover {
        background: var(--kku-brand, #E30613);
        border-color: var(--kku-brand, #E30613);
        color: white;
        transform: rotate(90deg);
        box-shadow: 0 4px 12px rgba(227, 6, 19, 0.3);
    }

    .close-department-chart i {
        font-size: 1rem;
    }

.department-chart-container {
    width: 100%;
    min-height: 400px;
    padding: 20px;
}

.department-chart-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: #fafbfc;
    border: 1px solid #e8eaed;
    border-radius: 14px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
    min-height: 260px;
}

/* Program Detay Grafikleri */
.program-chart-wrapper {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    animation: slideDown 0.4s ease-out;
    position: relative;
}

    .program-chart-wrapper::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: linear-gradient(180deg, #4299e1 0%, #3182ce 100%);
        z-index: 1;
    }

.program-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 2px solid #4299e1;
    position: relative;
    z-index: 2;
}

.program-chart-title-section {
    flex: 1;
}

.program-chart-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a202c;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .program-chart-title i {
        color: #4299e1;
        font-size: 1.2rem;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

.close-program-chart {
    background: transparent;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

    .close-program-chart:hover {
        background: var(--kku-brand, #E30613);
        border-color: var(--kku-brand, #E30613);
        color: white;
        transform: rotate(90deg);
        box-shadow: 0 4px 12px rgba(227, 6, 19, 0.3);
    }

    .close-program-chart i {
        font-size: 1rem;
    }

.program-chart-container {
    width: 100%;
    min-height: 400px;
    padding: 20px;
}

.program-chart-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background: #fafbfc;
    border: 1px solid #e8eaed;
    border-radius: 14px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
    min-height: 260px;
}

/* Responsive TasarÄ±m */
@media (max-width: 992px) {
    .premium-search-box {
        flex-wrap: wrap;
        padding: 12px;
    }

    .search-icon-container {
        width: 45px;
        height: 45px;
        margin-right: 12px;
    }

    .premium-search-input {
        font-size: 1rem;
        padding: 12px 0;
    }

    .search-buttons-group {
        width: 100%;
        margin-top: 10px;
        gap: 8px;
    }

    .premium-search-btn {
        min-width: 0;
        flex: 1;
        height: 50px;
        font-size: 0.95rem;
    }

    .premium-search-secondary-btn {
        min-width: 0;
        flex: 1;
        height: 50px;
        font-size: 0.9rem;
        padding: 0 15px;
    }

    .premium-search-pulse-btn-wrap {
        flex: 1;
    }

    .premium-search-pulse-btn {
        min-width: 0;
        width: 100%;
        height: 50px;
        font-size: 0.88rem;
        padding: 0 14px;
    }

    .search-actions {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        margin-right: 0;
    }

    .filters-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .premium-search-container {
        margin: 20px auto 24px;
        padding: 0;
    }

    .premium-search-box {
        flex-wrap: wrap;
        align-items: center;
        border-radius: 16px;
        padding: 12px;
    }

    .search-icon-container {
        width: 42px;
        height: 42px;
        margin-right: 10px;
        flex: 0 0 42px;
    }

    .search-main-icon {
        font-size: 1.1rem;
    }

    .search-input-container {
        flex: 1 1 calc(100% - 52px);
        min-width: 0;
    }

    .premium-search-input {
        font-size: 16px;
        text-align: left;
        padding: 8px 0;
    }

    .search-actions {
        order: 2;
        width: auto;
        margin-top: 0;
        margin-right: 0;
    }

    .search-buttons-group {
        order: 3;
        width: 100%;
        flex-direction: row;
        margin-top: 10px;
        gap: 8px;
    }

    .premium-search-btn,
    .premium-search-secondary-btn,
    .premium-search-pulse-btn-wrap {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    .premium-search-pulse-btn {
        height: 44px;
        font-size: 0.82rem;
        padding: 0 10px;
        gap: 6px;
        width: 100%;
    }

    .premium-search-btn,
    .premium-search-secondary-btn {
        height: 44px;
    }

    .premium-search-secondary-btn {
        font-size: 0.875rem;
        padding: 0 12px;
    }

    .quick-filters {
        margin-top: 14px;
    }

    .filter-tags {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 8px;
        padding: 0 0 4px;
        margin: 0;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .filter-tags::-webkit-scrollbar {
        display: none;
    }

    .filter-tag {
        padding: 8px 14px;
        font-size: 0.8rem;
        flex-shrink: 0;
    }

    .suggestions-header {
        padding: 12px 15px;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .quick-filters {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .filters-content {
        padding: 20px;
    }

    .search-results-container {
        padding: 0 15px;
    }

    .search-results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .results-title {
        font-size: 1.2rem;
    }

    .category-card-header {
        padding: 16px;
    }

    .category-icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .category-title {
        font-size: 1.1rem;
    }

    .category-items {
        padding: 12px;
        gap: 10px;
    }

    .result-item-card {
        padding: 12px;
        gap: 12px;
    }

    .result-card-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .result-card-title {
        font-size: 0.95rem;
    }

    .meta-item {
        font-size: 0.8rem;
    }

    .unit-gender-distribution-section {
        padding: 1rem;
    }

        .unit-gender-distribution-section .trend-header {
            flex-direction: column;
            align-items: flex-start;
            gap: 1rem;
        }

        .unit-gender-distribution-section .trend-title {
            font-size: 1.25rem;
        }

    .gender-chart-wrapper {
        padding: 0.75rem;
        min-height: 400px;
    }

    #unitGenderChart {
        height: 400px !important;
    }

    .department-chart-wrapper {
        padding: 0;
    }

    .department-chart-header {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .department-chart-title {
        font-size: 1rem;
    }

    .department-chart-container {
        padding: 15px;
        min-height: 350px;
    }

    .close-department-chart {
        align-self: flex-end;
    }

    .program-chart-wrapper {
        margin-left: 0;
    }

    .program-chart-header {
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .program-chart-title {
        font-size: 0.95rem;
    }

    .program-chart-container {
        padding: 15px;
        min-height: 350px;
    }

    .close-program-chart {
        align-self: flex-end;
    }
}

@media (max-width: 400px) {
    .premium-search-secondary-btn > span,
    .premium-search-pulse-btn > span {
        display: none;
    }

    .premium-search-secondary-btn {
        flex: 0 0 44px;
        padding: 0;
        min-width: 44px;
        gap: 0;
    }

    .premium-search-pulse-btn-wrap {
        flex: 0 0 44px;
    }

    .premium-search-pulse-btn {
        flex: 0 0 44px;
        padding: 0;
        min-width: 44px;
        width: 44px;
        gap: 0;
    }
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .premium-search-pulse-btn-wrap::before,
    .premium-search-pulse-btn-wrap::after {
        animation: none !important;
        opacity: 0 !important;
    }
}
