/* Sign-in pages: matched to app.undermywatch.com.au/login (the USE platform's sign-in). */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 400 16px/24px Barlow, sans-serif; color: #09090B; background: #fff; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }

.lp { position: relative; min-height: 100dvh; overflow: hidden; background: linear-gradient(84deg, #FFEEF0 0%, #EDEDED 100%);
  display: flex; flex-direction: column; align-items: center; }

/* the two big outline marks behind the card */
.deco { position: absolute; width: 340px; height: 340px; pointer-events: none; }
.deco img { width: 100%; height: 100%; display: block; }
.d1 { top: 38px; right: 51px; transform: rotate(45deg); }
.d2 { bottom: 77px; left: 51px; transform: rotate(235deg); }

.lwrap { position: relative; z-index: 1; width: 100%; max-width: 750px; margin: 38px auto 0; padding: 48px 160px 80px; }
.lcard { background: #fff; border: 1px solid #D2CDCE; border-radius: 8px; padding: 48px; width: 430px; max-width: 100%; margin: 0 auto; }
.lcard form, #dead { display: flex; flex-direction: column; gap: 32px; }

.lhead { display: flex; flex-direction: column; align-items: center; gap: 32px; text-align: center; }
.ltile { width: 135px; height: 135px; border-radius: 8px; display: block; }
.ltitles { display: flex; flex-direction: column; gap: 16px; }
.lh { margin: 0; font: 600 20px/30px 'DM Sans', sans-serif; color: #09090B; }
.ls { margin: 0; font: 500 14px/21px Barlow, sans-serif; color: #09090B; }

.lfields { display: flex; flex-direction: column; gap: 16px; margin: 0 13.5px; }
.lf { position: relative; height: 40px; }
.lf input { width: 100%; height: 40px; border: 1px solid #D2CDCE; border-radius: 4px; padding: 0 12px 0 40px; background: transparent;
  font: 400 14px/20px Barlow, sans-serif; color: #09090B; outline: none; transition: border-color .15s, box-shadow .15s; }
.lf input[type=password], .lf input[data-shown] { padding-right: 40px; }
.lf input::placeholder { color: #726869; opacity: 1; }
.lf input:focus { border-color: #AF2B36; box-shadow: 0 0 0 1px #AF2B36; }
.li { position: absolute; left: 12px; top: 10px; width: 20px; height: 20px; fill: #5D5456; pointer-events: none; }
.leye { position: absolute; right: 2px; top: 2px; width: 36px; height: 36px; border: 1px solid transparent; border-radius: 6px; background: transparent;
  display: grid; place-items: center; cursor: pointer; padding: 0; color: #393435; }
.leye svg { width: 16px; height: 16px; fill: currentColor; }
.leye:hover { background: #F4F2F2; }
.leye:focus-visible { outline: 2px solid #AF2B36; outline-offset: 0; }

.lbtn { height: 36px; width: 100%; border: 1px solid transparent; border-radius: 6px; padding: 0 14px; background: #AF2B36; color: #fff;
  font: 500 14px/20px Barlow, sans-serif; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.lbtn:hover:not(:disabled) { background: #9A2530; }
.lbtn:focus-visible { outline: 2px solid #AF2B36; outline-offset: 2px; }
.lbtn:disabled { opacity: .5; cursor: not-allowed; }

.lerr { font-size: 14px; line-height: 20px; color: #AF2B36; }
.lhint { margin: 0; font-size: 13px; line-height: 18px; color: #726869; }
.lfoot { margin: 0; font-size: 13px; text-align: center; color: #726869; }
.lfoot a { color: #393435; }

.lcopy { position: absolute; left: 24px; bottom: 24px; margin: 0; font-size: 14px; line-height: 21px; color: #726869; z-index: 1; }

.adminbtn { position: absolute; right: 24px; bottom: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px;
  border: 1px solid #D2CDCE; border-radius: 6px; background: #fff; color: #726869; font: 500 13px Barlow, sans-serif; text-decoration: none; }
.adminbtn svg { fill: currentColor; }
.adminbtn:hover, .adminbtn:focus-visible { color: #AF2B36; border-color: #AF2B36; outline: none; }

/* narrower screens: the card fills the width, the marks get smaller */
@media (max-width: 760px) {
  .lwrap { padding: 24px 16px 96px; margin-top: 24px; }
  .lcard { padding: 40px 24px; }
  .lfields { margin: 0; }
  .deco { width: 220px; height: 220px; }
  .d1 { top: 10px; right: -40px; }
  .d2 { bottom: 60px; left: -50px; }
  .lcopy { left: 16px; right: 120px; bottom: 20px; font-size: 12.5px; line-height: 17px; }
  .adminbtn { right: 16px; bottom: 18px; }
}
@media (max-height: 640px) and (min-width: 761px) { .lwrap { margin-top: 0; padding-top: 24px; } }
