:root {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  }
  
  body {
    margin: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* helps ensure buttons stay visible */
  }
  
  #container {
    padding: 12px 16px;
    border-bottom: 1px solid #ddd;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }
  
  #gameLabel {
    font-weight: 700;
  }
  
  #inputNumber {
    width: 140px;
    padding: 6px 8px;
    font-size: 1rem;
  }
  
  #startGameButton {
    padding: 7px 12px;
    font-size: 1rem;
    cursor: pointer;
  }
  
  #errorMessage {
    margin: 0;
    color: #b00020;
    min-width: 240px;
  }
  
  #wrongOrderMessage {
    margin: 0;
    min-width: 240px;
    font-weight: 700;
  }
  
  #randomButtonsContainer {
    flex: 1;
    position: relative;
    overflow: hidden;
    padding: 16px;
  
    /* initial “in a row” layout */
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-content: flex-start;
  }
  
  .randomBtn {
    width: 10em;
    height: 5em;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.15);
    cursor: pointer;
  }
  
  /* used chatGPT to help with grayed out numbers on the buttons when disabled */
  
  /* prevents the greyed-out disabled look */
.randomBtn:disabled {
    opacity: 1;
    color: inherit;
  }
  
  /* better approach: block clicks without disabling */
  .noClick {
    pointer-events: none;
  }
  