/* Main page styles */

* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background: #f5f5f5;
}

h1 {
  color: #333;
}

.test-section {
  background: white;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.player-wrapper {
  margin: 20px 0;
}

.player-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
}

.player-container > div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.controls {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

button {
  padding: 10px 20px;
  background: #00adef;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

button:hover {
  background: #0088cc;
}

button:active {
  transform: scale(0.98);
}

.status {
  margin-top: 15px;
  padding: 10px;
  background: #f0f0f0;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  white-space: pre-wrap;
}

.info {
  background: #e3f2fd;
  padding: 15px;
  border-left: 4px solid #2196f3;
  margin-bottom: 20px;
  border-radius: 4px;
}

.info ul {
  margin: 10px 0 0 0;
  padding-left: 20px;
}

.error {
  background: #ffebee;
  padding: 15px;
  border-left: 4px solid #f44336;
  margin-bottom: 20px;
  border-radius: 4px;
  display: none;
}