/* Scoped notification bell: FINAL participant layout remains unchanged. */

#identity{
  gap:8px;
}


/* =========================================================
   İTİRAZLAR BUTONU
   ========================================================= */

#ycDisputeBell{
  position:relative;

  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;

  background:#123653;

  border:1px solid #ffd742;

  color:#ffd742;

  border-radius:12px;

  padding:10px 12px;

  cursor:pointer;

  font-weight:800;

  white-space:nowrap;

  box-shadow:
    inset 0 -2px #d99a00,
    0 0 10px #ffd74255;
}


/* İtiraz simgesi */

#ycDisputeBell .yc-dispute-icon{
  color:#ffd742;

  font-size:17px;

  line-height:1;

  text-shadow:
    0 0 8px #ffd74299;
}


/* İtirazlar yazısı */

#ycDisputeBell .yc-dispute-label{
  color:#ffd742;

  font-weight:800;
}


/* Gizli durum */

#ycDisputeBell[hidden]{
  display:none!important;
}


/* =========================================================
   YENİ İTİRAZ SONUCU VARSA
   ========================================================= */

#ycDisputeBell.has-dispute{
  border-color:#ffe56c;

  box-shadow:
    inset 0 -2px #d99a00,
    0 0 10px #ffd742,
    0 0 18px #ffd74277;
}


/* Yeni sonuç geldiğinde kırmızı hareketli terazi */

#ycDisputeBell.has-dispute .yc-dispute-icon{
  color:#fff;

  background:linear-gradient(
    145deg,
    #ff4545,
    #c90000
  );

  border-radius:7px;

  padding:3px;

  text-shadow:none;

  box-shadow:
    0 0 12px #ff2020cc;

  transform-origin:50% 50%;

  animation:
    ycDisputeBellShake .72s ease-in-out infinite;
}


/* Terazi hareketi */

@keyframes ycDisputeBellShake{

  0%,
  100%{
    transform:rotate(0deg);
  }

  15%{
    transform:rotate(-18deg);
  }

  30%{
    transform:rotate(16deg);
  }

  45%{
    transform:rotate(-13deg);
  }

  60%{
    transform:rotate(10deg);
  }

  75%{
    transform:rotate(-6deg);
  }

  90%{
    transform:rotate(3deg);
  }
}


/* =========================================================
   SAYI ROZETİ
   ========================================================= */

#ycDisputeBadge{
  background:#e63b56;

  color:#fff;

  border-radius:50%;

  font-size:12px;

  font-weight:900;

  min-width:20px;
  height:20px;

  padding:0 4px;

  box-sizing:border-box;

  display:inline-grid;
  place-items:center;

  box-shadow:
    0 0 8px #e63b5688;
}


#ycDisputeBadge[hidden]{
  display:none!important;
}


/* =========================================================
   İTİRAZ POPUP
   ========================================================= */

#ycDisputePopup{
  position:absolute;

  right:18px;
  top:76px;

  width:min(
    420px,
    calc(100vw - 30px)
  );

  max-height:min(
    560px,
    72vh
  );

  overflow:auto;

  z-index:80;

  background:#0c263f;

  color:#fff;

  border:1px solid #2583ad;

  border-radius:16px;

  padding:14px;

  box-shadow:
    0 14px 35px #0007;

  box-sizing:border-box;
}


#ycDisputePopup[hidden]{
  display:none!important;
}


/* =========================================================
   POPUP BAŞLIK
   ========================================================= */

.yc-dispute-popup-head{
  display:flex;

  justify-content:space-between;
  align-items:center;

  gap:12px;

  margin-bottom:12px;
}


.yc-dispute-popup-head strong{
  color:#ffd742;
}


.yc-dispute-popup-head button{
  background:#25445d;

  color:white;

  border:0;

  border-radius:9px;

  padding:7px 10px;
}


/* =========================================================
   İTİRAZ KARTLARI
   ========================================================= */

.yc-dispute-item{
  background:#142f49;

  border:1px solid #315875;

  border-radius:12px;

  padding:12px;

  margin:9px 0;

  color:#e8f3fc;
}


/* Okunmamış itiraz sonucu */

.yc-dispute-item.unread{
  border-left:4px solid #ffd742;

  box-shadow:
    inset 3px 0 #ffd74222;
}


/* Başlık */

.yc-dispute-item strong{
  color:#fff;
}


/* Açıklama */

.yc-dispute-item p{
  font-size:13px;

  line-height:1.5;

  margin:8px 0;
}


/* Kararı incele */

.yc-dispute-item button{
  background:#078dba;

  border:0;

  border-radius:9px;

  color:white;

  font-weight:800;

  padding:10px 14px;

  cursor:pointer;
}


/* =========================================================
   MOBİL
   ========================================================= */

@media(max-width:600px){

  #ycDisputePopup{
    right:10px;
    top:70px;
  }

  #ycDisputeBell{
    padding:7px 9px;
  }

  #ycDisputeBell .yc-dispute-icon{
    font-size:15px;
  }
}


/* =========================================================
   HAREKET AZALTMA TERCİHİ
   ========================================================= */

@media (prefers-reduced-motion:reduce){

  #ycDisputeBell.has-dispute .yc-dispute-icon{
    animation:none!important;
  }

}