.App {
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.App-header {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  color: white;
  backdrop-filter: blur(10px);
}

.App-header-minimal {
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 20px;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.call-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
}

.call-header h2 {
  margin: 0;
  font-size: 1.2rem;
  color: white;
}

.leave-button {
  background: #dc3545;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.leave-button:hover {
  background: #c82333;
  transform: translateY(-1px);
}

.video-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  overflow: hidden;
  z-index: 1000;
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.App-logo {
  height: 60px;
  pointer-events: none;
  margin-bottom: 10px;
}

.App-header h1 {
  margin: 10px 0;
  font-size: 2.5rem;
  font-weight: 700;
}

.App-header p {
  margin: 0;
  font-size: 1.2rem;
  opacity: 0.9;
}

.main-content {
  flex: 1;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.form-container {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  width: 100%;
}

.form-section {
  margin-bottom: 40px;
}

.form-section h2 {
  color: #333;
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 600;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-weight: 500;
  text-align: left;
}

.name-input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e1e5e9;
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.name-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

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

.room-card {
  border: 2px solid #e1e5e9;
  border-radius: 15px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f8f9fa;
}

.room-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.room-card.selected {
  border-color: var(--room-color);
  background: rgba(var(--room-color), 0.05);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.room-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.room-letter {
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.room-info {
  flex: 1;
  text-align: left;
}

.room-info h3 {
  margin: 0 0 5px 0;
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
}

.room-info p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.room-selector {
  flex-shrink: 0;
}

.radio-button {
  width: 20px;
  height: 20px;
  border: 2px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.radio-button.checked {
  border-color: var(--room-color);
}

.radio-inner {
  width: 10px;
  height: 10px;
  background: var(--room-color);
  border-radius: 50%;
}

.selected-room-info {
  background: #f0f7ff;
  border: 1px solid #b3d4fc;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
}

.selected-room-info h3 {
  margin: 0 0 10px 0;
  color: #1976d2;
}

.selected-room-info p {
  margin: 0;
  color: #666;
}

.join-section {
  margin-top: 30px;
}

.join-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
}

.join-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.join-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.App-footer {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 20px;
  backdrop-filter: blur(10px);
}

.App-footer p {
  margin: 0;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .App-header h1 {
    font-size: 2rem;
  }
  
  .form-container {
    margin: 20px;
    padding: 30px 20px;
  }
  
  .rooms-grid {
    grid-template-columns: 1fr;
  }
  
  .room-card {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .room-info {
    text-align: center;
  }

  .call-header {
    flex-direction: column;
    gap: 10px;
  }

  .call-header h2 {
    font-size: 1rem;
    text-align: center;
  }
}