:root {
    --bg-koyu: #121212;
    /* Sofor.html Dark Theme */
    --bg-koyu-2: #1e1e1e;
    /* Sofor.html Panel */
    --ana-renk: #0ea5e9;
    /* Sky 500 */
    --ikincil-renk: #6366f1;
    /* Indigo 500 */
    --vurgu-renk: #ec4899;
    /* Pink 500 */
    --yazi-ana: #ffffff;
    --yazi-soluk: #aaaaaa;

    /* Premium Glass Effect Variables */
    --cam-bg: rgba(30, 30, 30, 0.65);
    /* Lighter glass for new dark theme */
    --cam-kenarlik: rgba(255, 255, 255, 0.1);
    --cam-golge: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    --neon-golge: 0 0 15px rgba(14, 165, 233, 0.3);
}

/* Scrollbar Tasarımı */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-koyu);
}

::-webkit-scrollbar-thumb {
    background: var(--cam-kenarlik);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ana-renk);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-koyu);
    background-image: radial-gradient(circle at 50% 0%, #172554 0%, var(--bg-koyu) 60%);
    color: var(--yazi-ana);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
}

/* Arka Plan Efektleri */
.arka-plan-kureler {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.kure {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.kure-1 {
    width: 300px;
    height: 300px;
    background: var(--ana-renk);
    top: -50px;
    left: -50px;
    animation: suzulen 10s infinite ease-in-out;
}

.kure-2 {
    width: 400px;
    height: 400px;
    background: var(--ikincil-renk);
    bottom: -100px;
    right: -100px;
    animation: suzulen 14s infinite ease-in-out reverse;
}

@keyframes suzulen {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

/* Kapsayıcı */
.kapsayici {
    width: 100%;
    max-width: 480px;
    /* Mobil Odaklı Genişlik */
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Manşet (Hero) */
.manset {
    text-align: center;
    margin-top: 40px;
    position: relative;
    /* Pozisyonlandırma için referans */
}

/* Üst Bar (Giriş/Profil) */
.ust-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    /* Z-index artırıldı */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
}

#kullanici-bilgisi {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

#kullanici-adi {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
}

#cikis-butonu {
    padding: 10px 20px;
    font-size: 0.9rem;
    background: #ef4444 !important;
    background-image: none !important;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
    width: max-content !important;
}

#cikis-butonu:hover {
    background: #dc2626;
    transform: translateY(-50%) scale(1.05);
    /* Hover efekti */
}

.logo-alani {
    padding-top: 30px;
    /* Üst bar çakışmasını engellemek için */
}

.logo-alani h1 {
    font-size: 3rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -2px;
}

.logo-alani .vurgulu {
    color: transparent;
    background: linear-gradient(to right, var(--ana-renk), var(--vurgu-renk));
    -webkit-background-clip: text;
    background-clip: text;
}

.alt-baslik {
    margin-top: 10px;
    color: var(--yazi-soluk);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nabiz-gorsel {
    width: 120px;
    height: auto;
    margin: 30px auto;
    animation: nabiz 3s infinite ease-in-out;
    display: block;
}

@keyframes nabiz {
    0% {
        transform: scale(0.95);
        filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.5));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 25px rgba(14, 165, 233, 0.8));
    }

    100% {
        transform: scale(0.95);
        filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.5));
    }
}

/* Cam Panel */
.cam-panel,
.glass-panel {
    background: var(--cam-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--cam-kenarlik);
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--cam-golge);
    transition: transform 0.3s ease;
}

.cam-panel:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
}

.cam-panel h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.cam-panel p {
    color: var(--yazi-soluk);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

/* Butonlar */
.btn-birincil,
.btn-primary {
    background: linear-gradient(135deg, var(--ikincil-renk), var(--ana-renk));
    color: #fff;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    text-decoration: none;
    /* Linkler için */
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 8px;
    width: auto;
    display: inline-flex;
    gap: 6px;
}

.btn-birincil:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.5);
    filter: brightness(1.1);
}

.btn-birincil:active {
    transform: scale(0.98);
}

.ayirici {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--yazi-soluk);
    font-size: 0.8rem;
}

.ayirici::before,
.ayirici::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--cam-kenarlik);
}

.ayirici span {
    padding: 0 10px;
}

.aksiyon-butonlari {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.aksiyon-butonlari button {
    flex: 1;
    padding: 12px;
    font-size: 0.9rem;
}

#btn-konum {
    background: var(--ikincil-renk);
    /* Daha soft bir renk */
}

#btn-sehir-git {
    background: var(--ana-renk);
}

