.conversationContainer {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100vh;
  background: #0a0a0a;
  color: #fff;
}

/* Video area (main content) */
.videoArea {
  position: relative;
  flex: 1;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Controls footer */
.controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 24px;
  background: #1a1a1a;
  border-top: 1px solid #2a2a2a;
}

.mediaControls {
  display: flex;
  gap: 12px;
  align-items: center;
}

.slidevSection {
  width: 100%;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.screenshareIndicator {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 10px 16px;
  background-color: rgba(59, 130, 246, 0.95);
  color: white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  z-index: 100;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.leaveBtn {
  background: #dc2626;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 200ms ease, transform 100ms ease;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
}

.leaveBtn:hover {
  background: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
}

.leaveBtn:active {
  transform: translateY(0);
}

/* Loading state */
.loadingState {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 20px;
}

.loadingState p {
  font-size: 18px;
  font-weight: 500;
  color: #a0a0a0;
  margin: 0;
}

.loadingSpinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Error state */
.errorState {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 16px;
  padding: 24px;
  text-align: center;
}

.errorIcon {
  font-size: 64px;
  margin-bottom: 8px;
}

.errorState h2 {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin: 0;
}

.errorState p {
  font-size: 16px;
  color: #a0a0a0;
  max-width: 400px;
  margin: 0;
}

/* Responsive: Tablet */
@media (max-width: 768px) {
  .videoArea {
    padding: 12px;
  }

  .controls {
    padding: 12px 16px;
    gap: 12px;
    flex-direction: column;
    min-height: auto;
  }

  .mediaControls {
    width: 100%;
    justify-content: center;
  }

  .leaveBtn {
    width: 100%;
    max-width: 300px;
  }

  .errorState h2 {
    font-size: 20px;
  }

  .errorState p {
    font-size: 14px;
  }
}

/* Responsive: Mobile */
@media (max-width: 480px) {
  .videoArea {
    padding: 8px;
  }

  .controls {
    padding: 10px 12px;
  }

  .leaveBtn {
    padding: 10px 20px;
    font-size: 15px;
  }

  .loadingState p {
    font-size: 16px;
  }

  .loadingSpinner {
    width: 40px;
    height: 40px;
  }
}
