/* Axis Twelve Examples - Common Styles */

/* Base Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  padding: 2rem;
  background: #f5f5f5;
  color: #333;
}

h1 {
  text-align: center;
  color: #007bff;
  margin-bottom: 0.5rem;
}

.tagline {
  text-align: center;
  color: #6c757d;
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

code {
  background: #f0f0f0;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #d63384;
}

/* Section Styles */
.example-section {
  margin-bottom: 3rem;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.example-section h2 {
  margin-bottom: 1.5rem;
  color: #007bff;
  border-bottom: 2px solid #007bff;
  padding-bottom: 0.5rem;
}

.example-section h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #495057;
}

/* Demo Box Styles */
.demo-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 4px;
  text-align: center;
  font-weight: 500;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.demo-box.alt1 {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.demo-box.alt2 {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.demo-box.alt3 {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* Example Code Styles */
.example-code {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 1rem;
  border-radius: 4px;
  overflow-x: auto;
  margin: 1rem 0;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Footer Styles */
footer {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  color: #6c757d;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .example-section {
    padding: 1rem;
  }

  .example-code {
    font-size: 0.75rem;
    overflow-x: auto;
  }

  /* Make tables scrollable */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