/* --- Responsive (Mobil Öncelikli -> Masaüstü) --- */
@media (max-width: 767px) {
    .ust-bar {
        padding: 10px 15px;
        position: relative;
        /* Absolute yerine Relative yapıldı */
        margin-bottom: 20px;
        /* Alttaki içerikle mesafe */
    }

    #kullanici-bilgisi {
        flex-direction: column;
        gap: 15px;
        background: rgba(30, 41, 59, 0.9);
        padding: 15px;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 10px;
        width: 100%;
    }

    #kullanici-adi {
        font-size: 1.1rem;
        font-weight: 600;
        text-align: center;
        width: 100%;
    }

    #cikis-butonu {
        position: static;
        width: 100%;
        transform: none !important;
        padding: 14px !important;
        font-size: 1rem !important;
        border-radius: 12px !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (min-width: 768px) {
    #cikis-butonu {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    h1 {
        font-size: 3.5rem;
    }

    .sehir-izgarasi {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

/* --- KİMLİK DOĞRULAMA (Auth) STİLLERİ --- */
.merkez-icerik {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-kart {
    width: 100%;
    max-width: 400px;
    padding: 2.5rem;
    border-radius: 20px;
    /* Cam paneli (glassmorphism) zaten var, üzerine ek stiller */
}

.auth-baslik {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-baslik h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-baslik p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.sekme-butonlari {
    display: flex;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
}

.sekme-btn {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sekme-btn.aktif {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.auth-form {
    display: none;
    /* Varsayılan gizli */
    animation: fadeIn 0.3s ease;
}

.auth-form.aktif {
    display: block;
}

.form-grup {
    margin-bottom: 1.2rem;
}

.form-grup label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.form-grup input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.6);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-grup input:focus {
    border-color: var(--primary);
}

.tam-genislik {
    width: 100%;
    margin-top: 1rem;
}

.alt-linkler,
.misafir-girisi {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
}

.alt-linkler a,
.misafir-girisi a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.alt-linkler a:hover,
.misafir-girisi a:hover {
    color: var(--primary);
}

.misafir-girisi span {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    opacity: 0.5;
    font-size: 0.8rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Kure 3 Ekstra */
.kure-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.4) 0%, rgba(16, 185, 129, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: yuzme 8s infinite ease-in-out reverse;
}

/* Şehir Izgarası */
.sehir-izgarasi {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.sehir-karti {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--cam-kenarlik);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sehir-karti::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.sehir-karti:hover::before {
    transform: translateX(100%);
}

.sehir-karti:hover:not(.pasif) {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--ana-renk);
    box-shadow: var(--neon-golge);
    transform: translateY(-3px);
}

.sehir-karti.pasif {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(1);
}

.sehir-ikon {
    font-size: 1.5rem;
    margin-right: 15px;
}

.sehir-adi {
    flex: 1;
    text-align: left;
    font-weight: 600;
}

.sehir-durum {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
}

.sehir-durum.aktif {
    background: rgba(6, 182, 212, 0.2);
    color: var(--ana-renk);
}


footer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--yazi-soluk);
    margin-top: auto;
}

/* Glass Input */
.glass-input {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.glass-input:focus {
    border-color: var(--ana-renk);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}

.glass-input option {
    background: var(--bg-koyu-2);
    color: white;
}

/* --- Tek Satır Düzeni (v706) --- */

/* Geri Butonu */
.geri-buton {
    position: fixed;
    /* Fixed yaptık ki sayfa kayınca gitmesin */
    top: 20px;
    left: 20px;
    z-index: 1000;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #0ea5e9;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 0;
    pointer-events: auto;
}

/* Üst Panel Konteyneri (Select Kutusu İçin) */
.ust-panel-container {
    position: fixed;
    top: 20px;
    left: 78px;
    /* Buton genişliği (48) + Boşluk (10) + Sol (20) */
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    /* Başlık altta kalsın diye */
    pointer-events: none;
    align-items: flex-start;
    /* Sola yasla */
}

/* Select Kapsayıcısı (Yüzen Panel Görünümü İptal -> Sadece Select Glass Olsun) */
.yuzen-panel {
    pointer-events: auto;
    width: 100%;
    /* max-width kaldırılabilir veya artırılabilir çünkü yan yana sığması lazım */
    max-width: 100%;
    display: flex;
    flex-direction: row;
    /* Yan yana */
    gap: 10px;
    align-items: stretch;
    /* [GÜNCELLEME] Elemanlar eşit yükseklikte uzasın (biri uzarsa diğeri de uzasın) */
}

/* Modern Select */
.modern-select {
    width: 100%;
    /* [GÜNCELLEME] Sabit yükseklik yerine min-height ve 100% height kullanıyoruz */
    height: 100%;
    min-height: 48px;
    appearance: none;
    -webkit-appearance: none;
    background-color: rgba(15, 23, 42, 0.8);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ea5e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 0 36px 0 12px;
    /* Sağ arrow için boşluk */
    font-size: 0.9rem;
    color: #f8fafc;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    pointer-events: auto;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modern-select:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}

.modern-select option {
    background: #0f172a;
    color: white;
    padding: 12px;
}

/* Başlık Bilgisi (Select'in Yanında Eşit Boyutta Kutu) */
.sehir-baslik-yeni {
    flex: 1;
    /* Yarı yarıya paylaşır */
    width: 50%;
    /* Destek */
    /* [GÜNCELLEME] Sabit yükseklik kaldırıldı, auto yapıldı */
    height: auto;
    min-height: 48px;
    pointer-events: auto;
    background: rgba(15, 23, 42, 0.8);
    /* Select ile aynı arka plan */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    font-size: 0.7rem;
    /* [GÜNCELLEME] Font boyutu küçültüldü (0.8 -> 0.7) */
    font-weight: 600;
    color: #e2e8f0;
    display: flex;
    /* İçeriği ortalamak için */
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    padding: 4px;
    /* Padding artırıldı (0 4px -> 4px) */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    /* [GÜNCELLEME] Metin uzunsa alt satıra geçsin diye line-height ve white-space ayarlandı */
    line-height: 1.1;
    /* Biraz daha sıkı satır aralığı */
    white-space: normal;
}

.select-container {
    flex: 1;
    /* Yarı yarıya paylaşır */
    width: 50%;
    /* Destek */
    position: relative;
}

/* Mobilde sığması için fontları biraz küçültelim */
@media (max-width: 400px) {
    .modern-select {
        font-size: 0.75rem;
        padding-left: 7px;
    }

    .sehir-baslik-yeni {
        font-size: 0.75rem;
    }

}

/* Tema Butonu */
.tema-buton {
    /* [GÜNCELLEME] Arama çubuğu ile çakışmaması için panelden çıkarılıp Fixed yapıldı */
    position: fixed;

    /* [GÜNCELLEME] Arama çubuğu hizasına (Top: 78px) sabitlendi */
    top: 78px;
    left: 20px;

    /* [GÜNCELLEME] Boyutlar Geri Butonu ile eşitlendi (48px) */
    width: 48px;
    height: 48px;
    /* Arama inputu ile aynı yükseklik */
    border-radius: 14px;
    /* Köşe yuvarlamasını diğerleriyle eşitledik */
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2000;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.tema-buton:hover {
    background: #fff;
    transform: scale(1.05);
}

/* Karanlık Modda Buton */
body.karanlik-mod .tema-buton {
    background: rgba(30, 41, 59, 0.9);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
}

/* --- Arama Kutusu (Nereye Gitmek İstersiniz?) --- */
body.karanlik-mod .arama-kapsayici,
.arama-kapsayici {
    width: 100%;
    position: relative;
    pointer-events: auto !important;
    /* Force interaction */
    margin-top: 10px;
    z-index: 2005;
    /* Higher than theme button */
}

.arama-kutusu-dis {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

.arama-input {
    width: 100%;
    height: 48px;
    background-color: rgba(15, 23, 42, 0.8) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 0 40px 0 45px;
    font-size: 0.9rem;
    color: #f8fafc !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    outline: none;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    pointer-events: auto !important;
}

.arama-input::placeholder {
    color: #94a3b8;
}

/* --- Modal & Badges (Yeni) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-box {
    background: rgba(15, 23, 42, 0.95);
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.modal-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #0ea5e9;
}

.modal-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.modal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.modal-info {
    font-size: 12px;
    color: #94a3b8;
    margin-left: 22px;
    margin-top: 4px;
}

.hat-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    color: #fff;
    margin-right: 4px;
    margin-top: 4px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.arama-input:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
    background-color: rgba(15, 23, 42, 0.9);
}

@media (max-width: 767px) {
    .arama-input {
        color: #fff !important;
    }
}

.arama-ikonu {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    opacity: 0.7;
    pointer-events: none;
    color: #f8fafc;
}

.arama-temizle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 1rem;
    color: #ef4444;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

/* Arama Sonuçları */
.arama-sonuclari {
    position: absolute;
    top: 55px;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: none;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 2010;
}

.sonuc-ogesi {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #e2e8f0;
}

.sonuc-ogesi:hover {
    background: rgba(14, 165, 233, 0.15);
}

.sonuc-ikon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.sonuc-detay {
    flex: 1;
}

.sonuc-baslik {
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
}

.sonuc-alt {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* MODAL STYLES (Dynamic Append) */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #2d3748;
    color: #fff;
    margin: auto;
    padding: 0;
    border: 1px solid #4a5568;
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}

.modal-header {
    padding: 20px;
    background: #1a202c;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom: 1px solid #4a5568;
}

.modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e2e8f0;
}

.modal-footer {
    padding: 20px;
    background: #1a202c;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid #4a5568;
}

.btn-confirm {
    background: #10b981;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: background 0.2s;
}

.btn-confirm:hover {
    background: #059669;
}

.btn-confirm:disabled {
    background: #6b7280;
    cursor: not-allowed;
}