body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-image: url('Hospital.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding-top: 90px;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(34,34,34,0.85);
  padding: 15px 40px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.logo-text {
  color: white;
  font-size: 1.5em;
  font-weight: bold;
  margin: 0;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: white;
}

.nav-links li a:hover {
  color: #ffcc00;
}

.main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background-color: rgba(255,255,255,0.9);
  padding: 25px;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
}

.form-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

input[type="text"] {
  padding: 5px 10px;
  font-size: 1em;
  margin-bottom: 10px;
  width: 250px;
}

button {
  padding: 6px 15px;
  margin: 5px;
  border: none;
  border-radius: 5px;
  background-color: #222;
  color: white;
  cursor: pointer;
}

button:hover {
  background-color: #ffcc00;
  color: black;
}

#output table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

#output th, #output td {
  border: 1px solid #222;
  padding: 10px;
  text-align: center;
}

#output th {
  background-color: #222;
  color: white;
}

#output td {
  background-color: #f9f9f9;
}
