.call-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 20000;
}

.call-overlay.active {
    display: flex;
}

.call-window {
    background: #1e1e1e;
    padding: 20px 24px;
    border-radius: 16px;
    min-width: 260px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.call-status {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 600;
}

.call-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.call-control {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
}

.call-control.accept {
    background: #2ecc71;
    color: #ffffff;
}

.call-control.reject,
.call-control.end {
    background: #e74c3c;
    color: #ffffff;
}

#remoteAudio {
    display: none;
}

.call-control.mic {
  background: #3b3b3b;
  color: #ffffff;
}

.call-control.mic.muted {
  background: #8e2a2a;
}

.call-control.mic i {
  font-size: 20px;
}

.call-vol{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.call-vol-label{
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  min-width: 44px;
  text-align: right;
}

#callVolume{
  width: 100%;
}

.call-mini{
  position: fixed;
  right: 16px;
  bottom: 90px;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: rgba(0,0,0,0.85);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 14px 40px rgba(0,0,0,0.45);
  z-index: 20001;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.call-mini.active{
  display: flex;
}

.call-mini-avatar{
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

#callVolume{
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  outline: none;
  touch-action: pan-x;
}

#callVolume::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(0,0,0,0.25);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

#callVolume::-moz-range-thumb{
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid rgba(0,0,0,0.25);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

#callVolume::-moz-range-track{
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
}

.call-window{
  position: relative;
}

.call-minimize{
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.call-minimize i{
  font-size: 14px;
}

.call-minimize:hover{
  background: rgba(255,255,255,0.10);
}

.call-mini{
  left: auto;
  top: auto;
  right: 16px;
  bottom: 90px;
  touch-action: none;
  user-select: none;
}

#callVolume{
  touch-action: none;
}