.app {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.app-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px;
  text-align: center;
}

.app-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.app-header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.tabs {
  display: flex;
  background: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
  padding: 0;
  margin: 0;
}

.tabs button {
  flex: 1;
  padding: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: #6c757d;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.tabs button:hover {
  background: #e9ecef;
  color: #495057;
}

.tabs button.active {
  color: #667eea;
  background: white;
  border-bottom-color: #667eea;
}

.content {
  padding: 40px;
}

.chart-section {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chart-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #212529;
}

.chart-section p {
  color: #6c757d;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.chart-container {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.code-block {
  background: #282c34;
  border-radius: 8px;
  padding: 20px;
  overflow-x: auto;
}

.code-block pre {
  color: #abb2bf;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.button-group {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.update-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.update-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.update-button:active {
  transform: translateY(0);
}

/* Chartist overrides */
.ct-chart {
  background: white;
  border-radius: 8px;
}

.ct-major-twelfth {
  height: 400px;
}

/* Responsive */
@media (max-width: 768px) {
  .app-header h1 {
    font-size: 1.8rem;
  }

  .tabs {
    flex-direction: column;
  }

  .tabs button {
    border-bottom: 1px solid #e9ecef;
    border-right: none;
  }

  .tabs button.active {
    border-bottom-color: #667eea;
    border-left: 3px solid #667eea;
  }

  .content {
    padding: 20px;
  }

  .chart-container {
    padding: 15px;
  }
}

