/* Shared public header and footer. Keep these rules scoped to public chrome. */
.navbar.navbar-ra.navbar-white.guest-public-header {
  height: 80px;
  min-height: 80px;
  padding: 0 24px !important;
  background: #fff !important;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(15, 23, 42, .04);
}
.guest-public-header > .container-xxl {
  max-width: 1200px;
  padding: 0;
}
.guest-public-header .navbar-brand { min-width: 0; }
.guest-header-emblem-frame,
.guest-footer-emblem-frame {
  display: inline-flex;
  width: 44px;
  height: 36px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.guest-public-header .navbar-brand img.guest-header-emblem,
.guest-footer-brand-link img.guest-footer-emblem {
  width: 44px;
  height: auto;
  max-height: none;
  flex-shrink: 0;
}
.navbar.guest-public-header .navbar-brand img.guest-header-logo {
  display: block;
  width: 156px !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 62px !important;
  object-fit: contain;
}
.navbar.guest-public-header .btn-employee-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid #d4dce7;
  border-radius: 8px;
  color: #1e293b;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.navbar.guest-public-header .btn-employee-login:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}
.guest-footer-shell {
  margin-top: 32px;
  padding: 0 24px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  color: #475569;
  text-align: left;
}
.guest-footer-card { max-width: 1200px; margin: 0 auto; padding: 28px 0 18px; }
.guest-footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 32px;
}
.guest-footer-col { min-width: 0; }
.guest-footer-brand-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.guest-footer-brand-link .guest-footer-logo { width: 128px; height: auto; max-height: 52px; object-fit: contain; }
.guest-footer-wordmark { color: #1e293b; font-size: 22px; font-weight: 600; }
.guest-footer-tagline, .guest-footer-copy { font-size: 12px; line-height: 1.7; color: #64748b; }
.guest-footer-brand-rule { display: none; }
.guest-footer-links-col { display: flex; flex-wrap: wrap; gap: 12px 20px; padding-top: 12px; }
.guest-footer-link, .guest-footer-contact-row { color: #475569; font-size: 13px; font-weight: 500; text-decoration: none; }
.guest-footer-link:hover, .guest-footer-contact-row:hover { color: #1d4ed8; text-decoration: underline; }
.guest-footer-contact-col { display: flex; flex-direction: column; gap: 10px; padding-top: 12px; }
.guest-footer-contact-row { display: flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.guest-footer-icon { display: inline-flex; align-items: center; justify-content: center; width: 16px; flex: 0 0 16px; color: #64748b; }
/* Override legacy footer SVG margins, including their mobile overrides. */
.guest-footer-shell .guest-footer-icon svg,
.guest-footer-shell .guest-footer-icon i,
.guest-footer-shell .guest-footer-social svg,
.guest-footer-shell .guest-footer-social i {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0;
  font-size: 16px;
  flex-shrink: 0;
}
.guest-footer-social { display: flex; gap: 8px; }
.guest-footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; color: #64748b; border-radius: 6px; text-decoration: none; }
.guest-footer-social a:hover { color: #1d4ed8; background: #e2e8f0; }
.guest-footer-social svg, .guest-footer-social i { width: 16px; height: 16px; }
.guest-footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; padding-top: 14px; border-top: 1px solid #e2e8f0; font-size: 12px; color: #64748b; }
.guest-footer-country { display: inline-flex; align-items: center; gap: 8px; }
.guest-footer-legal a { color: #475569; text-underline-offset: 3px; }
.guest-public-header a:focus-visible, .guest-footer-shell a:focus-visible { outline: 2px solid #2563eb; outline-offset: 4px; }
@media (max-width: 767.98px) {
  .guest-footer-main { grid-template-columns: 1fr 1fr; gap: 20px; }
  .guest-footer-brand-col { grid-column: 1 / -1; }
  .guest-footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 575.98px) {
  .navbar.navbar-ra.navbar-white.guest-public-header { padding: 0 16px !important; }
  .navbar.guest-public-header .navbar-brand img.guest-header-logo { width: 112px !important; }
  .guest-header-emblem-frame { width: 32px; height: 28px; }
  .guest-public-header .navbar-brand img.guest-header-emblem { width: 32px; }
  .navbar.guest-public-header .btn-employee-login { padding: 8px 10px; font-size: 12px; gap: 4px; }
  .guest-footer-shell { padding: 0 20px; }
  .guest-footer-main { grid-template-columns: 1fr; gap: 16px; }
}
