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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 500px;
  width: 100%;
  padding: 20px;
}

.voice-interface {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
}

h1 {
  color: #333;
  margin-bottom: 30px;
  font-weight: 600;
}

.call-controls {
  margin: 30px 0;
}

.btn-primary, .btn-secondary {
  padding: 15px 30px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  margin: 0 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

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

.btn-secondary {
  background: #e74c3c;
  color: white;
}

.btn-secondary:hover:not(:disabled) {
  background: #c0392b;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.call-status {
  margin: 30px 0;
}

.status {
  padding: 15px;
  border-radius: 10px;
  font-weight: 500;
  margin-bottom: 20px;
}

.status.connecting { background: #f39c12; color: white; }
.status.connected { background: #27ae60; color: white; }
.status.listening { background: #3498db; color: white; }
.status.agent-talking { background: #9b59b6; color: white; }
.status.ended { background: #95a5a6; color: white; }
.status.error { background: #e74c3c; color: white; }

.transcript-area {
  max-height: 200px;
  overflow-y: auto;
  text-align: left;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  border: 1px solid #e9ecef;
}

.transcript-area .user {
  color: #495057;
  margin-bottom: 8px;
}

.transcript-area .agent {
  color: #6f42c1;
  margin-bottom: 8px;
  font-weight: 500;
}

.agent-selection {
  margin-top: 20px;
}

.agent-selection label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: #333;
}

.agent-selection select {
  padding: 10px 15px;
  border-radius: 8px;
  border: 2px solid #e9ecef;
  font-size: 14px;
  width: 100%;
  background: white;
}

@media (max-width: 600px) {
  .container {
    padding: 10px;
  }
  
  .voice-interface {
    padding: 30px 20px;
  }
  
  .btn-primary, .btn-secondary {
    display: block;
    width: 100%;
    margin: 10px 0;
  }
}
