*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body{
  background-image: url(images/background.png);
  background-size: cover;
  background-repeat: no-repeat;
  /*height: 350px;*/
  background-position:left;
}


.banner-hospital {
  width: 100%;
  height: 150px;
  background: linear-gradient(to right, #fe3737, #ff9a9a);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
 
}

.banner-hospital i {
  font-size: 38px;
  margin-bottom: 8px;
}

.banner-hospital h1 {
  font-size: 30px;
  margin-bottom: 6px;
}

.banner-hospital p {
  font-size: 16px;
}


.container-page{
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

/* Card */
.card{
  background: #fff;
  border-radius: 30px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.card-header{
  text-align: center;
}

.card-header .icon{
  font-size: 42px;
  color: #fe3737;
}

.card-header h1{
  font-size: 26px;
  margin-top: 10px;
}

.card-header p{
  font-size: 14px;
  color: #666;
}

/* Form */
.row{
  display: flex;
  gap: 18px;
  margin-bottom: 15px;
}

.container{
  width: 100%;
  display: flex;
  flex-direction: column;
}

.container label{
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.input-icon{
  position: relative;
  width: 100%;
}

.input-icon i{
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #fe3737;
  font-size: 14px;
  pointer-events: none;
}

.input-icon input,
.input-icon select{
  width: 100%;
  padding: 10px 10px 10px 40px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 14px;
  transition: 0.3s;
}

.input-icon input:focus,
.input-icon select:focus{
  outline: none;
  border-color: #fe3737;
  box-shadow: 0 0 0 2px rgba(254,55,55,0.15);
}

/* Button */
.btn{
  display: flex;
  justify-content: center;
}

.btn-submit{
  padding: 12px 40px;
  border-radius: 10px;
  border: none;
  background: #fe3737;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.btn-submit:hover{
  background: #e62e2e;
  transform: translateY(-1px);
}

.table-card{
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.25);
  margin-bottom: 40px;
  
}

.table-card h2{
  text-align: center;
  margin-bottom: 20px;
  color: #fe3737;
  font-size: 24px;
  font-weight: bold;
}

.hospital-list {
  width: 100%;
  margin: 40px 0;
}

.hospital-list h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #fe3737;
  font-size: 26px;
  font-weight: bold;
}

.hospital-list table {
  width: 100%;         
  border-collapse: collapse;
}

.hospital-list th,
.hospital-list td {
  border: 1px solid #ddd;
  padding: 18px;        
  text-align: center;
  font-size: 16px;
 
}

.hospital-list th {
  background-color: #fe3737;
  color: #fff;
  font-weight: 600;
}


.hospital-list tr:hover {
  background-color: #ffeaea;
}

.edit-btn {
  background-color: #007bff;
  color: white;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.edit-btn:hover {
  background-color: #0056b3;
}

.delete-btn {* {
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f5f5f5;
  padding: 30px;
}

.container {
  max-width: 500px;
  margin: auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
}

header {
  background: #d32f2f;
  color: white;
  text-align: center;
  padding: 15px;
}

form {
  padding: 20px;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 9px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

input:focus {
  outline: none;
  border-color: #d32f2f;
}

.checkboxes label {
  margin-right: 15px;
  font-weight: normal;
}

.actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.btn {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn.red {
  background: #d32f2f;
  color: white;
}

.btn.gray {
  background: #e0e0e0;
  color: #333;
}
  background-color: #dc3545;
  color: white;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s;
}

.delete-btn:hover {
  background-color: #a71d2a;
}

.footer {
  background-color: #8b0000;
  color: #fff;
  text-align: center;
  padding: 20px 15px;
}

.footer h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.footer p {
  margin-bottom: 8px;
  font-size: 14px;
  opacity: 0.9;
}

.footer span {
  font-size: 13px;
  opacity: 0.8;
}