/* Widget Test Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

main {
  background: transparent !important;
  min-height: 100vh;
  padding: 20px;
  color: var(--text-primary);
}

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

.widget-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 20px;
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid var(--terminal-border);
}

.widget-header h1 {
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--cyber-green) 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: 20px;
  opacity: 0.9;
  color: var(--text-secondary);
}

.controls {
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 30px;
  border: 1px solid var(--terminal-border);
}

.control-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(13, 17, 23, 0.5);
  border-radius: 12px;
  align-items: start;
  border: 1px solid var(--terminal-border);
}

.control-section:last-child {
  margin-bottom: 0;
}

.control-section-header {
  grid-column: 1 / -1;
  font-size: 24px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 12px;
}

.control-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.control-buttons .widget-btn {
  width: 100%;
  text-align: center;
}

.widget-description {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.95;
}

.widget-description h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #fff;
  font-weight: 600;
}

.widget-description ul {
  margin: 10px 0;
  padding-left: 20px;
  list-style-type: disc;
}

.widget-description li {
  margin-bottom: 6px;
}

.widget-description code {
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 12px;
  font-family: monospace;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .control-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .control-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }
}