/* Layout and font */
body {
  font-family: Arial, sans-serif;
  background-color: #92f09c;
  padding: 20px;
  color: #333;
}
/* Form styling */
form {
  background-color: #fff;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
form input[type="text"],
form input[type="number"],
form input[type="submit"] {
  padding: 8px;
  margin-right: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
/* Make submit button stand out */
form input[type="submit"] {
  background-color: #007BFF;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
form input[type="submit"]:hover {
  background-color: #0056b3;
}

/* Table layout */
table {
  width: 100%;
  border-collapse: collapse;
  background-color: lightcyan;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
th, td {
  padding: 12px 10px;
  border: 1px solid #ddd;
  text-align: center;
}

/* Table header row */
thead {
  background-color: #007BFF;
  color: white;
}
/* Alternate row coloring */
tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Button style */
button {
  padding: 6px 10px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
button:hover {
  background-color: #1e7e34;
}


.delete-btn {
  background-color: #dc3545;
}

.delete-btn:hover {
  background-color: #c82333;
}
footer {
  margin-top: 30px;
  padding: 10px 15px;
  background: linear-gradient(to right, lightcoral, #00c6ff);
  color: white;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  font-family: 'Courier New', Courier, monospace;
  max-width: 100%;
}
footer a {
  color: white;
  text-decoration: underline;
}
.blood-emoji {
  display: inline-block;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}
