/* ========================================================
   LOKAL GOOGLE FONTS (Rajdhani) - DSGVO / GDPR KONFORM
   ======================================================== */
@font-face {
    font-family: 'Rajdhani';
    src: url('../fonts/rajdhani-v15-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Rajdhani';
    src: url('../fonts/rajdhani-v15-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Rajdhani';
    src: url('../fonts/rajdhani-v15-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Rajdhani';
    src: url('../fonts/rajdhani-v15-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* SaaS UI Reset & Font Entegrasyonu - Sadece Banner ve Çocukları Sıfırlanır (Harita Çakışması Engellendi) */
.rx-cookie-banner, 
.rx-cookie-banner * {
    font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Glassmorphic SaaS Container - Landscape Layout */
.rx-cookie-banner {
    position: fixed;
    bottom: 24px;
    width: 520px;
    background: var(--rx-banner-bg, rgba(255, 255, 255, 0.80)) !important; /* GÜNCELLEME: Dinamik cam rengine duyarlı */
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.03), 
        0 20px 40px -4px rgba(0, 0, 0, 0.07),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    padding: 26px 30px;
    z-index: 999999;
    animation: rx-saas-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.rx-pos-left { left: 24px; }
.rx-pos-right { right: 24px; }

/* Logo Konteynerı ve Mükemmel Ortalama Kuralları */
.rx-banner-logo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 20px !important;
}

.rx-banner-logo img {
    display: block !important;
    margin: 0 auto !important;
}

/* Content Headings */
.rx-banner-content h3 {
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.2px;
    margin-bottom: 6px;
    text-align: center;
}

.rx-banner-content p {
    font-size: 13px;
    color: #475569;
    line-height: 1.45;
    margin-bottom: 18px;
    font-weight: 500;
    text-align: center;
}

/* Onay Kutuları */
.rx-preferences {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 20px;
}

.rx-preferences label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(248, 250, 252, 0.6);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
}

.rx-preferences label:hover {
    background: rgba(241, 245, 249, 0.9);
    border-color: rgba(203, 213, 225, 0.8);
}

/* Minimalist Kare Checkbox */
.rx-preferences input[type="checkbox"] {
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.rx-preferences input[type="checkbox"]:checked {
    border-color: var(--rx-brand-color, #4a72d4);
    background-color: var(--rx-brand-color, #4a72d4);
}

.rx-preferences input[type="checkbox"]::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s ease-in-out;
    margin-top: -2px;
}

.rx-preferences input[type="checkbox"]:checked::after {
    transform: rotate(45deg) scale(1);
}

.rx-preferences input[type="checkbox"]:disabled {
    background-color: #94a3b8;
    border-color: #94a3b8;
    cursor: not-allowed;
}

/* Buton Tasarımları */
.rx-banner-buttons {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.rx-banner-buttons button {
    flex: 1;
    padding: 11px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.rx-btn-accept {
    background: var(--rx-brand-color, #4a72d4) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.rx-btn-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.rx-btn-selected {
    background: #0f172a;
    color: #ffffff;
}

.rx-btn-selected:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

.rx-btn-reject {
    background: var(--rx-brand-color, #4a72d4) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.rx-btn-reject:hover {
    color: #334155;
    background: rgba(241, 245, 249, 0.5);
    border-color: rgba(203, 213, 225, 0.8) !important;
}

/* Ajans İmzası */
.rx-banner-attribution {
    text-align: center !important;
    margin-top: 18px !important;
    line-height: 1 !important;
}

.rx-banner-attribution a {
    color: var(--rx-powered-color, #94a3b8) !important; /* GÜNCELLEME: Bağımsız şık marka rengine duyarlı hale getirildi */
    text-decoration: none !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    letter-spacing: 0.8px !important;
    text-transform: lowercase !important;
    opacity: 0.7 !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
}

.rx-banner-attribution a:hover {
    opacity: 1 !important;
    color: #64748b !important;
    transform: scale(1.02);
}

/* ========================================================
   GELİŞMİŞ SAAS UI GOOGLE MAPS KİLİTLEME / BLUR SİSTEMİ
   ======================================================== */

/* Harita Sarmalayıcı Alanı (Modern ve Yumuşak Gölgeli Yapı) */
.rx-blocked-map-wrapper {
    position: relative !important;
    width: 100% !important;
    height: 400px !important;
    min-height: 350px !important;
    border-radius: 16px !important; 
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    background-color: #f4f3f0 !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important; 
    box-shadow: 
        0 10px 30px -10px rgba(0, 0, 0, 0.08), 
        0 1px 3px rgba(0, 0, 0, 0.02) !important; 
}

/* GÜVENLİ GÖMÜLÜ BULANIK ARKA PLAN KATMANI (BOMBPROOF BLUR ENGINE) */
.rx-blocked-bg-layer {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    z-index: 1 !important;
    filter: blur(4px) brightness(0.96) !important; 
    -webkit-filter: blur(4px) brightness(0.96) !important;
    transition: all 0.3s ease !important;
}

/* Google Maps Sınıfı - Detaylı Yol, Nehir ve Park Simülasyonlu Gerçekçi SVG Arka Plan */
.rx-blocked-google-maps .rx-blocked-bg-layer {
    background-color: #f4f3f0 !important;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='400' viewBox='0 0 800 400'><rect width='800' height='400' fill='%23f4f3f0'/><path d='M-50,150 C200,100 300,300 500,200 T850,250' fill='none' stroke='%23aad3df' stroke-width='40'/><path d='M100,50 L250,80 L200,220 L50,180 Z' fill='%23d2f2d2' opacity='0.7'/><path d='M450,180 L600,150 L650,320 L500,300 Z' fill='%23d2f2d2' opacity='0.7'/><path d='M300,50 L400,20 L480,100 L380,120 Z' fill='%23d2f2d2' opacity='0.5'/><path d='M0,100 L800,100' fill='none' stroke='%23fcd34d' stroke-width='10'/><path d='M300,0 L300,400' fill='none' stroke='%23fcd34d' stroke-width='8'/><path d='M150,0 L150,400' fill='none' stroke='%23ffffff' stroke-width='6'/><path d='M600,0 L600,400' fill='none' stroke='%23ffffff' stroke-width='6'/><path d='M0,250 L800,250' fill='none' stroke='%23ffffff' stroke-width='8'/><path d='M0,320 C300,280 500,350 800,320' fill='none' stroke='%23e2e8f0' stroke-width='4'/><path d='M0,50 C200,80 400,20 800,60' fill='none' stroke='%23e2e8f0' stroke-width='4'/><circle cx='300' cy='100' r='12' fill='%23fca5a5' opacity='0.6'/><circle cx='600' cy='250' r='10' fill='%23fca5a5' opacity='0.6'/></svg>") !important;
}

/* YouTube & Vimeo Sınıfı Varsayılan Degrade Arka Planı (Kapak resmi yüklenemezse devreye girer) */
.rx-blocked-youtube .rx-blocked-bg-layer,
.rx-blocked-vimeo .rx-blocked-bg-layer {
    background-image: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
}

/* Gelişmiş Önizleme Karartma Katmanı */
.rx-blocked-map-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(15, 23, 42, 0.04) !important; 
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* YÜZEN GLASSMORPHIC KART TASARIMI (Derin SaaS Gölgeli) */
.rx-blocked-map-card {
    width: 100% !important;
    max-width: 380px !important;
    background: rgba(255, 255, 255, 0.94) !important; 
    -webkit-backdrop-filter: blur(8px) !important;
    backdrop-filter: blur(8px) !important; 
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    border-radius: 16px !important;
    padding: 24px 28px !important;
    box-shadow: 
        0 20px 40px -10px rgba(15, 23, 42, 0.18), 
        0 1px 3px rgba(15, 23, 42, 0.04) !important; 
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important;
    animation: rx-saas-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    z-index: 20 !important; 
}

/* Kilit / Konum / Video İkonu Stili */
.rx-map-lock-icon-svg {
    width: 36px !important;
    height: 38px !important;
    margin-bottom: 12px !important;
    animation: rx-bounce 2s infinite ease-in-out !important;
    display: inline-block !important;
}

/* HARİTA VE VİDEO YAZILARININ RAJDHANI FONTUNA EŞİTLENMESİ */
.rx-blocked-map-card h4,
.rx-blocked-map-card p,
.rx-blocked-map-card button,
.rx-blocked-map-card a {
    font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; 
}

.rx-blocked-map-card h4 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 6px 0 !important;
    letter-spacing: -0.3px !important;
    line-height: 1.2 !important;
}

.rx-blocked-map-card p {
    font-size: 13px !important;
    color: #475569 !important;
    max-width: 320px !important;
    margin: 0 0 16px 0 !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
    text-align: center !important;
}

/* "Mehr erfahren" Linki */
.rx-blocked-map-card p a {
    color: var(--rx-brand-color, #4a72d4) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    transition: color 0.2s ease !important;
    border-bottom: 1px solid transparent !important;
}

.rx-blocked-map-card p a:hover {
    border-bottom-color: var(--rx-brand-color, #4a72d4) !important;
}

/* Karte/Video laden Butonu - Marka Rengine Duyarlı */
.rx-btn-unlock-map {
    background-color: var(--rx-brand-color, #0f172a) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 11px 24px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1) !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    width: auto !important;
    display: inline-block !important;
}

.rx-btn-unlock-map:hover {
    filter: brightness(0.9) !important;
    transform: translateY(-1px) scale(1.02) !important;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.2) !important;
}

.rx-blocked-iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block !important;
    position: relative !important;
    z-index: 2 !important;
}

@keyframes rx-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ==========================================
   RESPONSIVE TASARIM KURALLARI
   ========================================== */
@media screen and (min-width: 481px) and (max-width: 960px) {
    .rx-cookie-banner {
        width: 450px !important;
        padding: 24px 26px !important;
    }
    .rx-preferences {
        gap: 8px !important;
    }
}

@media screen and (max-width: 480px) {
    .rx-cookie-banner {
        width: calc(100% - 32px) !important;
        max-width: 360px !important; 
        left: 50% !important; 
        right: auto !important;
        transform: translateX(-50%) !important;
        bottom: 16px !important;
        padding: 16px 20px !important; 
        border-radius: 16px !important;
    }
    .rx-banner-content h3 {
        font-size: 17px !important;
    }
    .rx-banner-content p {
        font-size: 12.5px !important;
        margin-bottom: 14px !important;
    }
    
    .rx-preferences {
        display: flex !important;
        flex-direction: row !important; 
        gap: 4px !important; 
        margin-bottom: 14px !important;
    }
    .rx-preferences label {
        flex: 1 !important;
        padding: 5px 4px !important; 
        gap: 4px !important; 
        font-size: 10px !important; 
        border-radius: 8px !important;
        justify-content: flex-start !important; 
    }
    
    .rx-preferences input[type="checkbox"] {
        width: 14px !important;
        height: 14px !important;
    }
    .rx-preferences input[type="checkbox"]::after {
        width: 3px !important;
        height: 6px !important;
    }
    
    .rx-banner-buttons {
        flex-direction: column !important;
        gap: 8px !important;
    }
    .rx-banner-buttons button {
        width: 100% !important;
        padding: 12px !important;
        font-size: 13.5px !important;
    }
    
    .rx-blocked-map-card {
        max-width: calc(100% - 20px) !important;
        padding: 20px !important;
    }
}

@keyframes rx-saas-slide-up {
    from { 
        transform: translateY(20px); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

/* ========================================================
   YENİ BÖLÜM: MİKRO DETAY ÇEKMECESİ VE İNFOBAR BİLEŞENLERİ (SaaS UI)
   ======================================================== */

/* Bilgi İkonu Tetikleyicisi */
.rx-info-trigger {
    margin-left: auto !important; 
    width: 18px !important; 
    height: 18px !important;
    background-color: var(--rx-brand-color, #4a72d4) !important; 
    border: none !important; 
    border-radius: 2px !important; 
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 13px !important; 
    font-weight: 500 !important; 
    color: #ffffff !important; 
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    line-height: 1 !important;
    text-align: center !important;
    flex-shrink: 0 !important; 
}

.rx-info-trigger:hover {
    filter: brightness(0.9) !important; 
    transform: scale(1.05) !important;
}

/* Yukarı Doğru Pürüzsüz Süzülen Bilgi Çekmecesi */
.rx-details-panel {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: var(--rx-banner-bg-solid, #ffffff) !important; /* GÜNCELLEME: Çakışmaları önlemek için yarı saydam değil, dinamik katı (solid) arka plana bağlandı */
    border-top: 1px solid rgba(226, 232, 240, 0.9) !important;
    border-radius: 0 0 18px 18px !important; 
    padding: 18px 22px !important;
    z-index: 100 !important;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    display: none; 
}

.rx-details-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 8px !important;
}

.rx-details-header h4 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* Kapatma Çarpısı */
#rx-details-close {
    font-size: 16px !important; 
    font-weight: 700 !important;
    width: 20px !important;
    height: 20px !important;
    background-color: var(--rx-brand-color, #4a72d4) !important; 
    color: #ffffff !important; 
    border-radius: 4px !important; 
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
}

#rx-details-close:hover {
    background-color: #ef4444 !important; 
    color: #ffffff !important;
}

.rx-details-body {
    font-size: 12.5px !important;
    color: #475569 !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    text-align: left !important;
}

/* ========================================================
   YENİ BÖLÜM: KÜÇÜK YÜZEN ÇEREZ TETİKLEYİCİ KALKANI (TRIGGER)
   ======================================================== */

.rx-cookie-reopen-trigger {
    position: fixed !important;
    bottom: 24px !important;
    width: 46px !important;
    height: 46px !important;
    background-color: var(--rx-brand-color, #4a72d4) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    display: flex !important;           
    align-items: center !important;     
    justify-content: center !important; 
    line-height: 0 !important;          
    cursor: pointer !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16) !important;
    z-index: 999998 !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    animation: rx-saas-slide-up-reopen 0.5s ease-out !important;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Reopen kalkan simgesinin (inline SVG) CSS biçimlendirmesi */
.rx-cookie-reopen-trigger svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
    margin: 0 !important;              
    padding: 0 !important;
    fill: currentColor !important; 
    transition: transform 0.3s ease !important;
}

.rx-cookie-reopen-trigger svg * {
    fill: currentColor !important; 
}

/* Pozisyonları bu alt sınıflarla dinamik yönetelim */
.rx-cookie-reopen-trigger.rx-pos-left {
    left: 24px !important;
    right: auto !important;
}

.rx-cookie-reopen-trigger.rx-pos-right {
    right: 24px !important;
    left: auto !important;
}

.rx-cookie-reopen-trigger:hover {
    transform: scale(1.1) rotate(15deg) !important;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.26) !important;
}

/* Shortcode Sayfa İçi Buton Stili */
.rx-cookie-reopen-btn {
    background-color: #f1f5f9 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    padding: 10px 18px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-family: 'Rajdhani', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.rx-cookie-reopen-btn:hover {
    background-color: #e2e8f0 !important;
    color: #1e293b !important;
    border-color: #94a3b8 !important;
}

@keyframes rx-saas-slide-up-reopen {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}