    * {
      box-sizing: border-box;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    }

    body {
      margin: 0;
      padding: 16px;
      background: #f3f4f6;
      color: #111827;
    }

    .container {
      max-width: 1500px;
      margin: 0 auto;
      background: #ffffff;
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    h1 {
      font-size: 1.4rem;
      margin-bottom: 4px;
    }

    h3 {
      margin-bottom: 4px;
    }

    h3 + p {
      margin-top: 0;
    }

    .small {
      font-size: 0.8rem;
      color: #6b7280;
    }

    label {
      font-size: 0.9rem;
    }

    textarea {
      width: 100%;
      min-height: 170px;
      padding: 8px;
      border-radius: 8px;
      border: 1px solid #d1d5db;
      resize: vertical;
      font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      font-size: 0.85rem;
      background: #f9fafb;
      white-space: pre-wrap;
    }

    textarea:focus {
      outline: none;
      border-color: #2563eb;
      box-shadow: 0 0 0 1px #2563eb33;
      background: #ffffff;
    }

    .row {
      display: flex;
      flex-direction: column;
      gap: 4px;
      margin-bottom: 12px;
    }

   .controls {
     display: flex;
     flex-wrap: wrap;
     gap: 8px;
     align-items: center;
     justify-content: space-between;
     margin: 15px 0;
   }

    .antibiotic-actions {
      margin-top: 20px;
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }

    button:active {
      transform: translateY(0);
      box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    }

      button.primary-btn {
        padding: 8px 16px;
        border-radius: 999px;
        border: none;
        cursor: pointer;
        font-weight: 600;
        font-size: 0.9rem;
        background: #68cc73;
        color: #ffffff;
      box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
      transition: transform 0.08s ease, box-shadow 0.08s ease, background 0.08s ease;
    }

    button.primary-btn:hover {
        background: #73d17e;
        transform: translateY(-1px);
        box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
      }

    #output {
      background: #FFF;
      color: #000;
      min-height: 150px;
      white-space: pre;
    }

   .antibiotic-filters {
       display: flex;
       flex-wrap: wrap;
       gap: 6px;
       margin-bottom: 10px;
   }
   
   .antibiotic-btn {
       border: 1px solid #ccc;
       border-radius: 16px;
       padding: 4px 10px;
       font-size: 0.85rem;
       background-color: #f5f5f5;
       cursor: pointer;
       color: #000 !important;
       transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
   }

   .antibiotic-btn:hover {
       background-color: #e8e8e8;
   }
   
    .antibiotic-btn.selected {
       background-color: #1976d2;
       border-color: #1976d2;
       color: #fff !important;
    }

    .antibiotic-btn:hover {
      background-color: #218af4;
      border-color: #218af4;
      color: #fff !important;
    }

     .secondary-btn {
       padding: 6px 12px;
       border-radius: 10px;
       border: 1px solid #d1d5db;
       background: #ffffff;
       color: #111827;
       cursor: pointer;
       font-size: 0.85rem;
       transition: background-color 0.12s ease, border-color 0.12s ease;
     }

     .secondary-btn:hover {
       background: #f3f4f6;
       border-color: #9ca3af;
     }

     .copy-button {
      margin-top: 10px;
      padding: 8px 14px;
      background: #007bff;
      color: white;
      border: none;
      border-radius: 6px;
      cursor: pointer;
      font-size: 14px;
      }

    .copy-button:hover {
      background: #005fcc;
     }

     .toast {
  visibility: hidden;
  min-width: 140px;
  background-color: #6fc07b;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 10px 16px;
  position: fixed;
  z-index: 1000;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.toast.show {
  visibility: visible;
  opacity: 1;
}

.citation {
  position: relative;
  bottom: 0;
  margin-top: 40px;
  text-align: center;
  font-style: italic;
  color: #555;
}
