
/* Video Call Controls */


/* ============================= */
/* 🎥 Video Call (Horizontal Layout) */
/* ============================= */



/* Chat Header Actions */
.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.call-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.call-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* Video Area */
.video-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.video-container video {
  width: 100%;
  border-radius: 10px;
  background: #000;
}


/* Video Call Close */


.video-controls {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.hangup-btn {
  background: #e63946;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease;
}

.hangup-btn:hover {
  background: #c82333;
}





/* ============================= */
/* 🎥 Video Call (Horizontal Layout) */
/* ============================= */
.video-container {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: 10px;
  width: 100%;
  max-width: 360px;
  margin: 10px auto;
  padding: 10px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.video-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 95%;
}

.video-row video {
  width: 48%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #000;
  border-radius: 8px;
  border: 2px solid #fff;
}

/* 🎯 Controls below videos */
.video-controls {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.hangup-btn {
  background: red;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 6px 16px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.hangup-btn:hover {
  background: darkred;
  transform: scale(1.05);
}

/* 📱 Responsive: smaller on phones */
@media (max-width: 480px) {
  .video-container {
    max-width: 280px;
  }

  .video-row video {
    width: 47%;
    border-radius: 6px;
  }

  .hangup-btn {
    font-size: 12px;
    padding: 5px 12px;
  }
}
