:root {
  --signin-navy: #102333;
  --signin-cream: #f7edd2;
  --signin-gold: #c9a65a;
  --signin-line: rgba(16, 35, 51, .18);
  --signin-muted: #5d6b72;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: rgba(16, 35, 51, .92);
}

.sign-in-preview {
  width: min(430px, 100%);
  min-height: 100dvh;
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 16px;
}

.llb-signin-layer {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 14px;
  background: rgba(16, 35, 51, .46);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.llb-signin-layer.open {
  display: flex;
}

.llb-signin-dialog {
  width: min(342px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  max-height: calc(100dvh - 28px);
  border: 1px solid rgba(201, 166, 90, .76);
  border-radius: 10px;
  background: #fff8e8;
  color: var(--signin-navy);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
  padding: 13px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.llb-signin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}

.llb-signin-title {
  margin: 0;
  font-size: 19px;
  line-height: 1.1;
  color: var(--signin-navy);
}

.llb-signin-close {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(16, 35, 51, .22);
  border-radius: 50%;
  background: #fff;
  color: var(--signin-navy);
  font-size: 17px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}

.llb-signin-form {
  display: grid;
  gap: 8px;
}

.llb-signin-label {
  font-size: 12px;
  font-weight: 900;
  color: var(--signin-navy);
}

.llb-signin-input,
.llb-signin-password input {
  width: 100%;
  border: 1px solid rgba(201, 166, 90, .92);
  border-radius: 8px;
  background: #fff;
  color: var(--signin-navy);
  font-size: 15px;
  line-height: 1.2;
  padding: 9px 10px;
}

.llb-signin-password {
  position: relative;
}

.llb-signin-password input {
  padding-right: 42px;
}

.llb-signin-eye {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 31px;
  height: 31px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--signin-navy);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.llb-signin-eye svg {
  width: 20px;
  height: 20px;
  display: block;
}

.llb-signin-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}

.llb-signin-submit {
  border: 1px solid var(--signin-gold);
  border-radius: 8px;
  background: var(--signin-gold);
  color: var(--signin-navy);
  font-weight: 900;
  font-size: 13px;
  padding: 8px 14px;
  cursor: pointer;
}

.llb-signin-forgot {
  border: 0;
  background: transparent;
  color: var(--signin-navy);
  font-size: 12px;
  font-weight: 900;
  text-decoration: underline;
  padding: 8px 4px;
  cursor: pointer;
}

.llb-signin-status {
  min-height: 17px;
  margin: 0;
  color: var(--signin-muted);
  font-size: 12px;
  line-height: 1.35;
}

.llb-signin-status.error {
  color: #8a241d;
}

.llb-signin-status.success {
  color: #17623f;
}

.llb-signin-layer[data-standalone="true"] {
  position: static;
  display: flex;
  min-height: 100dvh;
  background: transparent;
}
