  /* Style the button icon */
  .dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #111111;
  display: flex;
  align-items: center;
  }

  /* Hidden by default, absolute positioned to the right corner */
  .dropdown-menu {
  display: none; 
  position: absolute;
  top: 100%;               /* Places it directly below the icon button */
  right: 0;                /* Flushes it perfectly with the right edge */
  width: 200px;
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  z-index: 1000;           /* Ensures it floats above page content */
  }

  /* The state class triggered by JavaScript */
  .dropdown-menu.show {
  display: flex;
  flex-direction: column;
  }

  /* Style the menu links */
  .dropdown-menu a {
  padding: 0.75rem 1.2rem;
  color: #333333;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s ease;
  }

  .dropdown-menu a:hover {
  background-color: #f5f5f5;
  }

  /* Subtle separator line layout */
  .dropdown-menu hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 0.5rem 0;
  }

  header {
  background: transparent;
  color: black;
  padding: 1rem 2rem;       /* Reduced top/bottom padding to keep the bar slim */

  /* The Magic Alignment Code */
  display: flex;
  justify-content: space-between; /* Pushes logo to left, menu icon to right */
  align-items: center;            /* Aligns their centers vertically */
  }

  /* Ensure the dropdown wrapper stays in position */
  .dropdown-container {
  position: relative;
  display: inline-block;
  }

  h1, h2, body {
   font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  }

  :root { --primary: black; --dark: white; --light: #FFFFFF; }

  .container { max-width: 800px; margin: -2rem auto 2rem; background: #A9A9A9; padding: 2rem; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

  .container img { max-width: 100%; height: auto; }
  
  .form-group { margin-bottom: 1.5rem; }
 
  /* 
  header { background: var(--dark); color: black; padding: 4rem 2rem; text-align: center; }
  */  

  button { background: var(--primary); color: #FFFFFF; padding: 0.75rem 1.5rem; border: none; border-radius: 6px; cursor: pointer; font-size: 1rem; width: 100%; transition: 0.3s; }
  
  button:hover { background: #333333; }
  
  label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: white; }
  
  input, textarea { width: 100%; padding: 0.75rem; border: 1px solid #cbd5e1; border-radius: 6px; box-sizing: border-box; }
  
  .result {
        margin-top: 20px;
        padding: 20px;
        background: #ffffff;
        border: 1px solid #d2d2d7;
        border-radius: 12px;
        line-height: 1.6;
        white-space: pre-wrap; /* Preserves formatting and line breaks */
        color: #1d1d1f;
        font-family: "SF Pro Text", -apple-system, sans-serif;
   }
   
   .response-header {
        font-weight: 600;
        margin-bottom: 10px;
        color: black;
        display: block;
   }
