@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ================= Renk Değişkenleri (Gece/Gündüz Modu) ================= */
:root {
    --body-bg: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
    --card-bg: #ffffff;
    --text-primary: #1d3557;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --border-color-hover: rgba(255, 183, 3, 0.6);
    --highlight-color: #ffb703;
    --danger-color: #e63946;
    --navbar-bg: linear-gradient(90deg, #1d3557 0%, #2a4d77 100%);
    --navbar-text: #f1faee;
    --input-bg: #f8fafc;
}

[data-theme="dark"] {
    --body-bg: #0b0f19;
    --card-bg: #151a28;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 183, 3, 0.8);
    --navbar-bg: rgba(11, 15, 25, 0.95);
    --input-bg: #1e2536;
}

/* Karanlık Modda Harita Stili (Leaflet Invert) */
[data-theme="dark"] .leaflet-layer,
[data-theme="dark"] .leaflet-control-zoom-in,
[data-theme="dark"] .leaflet-control-zoom-out,
[data-theme="dark"] .leaflet-control-attribution {
    filter: invert(1) hue-rotate(180deg) brightness(95%) contrast(90%);
}

/* Genel Modernizasyon */
body {
    font-family: 'Poppins', sans-serif;
    /* Tüm siteyi kaplayan şık, yumuşak bir renk geçişi */
    background: var(--body-bg);
    min-height: 100vh;
}

/* Global Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Renkli Üst Menü */
.navbar {
    background: var(--navbar-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 12px 0;
}

/* Üst Menü Arama Kutusu ve Şık Butonu */
.nav-search {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 5px 5px 5px 15px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.1);
}

.nav-search input {
    border: none;
    background: transparent;
    color: #fff;
    outline: none;
    width: 250px;
    font-family: 'Poppins', sans-serif;
    transition: width 0.4s ease;
}

.nav-search input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.nav-search button {
    background: linear-gradient(135deg, var(--highlight-color), #fca311);
    color: var(--text-primary);
    border: none;
    border-radius: 50%;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 183, 3, 0.3);
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.nav-search button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 15px rgba(255, 183, 3, 0.5);
}

/* Menü Linklerini Buton Görünümüne Çevirme ve Yan Yana Dizme */
.navbar ul {
    display: flex !important;
    flex-direction: row !important;
    gap: 15px !important;
    align-items: center !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.navbar ul li {
    display: inline-block;
}

.navbar ul > li > a {
    background: transparent;
    color: var(--navbar-text) !important;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.navbar ul > li > a:hover { 
    background: rgba(255, 255, 255, 0.15); 
    color: #fff !important; 
    transform: translateY(-2px); 
}

.logo {
    color: var(--highlight-color) !important;
    font-weight: 900;
    font-size: 26px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 15px rgba(255, 183, 3, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.logo:hover {
    transform: translateY(-2px) scale(1.02);
    text-shadow: 0 6px 20px rgba(255, 183, 3, 0.6);
}

.btn-ilan-ver {
    background: linear-gradient(135deg, var(--highlight-color), #fca311) !important;
    color: #1d3557 !important;
    font-weight: 800 !important;
    padding: 10px 24px !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.4) !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s !important;
    letter-spacing: 0.5px;
}

.btn-ilan-ver:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 183, 3, 0.6) !important;
}

#notificationBell {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}
#notificationBell:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Canlı Arama Bölümü */
.hero-full {
    height: 450px; /* Modern ve geniş hero alanı */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
    position: relative;
    z-index: 1;
}

.text-gradient {
    background: linear-gradient(to right, #ffffff, #ffb703);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.search-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    box-shadow: inset 0 -5px 25px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}
.search-section::before {
    content: ''; position: absolute; width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 60%);
    top: -20vw; left: -10vw; border-radius: 50%; pointer-events: none;
}
.search-section::after {
    content: ''; position: absolute; width: 40vw; height: 40vw;
    background: radial-gradient(circle, rgba(255, 183, 3, 0.05) 0%, transparent 60%);
    bottom: -10vw; right: -10vw; border-radius: 50%; pointer-events: none;
}

.search-section h2 {
    font-size: 4.2rem;
    font-weight: 900;
    background: linear-gradient(to right, var(--text-primary), var(--highlight-color), var(--text-primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin-bottom: 35px;
    letter-spacing: -1.5px;
    z-index: 2;
}
@keyframes shine { to { background-position: 200% center; } }

/* Modern Arama Kutusu Revizyonu */
.search-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 60px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 900px;
    z-index: 2;
}
.search-box input {
    border: 1px solid transparent;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    transition: all 0.3s;
    border-radius: 40px;
    padding: 16px 25px;
    font-size: 16px;
    width: 100%;
}
.search-box input:focus {
    border: 1px solid #ffb703;
    background: rgba(0,0,0,0.4);
    outline: none;
    box-shadow: 0 0 15px rgba(255, 183, 3, 0.2);
}
.search-box input::placeholder {
    color: rgba(255,255,255,0.7);
}
.search-box button {
    border-radius: 40px;
    padding: 16px 40px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* İlan Izgarası (Grid) ve Horizontal Kartlar - MASAÜSTÜ İÇİN */
#ilanKutusu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.ilan-card-horizontal {
    background: var(--card-bg); /* Buzlu cam arka plan */
    backdrop-filter: blur(10px);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
    text-decoration: none; /* Link altı çizgisini gizler */
    color: inherit;
    border: 1px solid var(--border-color);
}

.ilan-card-horizontal:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
    border-color: var(--border-color-hover);
}

.image-slider {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 100%;
    flex-shrink: 0;
    background-color: var(--border-color);
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.image-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    transition: opacity 0.3s ease;
}

.image-slider img.active {
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 5px 8px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    font-size: 14px;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ilan-card-horizontal:hover .slider-btn {
    opacity: 0.95;
}
.slider-btn.prev { left: 5px; }
.slider-btn.next { right: 5px; }

.ilan-card-horizontal img {
    width: 200px;
    height: 100%;
    object-fit: cover;
}

/* ================= VİTRİN SLIDER (YATAY KAYDIRMA) TASARIMI ================= */
.vitrin-slider {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 12px !important;
    padding: 5px 5px 15px 5px !important;
    margin: 0 -5px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
        scrollbar-width: none !important; /* Firefox için scrollbar gizleme */
        -ms-overflow-style: none !important; /* IE/Edge için scrollbar gizleme */
}
.vitrin-slider::-webkit-scrollbar { 
    display: none !important; 
    width: 0 !important; 
    height: 0 !important; 
} /* Chrome/Safari için scrollbar gizleme */
.vitrin-slider .showcase-card {
    flex: 0 0 220px !important;
    max-width: 220px !important;
    height: auto !important;
}

.vitrin-nav-btn {
    position: absolute;
    top: calc(50% - 20px);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 100;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
}
.vitrin-nav-btn.show { opacity: 1; pointer-events: auto; }
.vitrin-nav-btn:hover { background: var(--highlight-color); color: white; border-color: var(--highlight-color); transform: scale(1.1); box-shadow: 0 6px 15px rgba(255, 183, 3, 0.4); }
.vitrin-nav-btn.prev { left: -15px; }
.vitrin-nav-btn.next { right: -15px; }

/* ================= YEPYENİ VİTRİN KARTI (SHOWCASE) TASARIMI ================= */
.showcase-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    height: 100%;
}
[data-theme="dark"] .showcase-card { border-color: rgba(255,255,255,0.08); }
.showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: var(--highlight-color);
}
.showcase-card.premium {
    border: 2px solid var(--highlight-color);
    background: linear-gradient(180deg, var(--card-bg) 70%, rgba(255, 183, 3, 0.05));
}
.showcase-image-container {
    width: 100%;
    height: 140px;
    position: relative;
    overflow: hidden;
    background: var(--input-bg);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.showcase-image-container .image-slider {
    width: 100%;
    height: 100%;
}
.showcase-image-container .image-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    transition: transform 0.5s ease;
}
.showcase-image-container .image-slider img.active {
    display: block;
}
.showcase-card:hover .showcase-image-container .image-slider img.active {
    transform: scale(1.08);
}
.showcase-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
}
.showcase-badge {
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.showcase-category-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.65);
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    z-index: 10;
}
.showcase-status-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 15;
    transform: rotate(-10deg);
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.showcase-details {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.showcase-price {
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--danger-color);
    margin-bottom: 6px;
    letter-spacing: -0.3px;
}
.showcase-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.showcase-location {
    font-size: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    font-weight: 500;
}
.showcase-specs {
    font-size: 11px;
    color: var(--text-secondary);
    background: var(--input-bg);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px dashed var(--border-color);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.showcase-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.showcase-seller {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-primary);
}
.showcase-seller img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}
.showcase-avatar-fallback {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--highlight-color), #fca311);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}
.showcase-action {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    transition: 0.3s;
}
.showcase-card:hover .showcase-action {
    background: var(--highlight-color);
    border-color: var(--highlight-color);
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 183, 3, 0.3);
}

