@font-face {
  font-family: "Plex Arabic";
  src: url("fonts/plex-400.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Arabic";
  src: url("fonts/plex-600.woff") format("woff");
  font-weight: 600 800;
  font-display: swap;
}
* { box-sizing: border-box; }
.pack-login-body { margin: 0; background: #edf3e9; color: #183d2e; font-family: "Plex Arabic", Tahoma, sans-serif; }
.pack-login {
  min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 24px 16px;
  background: linear-gradient(115deg, rgba(17,45,31,.42), rgba(17,45,31,.22)), url("images/community-courtyard.webp") center / cover;
}
.pack-login-card {
  width: min(100%, 420px); padding: clamp(24px, 6vw, 42px); border-radius: 22px;
  background: #fffefa; box-shadow: 0 18px 70px rgba(15,40,22,.26);
}
.pack-brand { display: flex; align-items: center; gap: 9px; font-size: 23px; }
.pack-login h1 { margin: 28px 0 5px; font-size: clamp(28px, 6vw, 35px); line-height: 1.4; }
.pack-login p { margin: 0 0 24px; color: #4c6251; line-height: 1.6; }
:is(.pack-login,.guest-account) label { display: block; line-height: 1.5; font-weight: 600; margin-bottom: 8px; }
:is(.pack-login,.guest-account) input:not([type=hidden]) {
  width: 100%; min-height: 48px; margin: 0 0 16px; padding: 8px 13px; font: inherit; font-size: 16px;
  border: 1px solid #b7c4ba; background: white; color: #183d2e; border-radius: 9px;
}
:is(.pack-login,.guest-account) .pack-primary {
  appearance: none; display: block; width: 100%; border: 0; border-radius: 9px; background: #225640;
  color: white; text-decoration: none; text-align: center; font: inherit; font-size: 17px; font-weight: 600;
  line-height: 1.55; padding: 11px; cursor: pointer;
}
.pack-login .pack-secondary { display: block; margin-top: 16px; text-align: center; color: #225640; }
:is(.pack-login,.guest-account) :is(input,button,a):focus-visible { outline: 3px solid #7c5523; outline-offset: 3px; }
:is(.pack-login,.guest-account) .pack-error { padding: 10px 13px; border-radius: 8px; background: #fff0ed; color: #8a3028; }
