/**
 * grid.css
 *
 * This file defines the responsive grid layout for the monitoring tool interface.
 * It sets up a two-column layout for larger screens, with the form on the left 
 * and results sidebar on the right, and adjusts to a single column on smaller screens.
 */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.welcome-title {
  text-align: center;
  color: var(--text-color);
  font-size: 2rem;
  margin-bottom: 3rem;
}

.condition-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  align-items: start;
  position: relative;
}

.form-container {
  min-width: 0; /* Prevent grid item overflow */
}

@media (max-width: 1024px) {
  .condition-layout {
    grid-template-columns: 1fr;
  }

  .results-sidebar {
    position: static;
    margin-top: 2rem;
  }
}
