/* The header of every patient page (resources/views/patient/partials/header.blade.php).
   Self-contained: it is loaded beside booking.css on the clinic's own pages and beside the
   vendor's stylesheet on the vendor's pages, and must look the same in both. */
.site-header.kr-frame { background: #FFFFFF; border-bottom: 1px solid #E3E6EA; font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; font-size: 15px; line-height: 1.5; }
.kr-frame .in { max-width: 1120px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
.kr-frame .ph-logo { display: block; flex: none; }
.kr-frame .ph-logo img { height: 36px; width: auto; max-width: 100%; display: block; }
.kr-frame .ph-nav { display: flex; gap: 4px; flex: 1; justify-content: center; min-width: 0; }
.kr-frame .ph-nav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; color: #374151; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.kr-frame .ph-nav a:hover { background: #F3F4F6; color: #1F2937; }
.kr-frame .ph-nav a[aria-current="page"] { background: #FBF2F2; color: #880F0F; }
.kr-frame .ph-out { margin: 0; display: flex; align-items: center; gap: 4px; }
.kr-frame .ph-signout { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: #880F0F; font: inherit; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; cursor: pointer; }
.kr-frame .ph-signout:hover { background: #FBF2F2; }
.kr-frame a:focus-visible, .kr-frame button:focus-visible { outline: 2px solid #880F0F; outline-offset: 2px; }

@media (max-width: 900px) {
  /* the menu takes its own row and scrolls sideways; the page itself never does */
  .kr-frame .ph-nav { order: 3; flex: 0 0 100%; justify-content: flex-start; overflow-x: auto; margin: 0 -16px; padding: 0 16px 2px; scrollbar-width: none; }
  .kr-frame .ph-nav::-webkit-scrollbar { display: none; }
  .kr-frame .ph-nav a, .kr-frame .ph-signout { min-height: 44px; }
}
