
* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}


body {
  background:white;
  min-height: 100vh;
}


.banner-hospital {
  width: 100%;
  height: 160px;
  background: linear-gradient(to right, #c62828, #ff8a80);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 0 0 25px 25px;
  margin-bottom: 40px;
  color: #fff;
}

.banner-content i {
  font-size: 45px;
  margin-bottom: 10px;
}

.banner-content h1 {
  font-size: 28px;
  margin: 5px 0;
  font-weight: bold;
}

.banner-content p {
  font-size: 14px;
  opacity: 0.9;
}


.page {
  display: flex;
  justify-content: center; 
}


.request-container {
  width: 90%;
  max-width: 1100px;
  background-color: #fff;
  display: flex;
  gap: 30px;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  flex-direction: column; 
}


.form-box {
  flex: 1;
}

.form-box h2 {
  font-size: 26px;
  color: #d62828;
  margin-bottom: 25px;
}

.form-box form {
  display: flex;
  flex-direction: column;
}

.input-field,
select {
  width: 100%;
  padding: 16px 14px 16px 45px;
  font-size: 18px;
  margin-bottom: 18px;
  border: 1px solid #f1b0b0;
  border-radius: 8px;
}

.input-field::placeholder {
  font-size: 16px;
  color: #777;
}

.form-box i {
  position: relative;
  top: 38px;
  left: 14px;
  color: #d62828;
  font-size: 20px;
  pointer-events: none;
}

label {
  font-size: 16px;
  margin: 10px 0 6px;
  color: #444;
}

/* ---------- Buttons ---------- */
button {
  margin-top: 10px;
  padding: 16px;
  font-size: 18px;
  background: #d62828;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

button:hover {
  background: #b71c1c;
}
.request-container {
  display: flex;
  flex-direction: row; 
  gap: 30px;
  align-items: center;
  width: 80%;
  max-width: 900px;
  background-color:white;
  padding: 30px;
  margin: 50px auto;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}


@media (max-width: 900px) {
  .request-container {
    flex-direction: column;
    text-align: center;
  }

  .image-box {
    margin-top: 20px;
  }
}
.image-box {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-box img {
  width: 100%;
  max-width: 520px;
}


.table-data {
  width: 100%;
  border-collapse: collapse;
}

.table-data th {
  background: #c62828;
  color: #fff;
  padding: 12px;
  text-align: center;
  font-weight: bold;
}

.table-data td {
  padding: 12px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.table-data tbody tr:hover {
  background: #f9f9f9;
}

.actions {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.btn {
  padding: 6px 10px;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  color: #fff;
}

.btn.view {
  background: #607d8b;
}

.btn.edit {
  background: #1976d2;
}

.btn.delete {
  background: #d32f2f;
}

.btn:hover {
  opacity: 0.85;
}


.blood {
  background: #ffebee;
  color: #c62828;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: bold;
}

.blood.ab {
  background: #e3f2fd;
  color: #1565c0;
}

@media (max-width: 900px) {
  .request-container {
    flex-direction: column;
    text-align: center;
  }

  .image-box {
    margin-top: 20px;
  }

  .table-data th, .table-data td {
    padding: 8px;
    font-size: 14px;
  }

  .btn {
    font-size: 10px;
    padding: 5px 8px;
  }
}