#ilanKutusu.grid-view {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
    gap: 20px !important;
}

/* İlan Detayları Düzeni */
.ilan-card-horizontal .ilan-detay {
    padding: 15px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ilan-fiyat {
    font-size: 1.35rem !important;
    background: linear-gradient(135deg, #fca311, #ffb703) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    font-weight: 900 !important;
    box-shadow: none !important;
    letter-spacing: 0.5px;
    filter: drop-shadow(0 2px 4px rgba(255, 183, 3, 0.3));
}

/* Giriş/Kayıt Sayfası Geri Dön Butonu */
.back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    background: #1d3557;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: background 0.3s;
}
.back-btn:hover { background: var(--danger-color); color: white !important; }

/* Favori Kalp Butonu */
.btn-favori.icon-favori {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.btn-favori.icon-favori svg {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
    stroke: var(--text-primary);
}
.btn-favori.icon-favori:hover {
    transform: scale(1.2);
}

/* Favori Kalp Animasyonu (Eklendiğinde) */
@keyframes heartBurst {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); filter: drop-shadow(0 0 8px rgba(230, 57, 70, 0.6)); }
    100% { transform: scale(1); }
}
.heart-burst svg {
    animation: heartBurst 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Manuel Konum Butonu Vurgulu Tasarımı */
#manuelKonumBtn {
    animation: pulse-glow 2s infinite;
    background: linear-gradient(135deg, var(--danger-color), #c1121f) !important;
    color: white !important;
    padding: 12px 25px !important;
    font-size: 15px !important;
    border-radius: 30px !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
}
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); transform: scale(1); }
    50% { box-shadow: 0 0 0 15px rgba(230, 57, 70, 0); transform: scale(1.02); }
    100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); transform: scale(1); }
}

/* Paylaş Butonu */
.btn-share {
    position: absolute;
    top: 15px;
    right: 55px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    font-size: 18px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, background 0.2s;
    color: #1d3557;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.btn-share:hover { transform: scale(1.1); background: var(--highlight-color); }

/* Hızlı İncele Butonu (Hover Efekti) */
.hizli-incele-container {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 15;
    backdrop-filter: blur(2px);
}
.ilan-card-horizontal:hover .hizli-incele-container { opacity: 1; }
.hizli-incele-btn {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary) !important;
    padding: 12px 28px;
    border-radius: 40px;
    font-size: 14px;
    font-weight: 800;
    transform: translateY(20px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ilan-card-horizontal:hover .hizli-incele-btn { transform: translateY(0) scale(1); }
.hizli-incele-btn:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 15px 35px rgba(255, 183, 3, 0.6);
    background: linear-gradient(135deg, #fca311, #ffb703);
    color: #fff !important;
    border-color: #ffb703;
}

/* Vitrin Başlığı Özel Tasarım */
.vitrin-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    letter-spacing: -0.5px;
}
.vitrin-title .icon {
    background: linear-gradient(135deg, var(--highlight-color), #fca311);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 32px;
    filter: drop-shadow(0 2px 5px rgba(255, 183, 3, 0.4));
}

/* Premium İlanlar Slider Gizli Scrollbar */
.premium-slider::-webkit-scrollbar {
    display: none !important; /* Daha estetik ve pürüzsüz görünüm için kaydırma çubuğunu tamamen gizliyoruz */
    width: 0 !important;
    height: 0 !important;
}
.premium-slider::-webkit-scrollbar-track {
    display: none !important;
    border-radius: 4px;
}
.premium-slider::-webkit-scrollbar-thumb {
    display: none !important;
    border-radius: 4px;
}
.premium-slider {
    -ms-overflow-style: none !important; /* IE ve Edge için scrollbar gizleme */
    scrollbar-width: none !important; /* Firefox için scrollbar gizleme */
}

/* Öne Çıkan (Premium) İlan Kartları Özel Tasarımı */
.premium-card {
    border: 2px solid var(--highlight-color) !important;
    background: linear-gradient(145deg, var(--card-bg) 60%, rgba(255, 183, 3, 0.15)) !important;
    box-shadow: 0 8px 25px rgba(255, 183, 3, 0.25) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    transform: scale(0.98);
}
.premium-card:hover {
    transform: scale(1) translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(255, 183, 3, 0.4) !important;
    border-color: #ff9e00 !important;
    z-index: 10;
}

.premium-badge {
    animation: premiumGlow 2s infinite alternate;
    box-shadow: 0 2px 10px rgba(255,183,3,0.5);
}
@keyframes premiumGlow {
    0% { box-shadow: 0 0 5px rgba(255, 183, 3, 0.4); transform: scale(1); }
    100% { box-shadow: 0 0 15px rgba(255, 183, 3, 0.8); transform: scale(1.05); }
}

/* Özel Site İçi Bildirimler (Toast) */
.custom-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2a9d8f;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 10002;
    font-weight: 600;
    transition: opacity 0.3s ease;
}
.custom-notification.error {
    background: var(--danger-color);
}

/* Ana Sayfa Kategori Kartları (Görselli) */
.kategori-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    width: 140px;
    text-align: center;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}
