    /* body {
      font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(to bottom, #fdf6f0, #f7e9f0);
      margin: 0;
    } */
    .astro-container {
      position: absolute;
      top: 150px;
      left: 60px;
      display: flex;
      flex-direction: column;
      gap: 15px;
      align-items: flex-start;
      z-index: 2000;
    }

    .astro-card {
      background: #ffffff;
      border: 2px solid #e3d0f7;
      border-radius: 20px;
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
      width: 350px;
      padding: 20px;
      text-align: center;
      display: none;
    }
    .astro-card.show { display: block; }
    .astro-card h1 {
      font-size: 20px;
      color: #6b3fa0;
      margin-bottom: 15px;
    }
    .input-group { margin-bottom: 15px; }
    input[type="number"] {
      width: 100%;
      padding: 8px;
      border-radius: 8px;
      border: 1px solid #c7b8f3;
      outline: none;
      font-size: 14px;
      box-sizing: border-box;
    }
    .time-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
    }
    button {
      background:linear-gradient(90deg, #ffb74d 0%, #ff9800 100%);
      color: white;
      padding: 10px;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      font-size: 15px;
      width: 100%;
      transition: background 0.3s ease;
      margin-top: 8px;
    }
    button:hover { background:linear-gradient(90deg, #ffb74d 0%, #ff9800 100%); }
    .toggle-btn {
      background: linear-gradient(90deg, #ffb74d 0%, #ff9800 100%);
      color: #ffffff;
      font-weight: bold;
      width: auto;
      padding: 8px 18px;
      border-radius: 10px;
    }
    .result-box {
      margin-top: 15px;
      padding: 12px;
      background: #f8f0ff;
      border: 1px solid #d6c6f5;
      border-radius: 10px;
      text-align: left;
      display: none;
    }
    .result-box h2 {
      margin: 0 0 8px;
      font-size: 16px;
      color: #6b3fa0;
    }
#buttonrow .toggle-btn {
  padding: 10px 16px;
  border: none;                 /* 🔹 remove box border */
  border-radius: 20px;          /* 🔹 pill shape */
                 /* 🔹 text contrast */
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s ease;
}

#buttonrow {
  display: flex;
  gap: 10px;
  justify-content: center;   /* 🔹 center horizontally */
  align-items: center;       /* 🔹 center vertically (if multi-line) */
  flex-wrap: wrap;           /* allow wrapping if needed */
}

/* 📱 Mobile view */
@media (max-width: 600px) {
  #buttonrow {
    flex-direction: column;     
    align-items: stretch;       
    margin-left: 0;
    width: 100%;
  }

  #buttonrow .toggle-btn {
    width: 100%;                /* 🔹 full width, but still button look */
  }
}


@media (max-width: 600px) {
  .astro-container {
    position: static;        /* 🔹 let it flow naturally */
    top: auto;
    left: auto;
    width: 100%;
    padding: 10px;
    align-items: center;     /* 🔹 center the cards */
  }

  .astro-card {
    width: 100%;             /* 🔹 full width on mobile */
    max-width: 420px;        /* 🔹 prevent overly wide */
    padding: 15px;
    text-align: left;        /* 🔹 better readability */
  }
}
