/* Base styles */
:root {
    --background: #050505;
    --foreground: #fafafa;
    --primary: #5046e5;
    --primary-hover: #4038c7;
    --secondary: #27272a;
    --secondary-hover: #3f3f46;
    --muted: #27272a;
    --muted-foreground: #a1a1aa;
    --border: #27272a;
    --radius: 0.5rem;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
      "Helvetica Neue", sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    min-height: 100vh;
  }
  
  .container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  /* Header styles */
  header {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  h1 {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .controls {
    display: flex;
    gap: 0.5rem;
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--foreground);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
  }
  
  .btn:hover {
    background-color: var(--secondary-hover);
  }
  
  .icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
  }
  
  .hidden {
    display: none;
  }
  
  /* Main content styles */
  main {
    flex: 1;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
  }
  
  #canvas-container {
    width: 100%;
    height: 60vh;
    background-color: #121212;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
  }
  
  /* Info section styles */
  .info-section {
    background-color: #121212;
    border-radius: var(--radius);
    overflow: hidden;
  }
  
  .tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: var(--muted);
    padding: 0.25rem;
    border-radius: var(--radius);
  }
  
  .tab-btn {
    background-color: transparent;
    color: var(--muted-foreground);
    border: none;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    border-radius: calc(var(--radius) - 0.25rem);
  }
  
  .tab-btn.active {
    background-color: var(--background);
    color: var(--foreground);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }
  
  .tab-content {
    padding: 1rem;
  }
  
  .tab-pane {
    display: none;
    background-color: var(--secondary);
    padding: 1rem;
    border-radius: var(--radius);
  }
  
  .tab-pane.active {
    display: block;
  }
  
  h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
  }
  
  p {
    margin-bottom: 0.75rem;
  }
  
  p:last-child {
    margin-bottom: 0;
  }
  
  ul {
    list-style-position: inside;
    margin-left: 1.25rem;
  }
  
  li {
    margin-bottom: 0.5rem;
  }
  
  a {
    color: #60a5fa;
    text-decoration: none;
  }
  
  a:hover {
    text-decoration: underline;
  }
  
  /* Footer styles */
  footer {
    padding: 1.5rem 1rem;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted-foreground);
  }
  
  /* Responsive adjustments */
  @media (max-width: 640px) {
    header {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
    }
  
    .controls {
      width: 100%;
      justify-content: space-between;
    }
  
    .tabs {
      grid-template-columns: 1fr;
    }
  }
/* Side-by-side layout for info section */
.side-by-side {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.info-box {
  flex: 1 1 30%;
  background-color: var(--secondary);
  padding: 1rem;
  border-radius: var(--radius);
}
