/* General styling */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f9f5ec;  /* light natural tone */
    color: #3e3a33;            /* dark natural tone */
    width: 100%;
    height: 100%;
    overflow: auto;
  }
  
  /* App container */
  #app {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2vh;
    background-color: #f9f5ec;
  }
  
  /* Debug text for screen size */
  .small-text {
    position: fixed;
    top: 0;
    left: 0;
    font-size: 1.2vh;
    opacity: 0.6;
    padding: 0.5vh;
  }
  
  /* Input container styling */
  .input-container {
    font-size: 2.5vh;
    max-width: 90vw;
    margin-top: 5vh;
  }
  
  input, button {
    font-size: 2.5vh;
    padding: 1vh 2vh;
    margin-top: 2vh;
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
  /* Back arrow styling */
  #backArrow {
    position: fixed;
    top: 2vh;
    left: 2vw;
    font-size: 5vh;
    cursor: pointer;
    display: none;
  }
  
  /* Ingredient section styling */
  .section {
    margin: 2vh 0;
    border: 1px solid #b7a99a;
    padding: 1vh 1vw;
    border-radius: 8px;
    background-color: #ffffff;
  }
  
  .section-title {
    font-weight: bold;
    font-size: 2.5vh;
    margin-bottom: 1vh;
  }
  
  table {
    font-size: 2.2vh;
    border-collapse: collapse;
    width: 100%;
    margin-top: 1vh;
  }
  
  th, td {
    border: 1px solid #b7a99a;
    padding: 0.8vh 1vw;
  }
  
  th {
    background-color: #f0e6d2;
  }
  
  /* Tooltip styling */
  .info-tip {
    cursor: pointer;
    font-weight: bold;
    color: #6b8e23;  /* olive green */
    margin-left: 0.5vw;
  }
  
  .tooltip {
    display: none;
    margin-top: 1vh;
    font-size: 2vh;
    background: #fff7e6;
    padding: 1vh;
    border: 1px solid #aaa;
    border-radius: 6px;
  }
  
  /* Step-by-step instructions styling */
  .step {
    font-size: 3vh;
    max-width: 90vw;
    margin-top: 2vh;
    padding: 2vh;
    background-color: #ffffff;
    border: 1px solid #b7a99a;
    border-radius: 8px;
  }
  
  /* Fireworks effect styling */
  .firework-container {
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
  }
  
  .firework-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: gold;
    border-radius: 50%;
    opacity: 0;
    animation: explode 1s forwards;
  }
  
  @keyframes explode {
    0% {
      transform: translate(0, 0);
      opacity: 1;
    }
    100% {
      transform: translate(var(--offset-x), var(--offset-y));
      opacity: 0;
    }
  }
  
  /* Responsive adjustments */
  @media screen and (max-width: 600px) {
    .input-container, .step {
      font-size: 2.5vh;
    }
    input, button {
      font-size: 2vh;
    }
  }
  