.kategori-card:hover {
    transform: translateY(-12px) scale(1.08);
    box-shadow: 0 20px 40px rgba(255, 183, 3, 0.15);
    border-color: var(--highlight-color);
}
.kategori-card svg {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
}
.kategori-card:hover svg {
    transform: scale(1.25) rotate(5deg);
    filter: drop-shadow(0 5px 15px rgba(255, 183, 3, 0.5));
}
.kategori-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}
.kategori-card span {
    padding: 15px 10px;
    font-weight: 700;
    color: var(--text-primary);
    font-size: 15px;
}

/* ================= GÜVEN / İSTATİSTİK BÖLÜMÜ (NEDEN BİZ?) ================= */
.trust-section {
    padding: 80px 20px;
    margin-top: 60px;
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.trust-card {
    background: var(--card-bg);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
    backdrop-filter: blur(10px);
}
.trust-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
    border-color: var(--highlight-color);
}
.trust-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, rgba(255, 183, 3, 0.15), rgba(255, 183, 3, 0.05));
    color: var(--highlight-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin: 0 auto 20px auto;
    border: 1px solid rgba(255, 183, 3, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.trust-card:hover .trust-icon {
    transform: scale(1.15) rotate(10deg);
    background: var(--highlight-color);
    color: #fff;
    box-shadow: 0 10px 25px rgba(255, 183, 3, 0.3);
}
.trust-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}
.trust-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Chat Mesajlar UI */
.chat-container {
    display: flex;
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    height: 600px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.chat-sidebar {
    width: 300px;
    background: rgba(0,0,0,0.02);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
}
.chat-user {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}
.chat-user:hover, .chat-user.active { 
    background: var(--input-bg); 
    border-left: 4px solid var(--highlight-color);
    box-shadow: inset 0 0 15px rgba(0,0,0,0.02);
}
.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.chat-messages {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(0,0,0,0.01);
}
.message {
    max-width: 65%;
    padding: 12px 18px;
    border-radius: 20px;
    font-size: 14.5px;
    line-height: 1.4;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    position: relative;
}
.message.received {
    background: var(--card-bg);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    border: 1px solid var(--border-color);
}
.message.sent {
    background: linear-gradient(135deg, #1d3557, #457b9d);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    border: none;
}

/* Bildirim Rozeti (Badge) */
.notification-badge {
    background-color: var(--danger-color);
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 10px;
    font-weight: bold;
    position: absolute;
    top: -5px;
    right: -10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Mobil Uygulama Alt Menüsü (Bottom Bar) */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
    z-index: 9999;
    justify-content: space-around;
        padding: 8px 0 15px 0; /* Mobilde dokunma alanını genişlettik */
    align-items: center;
    }
}
.mobile-bottom-nav a { color: var(--text-primary); text-decoration: none; font-size: 12px; text-align: center; font-weight: 500; display:flex; flex-direction: column; gap:3px; transition:color 0.2s;}
.mobile-bottom-nav a:hover { color: var(--highlight-color); }

/* Bildirim Paneli */
#notification-panel {
    display: none; /* Başlangıçta gizli */
    position: absolute;
    top: 120%;
    right: 0;
    width: 380px;
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    z-index: 10001;
    overflow: hidden;
    flex-direction: column;
}

/* Bildirim içi yazıların beyaz menü ayarlarından etkilenmesini önleyen kesin kurallar */
#notification-panel * { text-shadow: none !important; }
#notification-panel .panel-title { color: var(--text-primary) !important; }
#notification-panel .notification-text { color: var(--text-primary) !important; }
#notification-panel .notification-time { color: var(--text-secondary) !important; }
#notification-panel .notification-item.read .notification-text { color: var(--text-secondary) !important; }
#notification-panel a.btn-tum-mesajlar { color: var(--text-primary) !important; }
#notification-panel a.btn-tum-mesajlar:hover { color: var(--highlight-color) !important; }

.notification-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary) !important;
    transition: all 0.2s;
    position: relative;
    background: transparent;
    border-radius: 0;
}
.notification-item:hover {
    background-color: var(--input-bg) !important;
    padding-left: 25px !important;
    color: var(--text-primary) !important;
    transform: none !important;
}
.notification-item:last-child {
    border-bottom: none;
}
.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 20px;
    width: 8px;
    height: 8px;
    background-color: var(--danger-color);
    border-radius: 50%;
}
.notification-item.read {
    opacity: 1;
    background-color: transparent;
    color: var(--text-secondary) !important;
}
.notification-text {
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
}
.notification-time {
    font-size: 11px;
    color: var(--text-secondary);
    flex-shrink: 0;
    margin-left: 10px;
    white-space: nowrap;
}

.message img {
    cursor: pointer;
    transition: transform 0.2s;
}
.message img:hover {
    transform: scale(1.02);
}

