/* Plugin: Drug Interaction Checker */
/* Author: Neeltimi */

form {
  background-color: #f5f5f5;
  padding: 10px;
  border: 2px solid #ccc;
  border-radius: 10px;
  margin-bottom: 30px;
  max-width: 600px;
}

form label {
  font-weight: bold;
  font-size: 12px;
  display: block;
  margin-bottom: 10px;
}

form textarea {
  width: 100%;
  padding: 10px;
  font-size: 12px;
  border-radius: 5px;
  border: 1px solid #999;
  resize: vertical;
}

form input[type="submit"] {
  background-color: #28a745;
  color: white;
  padding: 12px 25px;
  font-size: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form input[type="submit"]:hover {
  background-color: #218838;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 12px;
}

table, th, td {
  border: 1px solid #ddd;
}

th {
  background-color: #0073aa;
  color: white;
  padding: 10px;
  text-align: left;
}

td {
  padding: 8px;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #f1f1f1;
}

button {
  background-color: #0073aa;
  color: white;
  border: none;
  padding: 10px 18px;
  font-size: 15px;
  margin-top: 15px;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: #005f8d;
}

/* ✅ Fixed: class selectors now start with . */
.table-heading {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 2px solid #ccc;
}

.section-title {
  font-size: 10px;
  font-weight: bold;
  color: #444;
  margin-bottom: 10px;
}

button.show-details {
  background-color: #28a745; /* Green */
}

button.show-details:hover {
  background-color: #218838; /* Darker green on hover */
}