html,
body {
  width: 100%;
  overflow-x: hidden;
}

img,
picture {
  max-width: 100%;
  height: auto;
}

.site-header {
  position: fixed;
  top: 0;
  z-index: 20;
}

.header-container {
  position: relative;
}

.main-nav,
.header-actions {
  display: none;
}

.mobile-menu-toggle {
  display: block;
  position: absolute;
  opacity: 0;
  pointer-events: auto;
}

.mobile-menu-button {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 11px;
  background: #ffffff;
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  background: #111111;
  border-radius: 999px;
}

.mobile-menu{
  position: absolute;
  right: 16px;
  top: calc(100% + 10px);
  width: min(320px, 90vw);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(15, 15, 15, 0.15);
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.mobile-menu__actions {
  display: grid;
  gap: 10px;
}

.mobile-menu-toggle:checked ~ .mobile-menu {
  display: flex;
}

body.page-login {
  --header-offset: 80px;
}

body.page-login .section-padding {
  padding: 56px 0;
}

body.page-login .auth-wrapper {
  max-width: 100%;
  padding: 0 16px;
}

body.page-login .role-card {
  padding: 20px;
}

body.page-login .auth-card {
  padding: 0;
  margin-bottom: 18px;
}

body.page-login .auth-card h1 {
  font-size: 1.5rem;
}

body.page-login .auth-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

body.page-login .login-form {
  gap: 12px;
}

body.page-login .support-note {
  margin-top: 16px;
}

body.page-login .form-feedback:empty {
  display: none;
}

.site-footer {
  padding: 48px 0;
}

.footer-contact-inline {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  justify-content: center;
}

.footer-contact-inline > div {
  margin: 0 auto;
  align-items: center;
  text-align: center;
  width: 100%;
}

.footer-contact-title {
  justify-content: center;
}

.footer-bottom {
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-terms {
  width: 100%;
  text-align: center;
}

.footer-nav {
  gap: 12px;
  justify-content: center;
}

/* Mobile notifications panel positioning */
.notifications-panel {
  right: 16px;
  left: 16px;
  width: auto;
  max-width: calc(100% - 32px);
}

.mobile-menu-button{position:relative;z-index:40}
.mobile-menu{z-index:50}
.mobile-menu.is-open{display:flex}
.mobile-menu.is-open{display:flex;position:fixed;top:72px;right:16px;left:auto;width:min(320px,90vw);z-index:9999}
.site-header, .header-container{overflow:visible}