/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif;
}

/* BODY */
body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg,#05070d,#0b132b);
  color: #fff;
  position: relative;
}

/* BRAND / LOGO */
.brand {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}
.logo {
  font-size: 1.6rem;
  font-weight: 600;
  color: #4da3ff;
}

/* MEETING CONTAINER */
.meeting-container {
  display: flex;
  width: 90%;
  max-width: 1200px;
  height: 80vh;
  border-radius: 16px;
  background: rgba(10,15,30,0.9);
  overflow: hidden;
  position: relative;
}

/* MAIN VIDEO */
.main-video {
  flex: 3;
  background: #0f172a;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.video-box {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: #1e2a44;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 500;
  color: #4da3ff;
}

/* SIDEBAR */
.sidebar {
  flex: 1;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 10px;
  overflow-y: auto;
}

.participant {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #1e2a44;
  border-radius: 8px;
  padding: 8px;
}

.participant img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.name {
  flex: 1;
  font-weight: 500;
}

.mic {
  font-size: 0.9rem;
}

/* CONTROLS */
.controls {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
}

.controls button {
  background: linear-gradient(135deg,#2563eb,#4da3ff);
  border: none;
  padding: 12px 16px;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.controls button:hover {
  transform: scale(1.1);
}

.controls .leave {
  background: linear-gradient(135deg,#ff4d4d,#ff1a1a);
}

/* RESPONSIVE */
@media(max-width: 900px) {
  .meeting-container {
    flex-direction: column;
    height: auto;
  }
  .sidebar {
    flex-direction: row;
    overflow-x: auto;
    padding: 5px;
  }
  .participant {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }
  .main-video {
    height: 50vh;
  }
}
