/* --- PATIENT HEADER STYLE --- */
.patient-header {
  background: rgb(0, 0, 173);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  flex-wrap: wrap;

  /* fixed top like home page */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.patient-logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.patient-logo-section img {
  height: 60px;
  width: auto;
  border: 2px solid #fff;
}

.patient-text h1 {
  font-size: 24px;
  font-weight: bold;
}

.patient-owner {
  font-size: 15px;
  color: #f0f0f0;
}

.patient-address {
  font-size: 13px;
  color: #dcdcdc;
}
/* --- FIX PARAGRAPH & LINE SPACING --- */
.patient-header .patient-text h1,
.patient-header .patient-text p {
  margin: 0;
  line-height: 1.2;
}

/* optional slight spacing between owner, title, and address */
.patient-header .patient-text .patient-owner {
  margin-bottom: 2px;
}

.patient-header .patient-text h1 {
  margin-bottom: 2px;
}
/* --- Select Schedule FIX: Preserve Header Logo Size --- */
.main-header .logo-section img {
  height: 60px !important;
  width: auto !important;
  object-fit: contain;
  border-radius: 6px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .patient-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 20px;
  }

  .patient-logo-section {
    flex-direction: column;
  }

  .patient-logo-section img {
    height: 55px;
  }

  .patient-text h1 {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .patient-text h1 {
    font-size: 18px;
  }
  .patient-owner {
    font-size: 14px;
  }
  .patient-address {
    font-size: 12px;
  }
}
