body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  background: linear-gradient(135deg, #10a37f, #0f8c6d);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.app {
  width: 900px;
  height: 600px;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

header {
  background: #10a37f;
  color: white;
  padding: 12px;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
}

.main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Video */
.video-section {
  position: relative;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.video-section video {
  width: 80%;
  border-radius: 8px;
  margin: 8px;
  background: #000;
}
.video-section button {
  background: #10a37f;
  border: none;
  color: white;
  padding: 10px 16px;
  margin-top: 6px;
  border-radius: 6px;
  cursor: pointer;
}

/* Chat */
.chat-section {
  display: flex;
  flex-direction: column;
  border-left: 1px solid #ddd;
}
.chat-box {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #f7f9fc;
}
.message {
  padding: 10px 14px;
  margin: 6px 0;
  border-radius: 10px;
  max-width: 75%;
}
.user { background: #10a37f; color: white; align-self: flex-end; }
.bot { background: #e9ecef; align-self: flex-start; }
.chat-input {
  display: flex;
  border-top: 1px solid #ddd;
}
.chat-input input {
  flex: 1;
  border: none;
  padding: 12px;
}
.chat-input input:focus { outline: none; }
.chat-input button {
  background: #10a37f;
  color: white;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
}