/* Canlı Destek Modal Arayüzü */
.live-support-modal {
    position: fixed; z-index: 10005; bottom: 90px; right: 30px; width: 320px; height: 420px;
    max-width: 90vw; max-height: 70vh; background: var(--card-bg); border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); border: 1px solid var(--border-color);
    animation: slideUp 0.3s ease; display: none; flex-direction: column; overflow: hidden;
}
.ls-header { background: var(--navbar-bg); padding: 15px; color: white; font-weight: bold; display: flex; justify-content: space-between; align-items: center; }
.ls-header button { background: none; border: none; font-size: 24px; cursor: pointer; color: white; line-height: 1; }
.ls-messages { flex: 1; padding: 15px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: rgba(0,0,0,0.02); }
.ls-form { display: flex; border-top: 1px solid var(--border-color); padding: 10px; background: var(--input-bg); }
.ls-form input { flex: 1; padding: 10px 15px; border: 1px solid var(--border-color); border-radius: 20px; outline: none; background: var(--card-bg); color: var(--text-primary); font-family: 'Poppins', sans-serif; }
.ls-form button { background: var(--highlight-color); color: var(--text-primary); border: none; padding: 10px 20px; border-radius: 20px; margin-left: 10px; font-weight: bold; cursor: pointer; }
@keyframes slideUp { from { transform: translateY(100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* Kullanıcı ve Mağaza Rozetleri */
.user-badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: bold; border: 1px solid currentColor; margin-right: 5px; margin-bottom: 5px; background: var(--input-bg); }
.badge-admin { color: #e63946; background: rgba(230, 57, 70, 0.1); border-color: #e63946; }
.badge-mod { color: #8338ec; background: rgba(131, 56, 236, 0.1); border-color: #8338ec; }
.badge-corp { color: #2a9d8f; background: rgba(42, 157, 143, 0.1); border: 2px solid #2a9d8f; font-size: 13px; padding: 6px 14px; box-shadow: 0 2px 8px rgba(42, 157, 143, 0.2); }
.badge-new { color: #fca311; background: rgba(255, 183, 3, 0.1); border-color: #fca311; }
.badge-user { color: var(--text-secondary); border-color: var(--border-color); }

/* Mavi Tik (Onaylı Profil) */
.mavi-tik { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; background: #1d9bf0; color: white; border-radius: 50%; font-size: 10px; margin-left: 5px; vertical-align: middle; box-shadow: 0 0 0 1.5px var(--card-bg); font-family: sans-serif; font-weight: bold; }

/* ================= MOBİL UYUMLULUK (RESPONSIVE) ================= */
@media (max-width: 768px) {
    .vitrin-nav-btn { display: none !important; }
    /* Yazıları biraz daha okunaklı yap ve sığdır */
    html { font-size: 90%; overflow-x: hidden !important; }
    body { padding-bottom: 75px; overflow-x: hidden !important; }
    
    /* PC'de görünen menü elemanlarını mobilde gizle */
    .hide-on-mobile { display: none !important; }

    /* Oturum Aç ve Üye Ol Ekranları Mobil Optimizasyonu (Bottom Sheet Tasarımı) */
    #globalLoginModal, #registerModal, #forgotPasswordModal, #phoneLoginModal {
        align-items: flex-end !important; /* İçeriği (modal-div) alta yaslar */
    }
    #globalLoginModal > div, #registerModal > div, #forgotPasswordModal > div, #phoneLoginModal > div {
        width: 100% !important;
        box-sizing: border-box !important; /* Ekranın yanlardan taşmasını kesinlikle engeller */
        max-width: none !important;
        margin: 0 !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        border-radius: 24px 24px 0 0 !important;
        padding: 55px 25px 40px 25px !important; /* Üst taraftan çarpı butonu için büyük boşluk bırakıldı */
        max-height: 85vh !important; /* Ekrandan üstten taşmaması için boyut orantılandı */
        overflow-y: auto !important;
        box-shadow: 0 -10px 40px rgba(0,0,0,0.3) !important;
        animation: slideUpModal 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    }

    /* Çarpı Butonunu (Kapatma) Belirginleştir ve Tıklama Alanını Büyüt */
    #closeLoginModal, #closeRegisterModal, #closeForgotModal {
        top: 15px !important;
        right: 15px !important;
        width: 36px !important;
        height: 36px !important;
        background: var(--input-bg) !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 10 !important;
    }

    @keyframes slideUpModal {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
    /* Form Input ve Buton İyileştirmeleri (Mobilde Rahat Tıklama) */
    #globalLoginModal input, #registerModal input, #forgotPasswordModal input, #globalLoginModal select, #registerModal select {
        height: 52px !important;
        font-size: 16px !important; /* iOS Zoom engelleme */
        border-radius: 14px !important;
        margin-bottom: 16px !important;
        padding-left: 48px !important; /* Yazıların emojilere binmesini (overlap) engeller */
    }
    #globalLoginModal button[type="submit"], #registerModal button[type="submit"] {
        height: 56px !important;
        font-size: 16px !important;
        border-radius: 14px !important;
        margin-top: 10px !important;
        box-shadow: 0 8px 20px rgba(255, 183, 3, 0.3) !important;
    }
    
    /* Input'ları dokunmatik ekranlara uygun büyüt */
    input[type="text"], input[type="password"], input[type="email"], input[type="tel"] {
        padding: 14px !important;
        font-size: 16px !important;
        border-radius: 10px !important;
    }

    /* Üst Menü Mobil Görünüm */
    .navbar {
        border-radius: 0 0 20px 20px; /* Mobilde header daha yumuşak dursun */
        position: sticky;
        top: 0;
        z-index: 1002;
    }
    .navbar .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .navbar .logo {
        text-align: center;
        width: 100%;
        display: block;
    }
    
    .navbar ul:not(.mobile-bottom-nav) { /* Normal menüyü mobilde gizleyip hamburger/bottom bara devrediyoruz */
        flex-wrap: wrap;
        justify-content: center;
    }
    
    /* Arama Kutusu Mobil Düzeni */
    .nav-search {
        width: 100%;
        justify-content: space-between;
    }
    .nav-search input {
        width: 100%;
        padding: 15px; /* Mobilde büyük tıklama alanı */
    }
    
    .container {
        padding: 0 10px !important; /* Mobilde kenar boşlukları azaltılır */
    }

    /* Arama Alanı Mobil */
    .hero-full {
        height: auto;
        padding: 40px 15px !important;
    }
    .search-section h2 {
        font-size: 2rem !important;
        margin-bottom: 20px !important;
        line-height: 1.2;
    }
    .search-box {
        flex-direction: column;
        width: 100%;
        border-radius: 16px !important;
        padding: 10px !important;
        gap: 8px !important;
    }
    .search-box input {
        width: 100%;
        border-radius: 12px !important;
        padding: 14px 20px !important;
        font-size: 14px !important;
    }
    .search-box button {
        border-radius: 12px !important;
        padding: 14px !important;
        font-size: 15px !important;
    }

    /* İlan Kartları Mobil (Özel Tasarım) */
    #ilanKutusu.grid-view {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
        gap: 15px !important;
    }
    .vitrin-slider {
        gap: 15px !important;
        padding-bottom: 10px !important;
    }
    .vitrin-slider .showcase-card {
        flex: 0 0 240px !important;
        max-width: 240px !important;
    }
    .vitrin-slider .showcase-image-container {
        height: 150px !important;
    }
    #ilanKutusu.grid-view .showcase-image-container {
        height: 130px !important;
    }
    #ilanKutusu.grid-view .showcase-details {
        padding: 12px;
    }
    #ilanKutusu.grid-view .showcase-price {
        font-size: 1.2rem;
    }
    #ilanKutusu.grid-view .showcase-title {
        font-size: 13px;
    }
    #ilanKutusu.grid-view .showcase-specs { display: none; }
    #ilanKutusu.grid-view .showcase-action-btn { display: none; }
    #ilanKutusu.list-view .ilan-card-horizontal .ilan-detay {
        padding: 10px !important;
    }
    #ilanKutusu.list-view .ilan-card-horizontal h4 {
        font-size: 15px !important;
    }
    #ilanKutusu .ilan-card-horizontal .ilan-detay .konum {
        font-size: 11px !important;
        margin-bottom: 5px !important;
    }
    #ilanKutusu .ilan-card-horizontal .ilan-fiyat {
        font-size: 14px !important;
        padding: 0 !important;
    }
    
    .premium-slider .ilan-card-horizontal {
        flex-direction: column !important;
        height: auto !important;
        width: 220px !important;
        min-width: 220px !important;
    }
    .premium-slider .ilan-card-horizontal > a {
        flex-direction: column !important;
    }
    .premium-slider .ilan-card-horizontal .image-slider {
        width: 100% !important;
        height: 140px !important;
        border-radius: 8px 8px 0 0 !important;
    }
    .premium-slider .ilan-card-horizontal .ilan-detay {
        padding: 10px !important;
    }
    .premium-slider .ilan-card-horizontal .ilan-detay h4 {
        font-size: 14px !important;
        white-space: nowrap !important;
    }

    .btn-favori.icon-favori {
        top: 5px !important;
        right: 5px !important;
    }
    .btn-share {
        top: 5px !important;
        right: 35px !important;
        width: 28px !important;
        height: 28px !important;
    }

    /* Admin Panel Mobil */
    .admin-main-content {
        padding: 20px !important;
    }
    .admin-stats-container, .admin-charts-container, .admin-reports-container {
        flex-direction: column;
    }

    /* İlan Ver Formu Mobil Düzeni */
    .form-container {
        padding: 15px !important;
        border-radius: 12px !important;
    }
    .form-container div[style*="grid-template-columns: 1fr 1fr"], 
    .form-container div[style*="grid-template-columns: repeat(2"],
    #dinamikAlanlarGrid, 
    .dynamic-fields-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Profil Sayfası Mobil App Hissi (Sert Kurallar) */
    .profile-container {
        margin: 0 !important; padding: 0 !important; gap: 0 !important;
        flex-direction: column !important;
    }
    .profile-container aside {
        width: 100% !important; border-radius: 0 !important; border: none !important;
        border-bottom: 1px solid var(--border-color) !important; margin: 0 !important;
        padding: 20px !important; background: var(--card-bg) !important;
        box-sizing: border-box !important;
    }
    .profile-container aside button {
        font-size: 13px !important; height: auto !important; min-height: 40px !important; margin-bottom: 8px !important; padding: 10px !important; white-space: normal !important; line-height: 1.3 !important;
    }
    .profile-container section {
        width: 100% !important; border-radius: 0 !important; border: none !important;
        margin: 0 !important; padding: 15px !important; box-shadow: none !important;
        box-sizing: border-box !important;
    }
    .ilan-card-horizontal.small .ilan-actions { flex-direction: column !important; align-items: stretch !important; gap: 5px !important; padding: 10px !important; }
    .ilan-card-horizontal.small .ilan-actions button, .ilan-card-horizontal.small .ilan-actions select { width: 100% !important; margin: 0 !important; white-space: normal !important; padding: 10px !important; height: auto !important; }

    /* Chat Ekranı Mobil App Hissi (Tam Ekran) */
    .chat-container {
        height: calc(100vh - 145px) !important; width: 100% !important;
        border-radius: 0 !important; margin: 0 !important; 
        border: none !important; box-shadow: none !important;
        flex-direction: column !important;
    }
    .chat-sidebar {
        width: 100% !important;
        max-height: 80px !important;
        border-right: none !important;
        border-bottom: 1px solid var(--border-color) !important;
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 10px !important;
        gap: 10px !important;
        white-space: nowrap;
        background: var(--card-bg) !important;
    }
    .chat-user {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        min-width: 110px !important;
        padding: 8px 10px !important;
        border: 1px solid var(--border-color) !important;
        border-radius: 20px !important;
        margin: 0 !important;
        text-align: center !important;
        background: var(--input-bg);
    }
    .chat-user:hover, .chat-user.active {
        border-color: var(--highlight-color) !important;
        background: rgba(255, 183, 3, 0.1) !important;
    }
    .chat-user strong { font-size: 14px !important; margin-bottom: 2px !important; }
    .chat-user span { display: none !important; }
    
    .chat-main { height: calc(100% - 90px) !important; }
    #chatHeader { padding: 15px 20px !important; font-size: 16px !important; }
    
    .chat-messages {
        padding: 15px !important;
    }
    .message {
        max-width: 85% !important;
        font-size: 14px !important;
        padding: 10px 15px !important;
        border-radius: 15px !important;
    }
    #chatForm {
        padding: 15px !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }
    #chatInput {
        padding: 10px 15px !important;
        height: auto !important;
        flex: 1 1 100% !important;
    }
    #chatForm button {
        padding: 12px 20px !important;
        height: auto !important;
        font-size: 15px !important;
        flex: 1 1 100% !important;
    }

    /* Mobil Bottom Bar Gösterimi ve Gövde Boşluğu */
    body {
        padding-bottom: 85px; /* Alt menünün içeriği ezmesini önler */
    }
    
    .btn-ilan-ver-mobil {
        transform: translateY(-25px); /* Ekle butonunu mobilde havaya kaldırır */
    }

    /* Mobil Bildirim Paneli */
    #notification-panel {
        position: fixed !important;
        top: 70px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 92vw !important;
        right: auto !important;
    }

    /* Inline Grid ve Flex Yapılarını Mobilde Tek Sütuna Düşür */
    div[style*="grid-template-columns: 1fr 1fr"], 
    div[style*="grid-template-columns: repeat(2"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    div[style*="gap: 40px; flex-wrap: wrap"] { 
        gap: 15px !important; padding: 15px !important; 
    }

/* Satıldı / Rezerve Etiketi Hover Efekti */
.durum-etiketi {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease !important;
}
.ilan-card-horizontal:hover .durum-etiketi, .image-slider:hover .durum-etiketi {
    transform: rotate(-15deg) scale(1.15) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6) !important;
}
    .mobile-bottom-nav {
        display: flex;
    }
    /* Kategori Kartları Mobil Uyumluluğu */
    .kategori-card {
        width: calc(50% - 8px) !important; /* Boşlukları daraltıp daha iyi sığdırdık */
        border-radius: 14px !important;
    }
    .kategori-card img {
        height: 80px !important;
    }
    .kategori-card span {
        padding: 10px !important;
        font-size: 13px !important;
    }
    
    /* İlanlar Sayfası Üst Afiş Sıkıştırma (Mobil) */
    .search-hero-banner {
        padding: 25px 20px !important;
        border-radius: 16px !important;
        margin-bottom: 20px !important;
    }
    .search-hero-banner h1 {
        font-size: 24px !important;
    }
    .search-hero-banner p {
        font-size: 13px !important;
    }
    .quick-filter-chips {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding-bottom: 8px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .quick-filter-chips::-webkit-scrollbar {
        display: none;
    }
    .quick-chip {
        white-space: nowrap !important;
        font-size: 12px !important;
        padding: 8px 14px !important;
    }
    
    /* İlanlar Sayfası Özel Tasarım (Sol Menü + Sağ Liste) Mobil Uyumluluğu */
    .search-page-layout { flex-direction: column !important; gap: 15px !important; }
    .search-sidebar { width: 100% !important; position: static !important; margin-bottom: 10px !important; }
    .search-results { width: 100% !important; }

    /* İş İlanları ve İş İlanı Profil Sayfası Mobil Uyumluluğu */
    .job-list-card, .is-ilani-card {
        flex-direction: column !important;
        height: auto !important;
        padding: 15px !important;
        text-align: center !important;
        align-items: center !important;
    }
    .job-list-card .job-logo, .is-ilani-card .job-logo, .job-list-card img {
        margin: 0 auto 10px auto !important;
    }
    .job-list-card .job-details, .is-ilani-card .job-details, .job-list-card .card-middle {
        width: 100% !important;
        padding: 0 !important;
        align-items: center !important;
        text-align: center !important;
        border-right: none !important;
    }
    .job-list-card .job-actions, .is-ilani-card .job-actions, .job-list-card .card-price-wrap {
        width: 100% !important;
        flex-direction: column !important;
        gap: 10px !important;
        margin-top: 15px !important;
        align-items: center !important;
    }
    .is-ilanlari-layout, .is-profil-layout {
        flex-direction: column !important;
        gap: 15px !important;
    }
    .is-profil-header, .is-profil-card, .job-profile-container {
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px !important;
    }
    .is-profil-stats {
        flex-direction: column !important;
        gap: 10px !important;
    }
}

