/* 
 * Çerez Onay Popup - Tamamen Yeni Tasarım
 * Hiçbir başka CSS ile çakışmayacak şekilde tasarlandı
 */

/* Container - Sol alt köşede sabit */
.cookie-popup-container {
    position: fixed !important;
    bottom: 15px !important;
    left: 15px !important;
    width: 320px !important;
    max-width: calc(100vw - 30px) !important;
    z-index: 999999 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    
    /* Başlangıçta gizli */
    transform: translateX(-100%) !important;
    opacity: 0 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    
    /* Reset all possible inherited styles */
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    color: initial !important;
    text-align: left !important;
    font-size: 14px !important;
    line-height: normal !important;
}

/* Göster durumu */
.cookie-popup-container.cookie-popup-show {
    transform: translateX(0) !important;
    opacity: 1 !important;
}

/* Ana içerik kutusu */
.cookie-popup-content {
    background: linear-gradient(135deg, #ff3b15 0%, #ff2d00 100%) !important;
    border-radius: 12px !important;
    padding: 12px !important;
    box-shadow: 0 8px 32px rgba(255, 59, 21, 0.4), 
                0 2px 8px rgba(0, 0, 0, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    
    /* Reset */
    margin: 0 !important;
    position: relative !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
}

/* Header kısmı */
.cookie-popup-header {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
    
    /* Reset */
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

/* Çerez ikonu */
.cookie-icon {
    font-size: 16px !important;
    line-height: 1 !important;
    
    /* Reset */
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    color: inherit !important;
}

/* Başlık */
.cookie-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #FFD100 !important;
    line-height: 1.2 !important;
    
    /* Reset */
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Metin kısmı */
.cookie-popup-text {
    margin-bottom: 10px !important;
    
    /* Reset */
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

.cookie-popup-text p {
    font-size: 10px !important;
    line-height: 1.3 !important;
    color: rgba(255, 255, 255, 0.95) !important;
    margin: 0 !important;
    
    /* Reset */
    padding: 0 !important;
    border: none !important;
    background: none !important;
    font-weight: normal !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Link */
.cookie-link {
    color: #FFD100 !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
    transition: color 0.2s ease !important;
    
    /* Reset */
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

.cookie-link:hover {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 209, 0, 0.6) !important;
}

/* Buton container */
.cookie-popup-buttons {
    display: flex !important;
    gap: 8px !important;
    
    /* Reset */
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

/* Butonlar */
.cookie-btn {
    flex: 1 !important;
    padding: 8px 12px !important;
    border-radius: 20px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    
    /* Reset */
    margin: 0 !important;
    background: none !important;
    color: inherit !important;
    border: none !important;
    font-family: inherit !important;
    line-height: 1 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

/* Reddet butonu */
.cookie-btn-reject {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
}

.cookie-btn-reject:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
    transform: translateY(-1px) !important;
}

/* Kabul et butonu */
.cookie-btn-accept {
    background: #FFD100 !important;
    color: #ff3b15 !important;
    border: 2px solid #FFD100 !important;
    font-weight: 700 !important;
}

.cookie-btn-accept:hover {
    background: #ffffff !important;
    color: #ff3b15 !important;
    border-color: #ffffff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3) !important;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .cookie-popup-container {
        width: 290px !important;
        bottom: 12px !important;
        left: 12px !important;
    }
    
    .cookie-popup-content {
        padding: 10px !important;
    }
    
    .cookie-title {
        font-size: 13px !important;
    }
    
    .cookie-popup-text p {
        font-size: 10px !important;
    }
    
    .cookie-btn {
        padding: 7px 10px !important;
        font-size: 10px !important;
    }
}

@media (max-width: 480px) {
    .cookie-popup-container {
        width: 270px !important;
        bottom: 10px !important;
        left: 10px !important;
    }
    
    .cookie-popup-buttons {
        flex-direction: column !important;
        gap: 6px !important;
    }
    
    .cookie-btn {
        padding: 8px 12px !important;
    }
}

/* Ekstra güvenlik - diğer CSS'lerin etkisini sıfırla */
.cookie-popup-container * {
    box-sizing: border-box !important;
}

.cookie-popup-container,
.cookie-popup-container * {
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}
