/* Tawk.to'nun varsayılan sohbet balonunu her zaman gizle */
iframe[data-tawk-widget] {
    display: none !important;
    visibility: hidden !important; /* Ekstra güvenlik katmanı */
}

/* IPTV Decision Chatbot – Final Styles */
:root {
  --idc-primary: #800080;
  --idc-primary-light: #a04aa0;
  --idc-primary-contrast: #ffffff;
  --idc-whatsapp-green: #25D366;
  --idc-bg: #ffffff;
  --idc-surface: #f8f8f8;
  --idc-border: #e0e0e0;
  --idc-text: #333333;
}
@media (prefers-color-scheme: dark) {
  :root {
    --idc-bg: #1e1e1e;
    --idc-surface: #2a2a2a;
    --idc-border: #444;
    --idc-text: #e0e0e0;
  }
}

/* Launcher & Chatbox Genel Stilleri */
#idc-launcher { position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: var(--idc-primary); color: var(--idc-primary-contrast); border-radius: 50%; cursor: pointer; box-shadow: 0 4px 8px rgba(0, 0, 0, .25); z-index: 9998; transition: transform .2s ease, box-shadow .2s ease; }
#idc-launcher:hover { transform: scale(1.1); }
#idc-chatbox { position: fixed; bottom: 90px; right: 20px; width: 340px; max-width: calc(100vw - 40px); height: 70vh; max-height: 580px; display: flex; flex-direction: column; background: var(--idc-bg); color: var(--idc-text); border-radius: 12px; box-shadow: 0 4px 16px rgba(0, 0, 0, .3); overflow: hidden; z-index: 9999; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; visibility: hidden; opacity: 0; transform: translateY(15px); transition: opacity .25s ease-out, transform .25s ease-out, visibility .25s; }
#idc-chatbox.open { visibility: visible; opacity: 1; transform: translateY(0); }

/* Header ve İçerik Alanı */
.idc-header { display: flex; align-items: center; gap: 12px; padding: 12px 18px; background: var(--idc-primary); color: var(--idc-primary-contrast); font-weight: 600; font-size: 16px; flex-shrink: 0; }
.idc-header img { height: 32px; width: 32px; flex-shrink: 0; }
.idc-header span { flex-grow: 1; }
#idc-close { background: none; border: none; color: var(--idc-primary-contrast); font-size: 20px; line-height: 1; padding: 0 5px; cursor: pointer; opacity: 0.8; transition: opacity .2s; }
#idc-close:hover { opacity: 1; }
#idc-body { flex: 1; padding: 16px; font-size: 15px; overflow-y: auto; background: var(--idc-surface); display: flex; flex-direction: column; gap: 12px; min-height: 0; }

/* Buton Stilleri */
.idc-options, .idc-actions { display: flex; flex-direction: column; gap: 8px; }
.idc-btn { display: flex; align-items: center; justify-content: center; width: 100%; padding: 12px; text-align: center; font-size: 14px; font-weight: 500; border-radius: 8px; border: 1px solid var(--idc-border); background: var(--idc-bg); color: var(--idc-text); cursor: pointer; transition: all .2s ease; }
.idc-btn:hover { background: var(--idc-primary-light); color: var(--idc-primary-contrast); border-color: var(--idc-primary-light); }
.idc-btn:active { transform: scale(0.98); }
.idc-btn.idc-back { background: transparent; border-color: transparent; }

.idc-hidden { display: none !important; }
/* Canlı Sohbet Butonu İçin Yanıp Sönen Yeşil İkon */
.idc-btn .idc-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background-color: #25D366; /* Yeşil renk */
    animation: idc-pulse-animation 1.5s infinite;
}

@keyframes idc-pulse-animation {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}
/* === MOBİL CİHAZ DÜZENLEMELERİ === */
@media (max-width: 600px) {
    #idc-chatbox {
        width: auto;
        max-width: calc(100% - 20px);
        left: 15px;
        right: 10px;
        bottom: 10px;
        height: 74vh;
        max-height: 74vh;
        border-radius: 12px;
        transform: translateY(110%);
        transition: transform .3s ease-out;
        box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
    }
    #idc-chatbox.open {
        transform: translateY(0);
    }
}