/* ================= ARAMA & FİLTRELEME (SIDEBAR) MODERNİZASYONU ================= */
@media (min-width: 769px) {
    .search-page-layout { display: flex; gap: 30px; align-items: flex-start; margin-top: 20px; }
    .search-sidebar { 
        width: 320px; flex-shrink: 0; position: sticky; top: 100px; 
        background: var(--card-bg); background-image: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.02) 100%);
        backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px);
        padding: 35px 25px; border-radius: 24px; 
        box-shadow: 0 20px 50px rgba(0,0,0,0.05); border: 1px solid var(--border-color); 
    }
    [data-theme="dark"] .search-sidebar { background: linear-gradient(145deg, #151a28 0%, #0b0f19 100%); border-color: rgba(255,255,255,0.05); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
    .search-sidebar .advanced-search-fields { display: flex !important; flex-direction: column; }
    .search-sidebar .btn-filtre-toggle { display: none; }
    .search-results { flex: 1; min-width: 0; }
}

.search-sidebar h3, .search-sidebar label { color: var(--text-primary); }
.search-sidebar h3 { font-size: 22px; font-weight: 800; margin-bottom: 25px; position: relative; padding-bottom: 15px; border-bottom: 2px solid var(--border-color); }
.search-sidebar h3::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 60px; height: 2px; background: var(--highlight-color); }
.search-sidebar label { font-size: 13px; font-weight: 700; margin-bottom: 10px; display: block; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; }
.search-sidebar input, .search-sidebar select {
    width: 100%; padding: 15px 20px; border-radius: 14px; border: 1.5px solid var(--border-color);
    background: var(--input-bg); color: var(--text-primary); font-size: 14px; outline: none; box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); margin-bottom: 22px; font-family: 'Poppins', sans-serif;
}
.search-sidebar input:focus, .search-sidebar select:focus {
    border-color: var(--highlight-color); box-shadow: 0 0 0 4px rgba(255, 183, 3, 0.15); background: var(--card-bg); transform: translateY(-2px);
}
.search-sidebar button[type="submit"], #btnFiltreTemizle {
    background: linear-gradient(135deg, var(--highlight-color), #fca311); color: #1d3557;
    border: none; padding: 16px; border-radius: 14px; width: 100%; font-weight: 800; font-size: 16px; letter-spacing: 0.5px; text-transform: uppercase;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 8px 25px rgba(255, 183, 3, 0.3); margin-top: 15px;
}
.search-sidebar button[type="submit"]:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 12px 30px rgba(255, 183, 3, 0.45); }
#btnFiltreTemizle { background: transparent; color: var(--text-secondary); box-shadow: none; border: 2px solid var(--border-color); padding: 14px; border-radius: 14px; font-weight: 700; width: 100%; margin-top: 12px; cursor: pointer; transition: 0.3s; }
#btnFiltreTemizle:hover { background: var(--border-color); color: var(--text-primary); transform: translateY(-2px); }

