/* Canlı Destek — Wa-Destek modalı ile aynı iskelet, site mavi başlık. */
.Cd-Destek-Modal,
.Cd-Destek-Modal * { box-shadow: none !important; }
.Cd-Destek-Modal.modal-content { overflow: hidden !important; border: 0 !important; border-radius: 10px !important; background-clip: padding-box; }
.Cd-Destek-Modal .modal-header {
  padding: 18px 24px !important;
  background-color: #E7F3F9 !important;
  border-bottom: 1px solid #CBE3F0 !important;
  border-radius: 10px 10px 0 0 !important;
}
.Cd-Destek-Modal .modal-body { border-radius: 0 0 10px 10px !important; background-color: #fff; }
.Cd-Destek-Modal-Baslik {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  color: #033c59 !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}
.Cd-Destek-Modal-Baslik i,
.Cd-Destek-Modal-Baslik svg,
.Cd-Destek-Modal-Baslik .svg-inline--fa {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  font-size: 20px !important;
  vertical-align: 0 !important;
}
.Cd-Destek-Aciklama {
  margin-bottom: 20px !important;
  color: #4F6572 !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
  text-align: left !important;
  letter-spacing: 0.05px;
  font-weight: 400;
}
.Cd-Destek-Form-Kart.Servis-Sade-Kart {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  box-shadow: none !important;
  height: auto !important;
}
.Cd-Destek-Form-Alt {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 6px !important;
}
.Cd-Destek-Form-Alt .Btn { width: auto !important; margin: 0 !important; }
#cdFormAdim[hidden], #cdSohbetAdim[hidden], #cdAciklama[hidden] { display: none !important; }
.Cd-Sohbet-Kutu {
  border: 1px solid #E3EBF0;
  border-radius: 12px;
  background: #F7FAFC;
  height: 300px;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.Cd-Mesaj { max-width: 85%; padding: 8px 12px; border-radius: 12px; font-size: 13.5px; line-height: 1.55; overflow-wrap: anywhere; }
.Cd-Mesaj.ziyaretci { align-self: flex-start; background: #033c59; color: #fff; border-bottom-left-radius: 3px; }
.Cd-Mesaj.personel { align-self: flex-start; background: #fff; color: #22333d; border: 1px solid #DCE7ED; border-bottom-left-radius: 3px; }
.Cd-Mesaj.sistem { align-self: flex-start; background: #FFF3D6; color: #7a5b00; border: 1px solid #EBD9A0; font-size: 12.5px; text-align: left; }
.Cd-Mesaj.sistem.katildi { background: #DFF2E3; color: #0f6b2e; border-color: #B9DCC2; }
.Cd-Yardim { display: block; margin-top: 6px; color: #0a3d2c; font-weight: 700; font-size: 13.5px; }
.cd-wa-gecis { display:inline-flex !important; width:auto !important; margin:0 !important; font-size:12px !important; padding:6px 14px !important; }
.Cd-Mesaj small { display: block; font-size: 10.5px; opacity: 0.7; margin-top: 4px; }
.Cd-Sohbet-Durum { font-size: 12.5px; color: #4F6572; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.Cd-Nokta { width: 9px; height: 9px; border-radius: 50%; background: #28a745; display: inline-block; }
.Cd-Nokta.kapali { background: #dc3545; }
.Cd-Nokta.bekliyor { background: #ffc107; }
.Cd-Yaziyor { font-size: 12.5px; color: #37566b; font-style: normal; font-weight: 600; min-height: 18px; margin-bottom: 6px; }
.Cd-Yaziyor:not(:empty)::after { content: '...'; letter-spacing: 1px; animation: cdYaziyorNokta 1.2s ease-in-out infinite; }
@keyframes cdYaziyorNokta { 0%, 100% { opacity: 0.2; } 50% { opacity: 1; } }

/* Canlı destek aktifken üst bar destek butonu yanıp söner */
.Ust-Wa-Destek-Btn.cd-destek-aktif { border-color: #137333 !important; animation: cdDestekBlink 1.4s ease-in-out infinite; }
/* Üzerine gelince butonun tamamı tema mavisi olur (parlama halkası dahil) */
.Ust-Wa-Destek-Btn:hover { background-color: #0081c2 !important; border-color: #0081c2 !important; color: #ffffff !important; }
.Ust-Wa-Destek-Btn.cd-destek-aktif:hover { animation: cdDestekBlinkHover 1.4s ease-in-out infinite; }
@keyframes cdDestekBlinkHover {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 129, 194, 0.55); }
  50% { box-shadow: 0 0 0 8px rgba(0, 129, 194, 0); }
}
.Ust-Wa-Destek-Btn:hover i, .Ust-Wa-Destek-Btn:hover svg, .Ust-Wa-Destek-Btn:hover .svg-inline--fa { color: #ffffff !important; }
@keyframes cdDestekBlink {
  0%, 100% { box-shadow: 0 0 0 0 rgba(19, 115, 51, 0.55); }
  50% { box-shadow: 0 0 0 8px rgba(19, 115, 51, 0); }
}
