/* Custom styles to complement Bootstrap */

:root {
  --font-primary: 'Roboto', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-weight: 600;
}

.card {
  border-radius: 0.5rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.chart-container {
  position: relative;
  height: 280px;
  width: 100%;
}

#results-chart {
  width: 100%;
  height: 100%;
}

/* Form styling */
.form-control:focus, .btn:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.input-group-text {
  font-weight: 500;
}

/* Responsive adjustments for small screens */
@media (max-width: 767.98px) {
  .chart-container {
    height: 240px;
  }
  
  footer {
    text-align: center;
  }
  
  footer .nav {
    justify-content: center;
  }
}

/* Empty state styling */
#empty-state {
  color: var(--bs-gray-600);
}

/* Ensuring footer stays at the bottom */
main {
  flex: 1 0 auto;
}

footer {
  flex-shrink: 0;
}