/* MIME guard: ensure this path serves real CSS, not HTML */
html,body{max-width:100%;overflow-x:hidden;}

/* --- MiniLinje: minimized + notifications (chat-module only) --- */

/* Red dot on minimize/maximize button */
#btnMin{position:relative;}
.mc-notifdot{
  position:absolute;
  top:6px;
  right:6px;
  width:10px;
  height:10px;
  border-radius:999px;
  background:#ff2b2b;
  box-shadow:0 0 0 2px rgba(0,0,0,0.25);
  display:none;
}

/* Minimized notification dot – top-left on the minimized window */
.mc-minnotifdot{
  position:absolute;
  top:10px;
  left:10px;
  width:10px;
  height:10px;
  border-radius:999px;
  background:#ff2b2b;
  display:none;
  box-shadow: 0 0 0 3px rgba(0,0,0,0.35);
  z-index: 50;
}
.mc-minnotifdot.is-on{ display:block; }
.mc-notifdot.is-on{display:block;}

/* NEW indicator in user list (inside chat module) */
.mc-userrow{position:relative;}
.mc-userrow.has-unread .mc-username{font-weight:600;}
.mc-unreaddot{
  position:absolute;
  right:58px;
  top:50%;
  transform:translateY(-50%);
  width:8px;
  height:8px;
  border-radius:999px;
  background:#ff2b2b;
}
.mc-newbadge{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  font-size:11px;
  letter-spacing:0.4px;
  padding:3px 8px;
  border-radius:999px;
  background:rgba(255,43,43,0.14);
  border:1px solid rgba(255,43,43,0.45);
  color:#ff2b2b;
}

/* Small polish for minimized window */
.mc-callwindow.mc-min{
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,0.25);
}
.mc-callwindow.mc-min .mc-header{
  height:68px;
}
.mc-callwindow.mc-min #btnMin{
  font-size:18px;
  line-height:1;
}