/* Corporate & Compact List View Card Design */
.list-view-card { display: flex; background: var(--card-bg); border-radius: 8px; overflow: hidden; cursor: pointer; border: 1px solid var(--border-color); transition: box-shadow 0.2s ease, border-color 0.2s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.03); margin-bottom: 10px; height: 135px; }
.list-view-card:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.08); border-color: var(--highlight-color); background: rgba(255, 183, 3, 0.02); }
.list-view-card.premium { border: 2px solid var(--highlight-color); background: linear-gradient(90deg, rgba(255, 183, 3, 0.05) 0%, var(--card-bg) 40%); }
.card-image-wrap { width: 180px; height: 100%; flex-shrink: 0; position: relative; background: var(--input-bg); overflow: hidden; border-right: 1px solid var(--border-color); }
.card-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.list-view-card:hover .card-image-wrap img { transform: scale(1.05); }
.card-badges { position: absolute; top: 6px; left: 6px; display: flex; gap: 4px; z-index: 2; flex-direction: column; }
.badge-premium, .badge-acil { padding: 3px 6px; border-radius: 4px; font-size: 10px; font-weight: 800; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.badge-premium { background: var(--highlight-color); color: var(--text-primary); }
.badge-acil { background: var(--danger-color); color: white; }
.card-content-wrap { flex: 1; display: flex; flex-direction: row; padding: 12px; align-items: stretch; justify-content: space-between; min-width: 0; }
.card-middle { display: flex; flex-direction: column; justify-content: space-between; flex: 1; padding-right: 15px; border-right: 1px solid var(--border-color); min-width: 0; }
.card-title { margin: 0 0 6px 0; font-size: 15px; font-weight: 600; color: var(--text-primary); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-info { display: flex; flex-direction: column; gap: 6px; }
.card-location { font-size: 12px; color: var(--text-secondary); display: flex; align-items: center; gap: 4px; font-weight: 500; }
.card-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.card-specs span { background: var(--input-bg); border: 1px solid var(--border-color); color: var(--text-primary); padding: 3px 8px; border-radius: 4px; font-size: 11px; font-weight: 500; }
.card-specs span strong { color: var(--text-secondary); font-weight: 600; margin-right: 3px; }
.card-price-wrap { display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-end; min-width: 130px; padding-left: 15px; text-align: right; }
.card-price { font-size: 18px; font-weight: 800; color: var(--danger-color); margin-bottom: 4px; letter-spacing: -0.5px; }
.card-time { font-size: 11px; color: var(--text-secondary); font-weight: 500; margin-bottom: 8px; }
.card-seller { display: inline-flex; align-items: center; gap: 4px; color: var(--text-secondary); font-size: 12px; font-weight: 600; transition: color 0.2s; margin-top: auto; }
.card-seller:hover { color: var(--highlight-color); }
.btn-hizli-incele { display: none; }
.card-footer { display: none; }
@media (max-width: 768px) {
    .list-view-card { flex-direction: row; height: 110px; border-radius: 8px; margin-bottom: 8px; }
    .card-image-wrap { width: 120px; }
    .card-content-wrap { padding: 8px; flex-direction: column; justify-content: space-between; }
    .card-middle { padding-right: 0; border-right: none; }
    .card-title { font-size: 13px; margin-bottom: 4px; -webkit-line-clamp: 2; }
    .card-specs { display: none; }
    .card-location { font-size: 11px; margin-bottom: 0; }
    .card-price-wrap { align-items: flex-start; padding-left: 0; min-width: 0; flex-direction: row; justify-content: space-between; align-items: center; margin-top: auto; }
    .card-price { font-size: 15px; margin-bottom: 0; }
    .card-time { font-size: 10px; margin-bottom: 0; }
    .card-seller { display: none; }
}

/* ================= PROFİL VE MAĞAZA (VİTRİN) MODERNİZASYONU ================= */
.profile-header-container {
    background: var(--card-bg); border-radius: 24px; overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05); border: 1px solid var(--border-color);
    margin-bottom: 30px; position: relative; margin-top: 20px;
}
.profile-cover {
    height: 220px; background: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
    position: relative; overflow: hidden;
}
.profile-cover::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}
.profile-avatar-wrapper {
    position: relative; margin-top: -60px; padding: 0 30px;
    display: flex; align-items: flex-end; gap: 25px; margin-bottom: 25px;
}
.profile-avatar-wrapper img {
    width: 130px; height: 130px; border-radius: 50%; border: 5px solid var(--card-bg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12); object-fit: cover; background: var(--card-bg); z-index: 2;
}
.profile-info-main { flex: 1; padding-bottom: 10px; }
.profile-info-main h1 {
    font-size: 28px; font-weight: 800; color: var(--text-primary); margin: 0 0 8px 0;
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.profile-info-main p { color: var(--text-secondary); margin: 0; font-size: 14px; font-weight: 500; }
.profile-stats-row {
    display: flex; flex-wrap: wrap; gap: 20px; padding: 25px 30px;
    background: rgba(0,0,0,0.015); border-top: 1px solid var(--border-color);
}
.profile-stat-box {
    background: var(--card-bg); padding: 18px 25px; border-radius: 16px;
    border: 1px solid var(--border-color); text-align: center; flex: 1; min-width: 120px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02); transition: transform 0.3s;
}
.profile-stat-box:hover { transform: translateY(-5px); border-color: var(--highlight-color); box-shadow: 0 10px 25px rgba(0,0,0,0.06); }
.profile-stat-box span { display: block; font-size: 13px; color: var(--text-secondary); font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }
.profile-stat-box strong { font-size: 26px; color: var(--text-primary); font-weight: 800; }

