/* src/components/styles.css */
.chat-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 400px;
  border: 1px solid #ddd;
  border-radius: 8px;
}
.messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
}
.message {
  margin: 8px 0;
  padding: 8px 12px;
  border-radius: 12px;
  max-width: 70%;
}
.message.sent {
  background-color: #0084ff;
  color: white;
  margin-left: auto;
}
.message.received {
  background-color: #f0f0f0;
  margin-right: auto;
}
.input-area {
  display: flex;
  padding: 16px;
  border-top: 1px solid #ddd;
}
.input-area input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 20px;
  margin-right: 8px;
}
.input-area button {
  padding: 8px 16px;
  background-color: #0084ff;
  color: white;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}
.input-area button:hover {
  background-color: #0073e6;
}
.video-call-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
.video-wrapper {
  position: relative;
  padding-top: 56.25%;
  border-radius: 8px;
  overflow: hidden;
}
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-wrapper span {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
}
.controls {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.controls button {
  padding: 12px 24px;
  border-radius: 24px;
  border: none;
  cursor: pointer;
  font-weight: 500;
}
.controls button:first-child {
  background-color: #4caf50;
  color: white;
}
.controls button:last-child {
  background-color: #f44336;
  color: white;
}
