* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

h1 {
  text-align: center;
  margin-bottom: 30px;
  color: #2c3e50;
}

h2 {
  color: #3498db;
  margin-bottom: 15px;
}

.auth-container {
  max-width: 400px;
  margin: 0 auto;
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #2980b9;
}

button:disabled {
  background-color: #95a5a6;
  cursor: not-allowed;
}

.main-container {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 20px;
}

.hidden {
  display: none !important;
}

.users-container {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#onlineUsers {
  list-style: none;
}

#onlineUsers li {
  padding: 10px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background-color 0.2s;
}

#onlineUsers li:hover {
  background-color: #f8f9fa;
}

#onlineUsers li.active {
  background-color: #e3f2fd;
  font-weight: bold;
}

.call-container {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.video-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.video-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background-color: #000;
  aspect-ratio: 16/9;
}

.video-wrapper p {
  position: absolute;
  bottom: 10px;
  left: 10px;
  color: white;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
}

video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #444;
}

.call-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

#endCallBtn {
  background-color: #e74c3c;
}

#endCallBtn:hover {
  background-color: #c0392b;
}

.call-status {
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
  color: #3498db;
}

@media (max-width: 768px) {
  .main-container {
    grid-template-columns: 1fr;
  }
  
  .video-container {
    grid-template-columns: 1fr;
  }
} 