@media (max-width: 768px) {
    .profile-avatar-wrapper { flex-direction: column; align-items: center; text-align: center; margin-top: -65px; gap: 15px; }
    .profile-info-main h1 { justify-content: center; font-size: 22px; }
    .profile-stats-row { padding: 15px; gap: 10px; }
    .profile-stat-box { padding: 12px; min-width: calc(50% - 5px); }
}

.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}
.admin-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}
.stat-info h3 {
    margin: 0 0 5px 0;
    color: var(--text-secondary);
    font-size: 15px;
}
.stat-info p {
    margin: 0;
    color: var(--text-primary);
    font-size: 2.2rem;
    font-weight: 700;
}

.btn-ilan-ver-mobil {
    text-decoration: none !important;
}

/* Sürükle Bırak Resim Yükleme Alanı (Lüks Tasarım) */
.drag-drop-zone {
    border: 2px dashed var(--border-color);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    background-color: var(--input-bg);
    background-image: linear-gradient(145deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.05));
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}
.drag-drop-zone:hover, .drag-drop-zone.dragover {
    background-color: rgba(255, 183, 3, 0.05);
    border-color: var(--highlight-color);
    border-style: solid;
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 183, 3, 0.1);
}
.drag-drop-zone p { margin: 10px 0 0 0; color: var(--text-secondary); font-size: 15px; font-weight: 500; }
.drag-drop-zone .icon { font-size: 48px; line-height: 1; margin-bottom: 15px; display: inline-block; color: var(--highlight-color); text-shadow: 0 4px 10px rgba(255, 183, 3, 0.3); transition: transform 0.3s ease; }
.drag-drop-zone:hover .icon {
    transform: scale(1.1) rotate(-5deg);
}

@media (max-width: 768px) {
    .drag-drop-zone { padding: 20px !important; }
    .drag-drop-zone p { font-size: 14px !important; }
    .drag-drop-zone .icon { font-size: 36px !important; margin-bottom: 10px !important; }
}

/* Detaylı Arama Kutusu Gizleme/Gösterme Animasyonları */
.advanced-search-fields {
    display: none;
    animation: fadeInDown 0.3s ease forwards;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ================= İLAN DETAY SAYFASI MODERNİZASYONU ================= */
/* Galeri Alanı */
.detay-galeri-container {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}
.detay-ana-resim {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    position: relative;
}
.detay-ana-resim img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.detay-ana-resim:hover img {
    transform: scale(1.02);
}
.detay-kucuk-resimler {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    -ms-overflow-style: none;  /* IE ve Edge için gizleme */
    scrollbar-width: none;  /* Firefox için gizleme */
}
.detay-kucuk-resimler::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera ve mobil tarayıcılar için gizleme */
}
.detay-kucuk-resimler img {
    width: 110px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid transparent;
    opacity: 0.5;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.detay-kucuk-resimler img:hover, .detay-kucuk-resimler img.active {
    opacity: 1;
    border-color: var(--highlight-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255,183,3,0.3);
}

/* İlan Bilgi Alanı (Fiyat, Başlık vs.) */
.detay-bilgi-kutusu {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 25px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    margin-bottom: 25px;
}
.detay-fiyat {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--danger-color);
    margin-bottom: 10px;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.detay-baslik {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Satıcı Bilgi Kartı (Glassmorphism) */
.satici-bilgi-karti {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.04);
    border: 1px solid rgba(255,255,255,0.5);
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 25px;
}
[data-theme="dark"] .satici-bilgi-karti {
    background: rgba(21, 26, 40, 0.7);
    border-color: rgba(255,255,255,0.05);
}
.satici-karti-arka {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 110px;
    background: linear-gradient(135deg, var(--highlight-color), #fca311);
    opacity: 0.15;
}
.satici-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 5px solid var(--card-bg);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    object-fit: cover;
    position: relative;
    z-index: 2;
    margin: 0 auto 15px auto;
    background: var(--card-bg);
    transition: transform 0.3s ease;
}
.satici-bilgi-karti:hover .satici-avatar {
    transform: scale(1.05);
    border-color: var(--highlight-color);
}
.satici-isim {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 5px;
    position: relative;
    z-index: 2;
}
.satici-uyelik-tarihi {
    font-size: 13px;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
    font-weight: 500;
}
.satici-buton {
    background: linear-gradient(135deg, #1d3557, #457b9d);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(29, 53, 87, 0.3);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.satici-buton:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(29, 53, 87, 0.4);
}
.satici-buton.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}
.satici-buton.whatsapp:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}
.satici-buton.outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    box-shadow: none;
}
.satici-buton.outline:hover {
    border-color: var(--highlight-color);
    color: var(--highlight-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .detay-ana-resim img { height: 300px; }
    .detay-fiyat { font-size: 2.2rem; }
    .detay-baslik { font-size: 20px; }
    .detay-bilgi-kutusu, .detay-galeri-container, .satici-bilgi-karti { padding: 15px; border-radius: 16px; }
}

/* Detay Sayfası Dinamik Özellikler Tablosu */
.detay-ozellikler-tablosu {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
}
.detay-ozellikler-tablosu tr {
    transition: background 0.3s;
}
.detay-ozellikler-tablosu tr:nth-child(even) {
    background: var(--input-bg);
}
.detay-ozellikler-tablosu tr:hover {
    background: rgba(255, 183, 3, 0.05);
}
.detay-ozellikler-tablosu td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 14px;
}
.detay-ozellikler-tablosu td:first-child {
    font-weight: 700;
    width: 40%;
    color: var(--text-secondary);
    border-right: 1px solid var(--border-color);
}

/* ================= EKSTRA GELİŞMİŞ MOBİL UYUM (RESPONSIVE) KURALLARI ================= */
@media (max-width: 768px) {
    /* Genel Yapı ve Formlar */
    input, select, textarea {
        font-size: 16px !important; /* iOS'ta otomatik zoom'u engeller */
    }
    
    /* İlan Kartları Mobil Görünümü (Eğer Grid değilse de alt alta düşsün) */
    #ilanKutusu {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    /* Profil ve Kullanıcı (Uye) Sayfası Düzeltmeleri */
    #profilKapakWrapper {
        height: 150px !important;
    }
    #uyeProfilResmiImg {
        width: 90px !important;
        height: 90px !important;
        font-size: 35px !important;
    }
    .uye-aksiyon-butonlari {
        justify-content: center;
        width: 100%;
    }
    .uye-aksiyon-butonlari button {
        flex: 1 1 100%;
        padding: 12px 10px !important;
        font-size: 13px !important;
    }
    div[style*="margin-top:-60px"] {
        margin-top: -45px !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    div[style*="margin-top:-60px"] > div:nth-child(2) {
        margin-top: 10px !important;
        justify-content: center !important;
    }
    
    /* Admin Paneli Mobil Düzenlemeleri */
    .admin-sidebar {
        position: fixed !important;
        left: -300px;
        top: 0;
        bottom: 0;
        width: 280px !important;
        height: 100vh !important;
        z-index: 100000 !important;
        transition: left 0.3s ease !important;
        box-shadow: 5px 0 20px rgba(0,0,0,0.5) !important;
    }
    .admin-sidebar.open {
        left: 0 !important;
    }
    #mobile-admin-menu-btn {
        display: inline-block !important;
        background: var(--highlight-color);
        color: #1d3557;
        border: none;
        border-radius: 8px;
        padding: 6px 14px;
        font-size: 22px;
        cursor: pointer;
        margin-right: 15px;
    }
    .admin-header {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 15px !important;
        padding: 15px !important;
    }
    .admin-header h1 {
        font-size: 20px !important;
    }
    .admin-header > div {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px !important;
    }
    .admin-header button, .admin-header .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 12px !important;
    }
    .admin-card {
        padding: 15px !important;
        margin-bottom: 15px !important;
        border-radius: 12px !important;
    }
    
    /* Admin İstatistik Gridleri */
    div[style*="grid-template-columns: repeat(auto-fit, minmax"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    /* Tabloların Mobilde Yatay Kaydırılabilir Olmasını Zorlama */
    div[style*="overflow-x:auto"], div[style*="overflow-x: auto"] {
        -webkit-overflow-scrolling: touch;
        border-radius: 10px;
        margin-bottom: 15px;
    }
    .admin-table {
        min-width: 600px; /* Daralmasını önleyip scroll yaptırır */
    }
    
    /* Modallar (Popup) */
    [id$="Modal"] > div, 
    [id*="Modal"] > div {
        width: 95% !important;
        max-width: none !important;
        margin: 5vh auto !important;
        padding: 20px !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
        border-radius: 16px !important;
    }
    
    /* Canlı Destek Modalı */
    .live-support-modal {
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        bottom: 0 !important;
        right: 0 !important;
        border-radius: 0 !important;
    }
    
    /* Bildirim Paneli (Mobil) */
    #notification-panel {
        width: 100% !important;
        top: 60px !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0 0 16px 16px !important;
        max-height: 80vh !important;
    }

    /* Özel Tasarımlı Profil İstatistik Kutuları */
    #uyeDetayliIstatistikler, div[style*="gap:30px; flex-wrap:wrap;"] {
        gap: 15px !important;
        justify-content: center !important;
    }
    
    /* Mobilde Arama Kutusunun Padding'i ve Form Elemanları */
    .search-box {
        flex-direction: column !important;
        border-radius: 16px !important;
        padding: 10px !important;
    }
    .search-box input, .search-box select, .search-box button {
        width: 100% !important;
        border-radius: 12px !important;
        margin-bottom: 5px !important;
    }
}

@media (max-width: 768px) {
    /* Mobilde Premium İlanları Daha Belirgin Yapma */
    .list-view-card.premium, .showcase-card.premium, .job-list-card.premium {
        border: 2px solid var(--highlight-color) !important;
        background: linear-gradient(120deg, var(--card-bg) 60%, rgba(255, 183, 3, 0.15)) !important;
        box-shadow: 0 6px 20px rgba(255, 183, 3, 0.25) !important;
        margin-bottom: 15px !important;
        position: relative;
    }
    /* Sol tarafa dikkat çekici altın sarısı bir vurgu çizgisi (Ribbon) */
    .list-view-card.premium::after, .showcase-card.premium::after, .job-list-card.premium::after {
        content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
        background: var(--highlight-color); z-index: 10; border-radius: 8px 0 0 8px;
    }
    /* Premium etiketini (Badge) biraz daha büyütme */
    .badge-premium {
        font-size: 11px !important; padding: 4px 8px !important; box-shadow: 0 2px 8px rgba(255, 183, 3, 0.5) !important;
    }

    /* İlanlar Sayfası Mobil Filtreleme (Açılır/Kapanır Panel) */
    .search-sidebar {
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    .btn-filtre-toggle {
        display: flex !important; /* Butonu mobilde görünür yap */
        width: 100%;
        padding: 15px 20px;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        font-size: 16px;
        font-weight: 700;
        color: var(--text-primary);
        cursor: pointer;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    }
    .btn-filtre-toggle::after {
        content: '▼';
        font-size: 12px;
        transition: transform 0.3s;
    }
    .filtreler-acik .btn-filtre-toggle::after {
        transform: rotate(180deg);
    }
    .filtreler-acik .advanced-search-fields {
        display: flex !important;
        flex-direction: column; /* Form elemanlarının alt alta dizilmesi için */
        padding: 25px 20px;
        margin-top: -10px;
        background: var(--card-bg);
        border: 1px solid var(--border-color);
        border-top: none;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

    /* İlan Detay Sayfası Mobil Uyumluluğu */
    div[style*="display: flex"].container, 
    .ilan-detay-wrapper,
    .detay-layout {
        flex-direction: column !important;
        gap: 15px !important;
    }
    .detay-sol-kolon, .detay-sag-kolon, .satici-bilgi-karti {
        width: 100% !important;
        max-width: 100% !important;
    }
    .detay-fiyat {
        font-size: 1.8rem !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 5px !important;
    }
    .detay-ozellikler-tablosu td {
        padding: 10px !important;
        font-size: 13px !important;
    }
    .detay-kucuk-resimler img {
        width: 80px !important;
        height: 60px !important;
    }
}