.auth-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 80px;
  align-items: start;
  padding-block: 75px;
}
.auth-layout form {
  margin-top: 0;
}
.auth-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  margin-top: 25px;
}
#auth-status {
  font-size: 14px;
  margin-top: 20px;
  white-space: pre-line;
}
.auth-layout .price-card {
  max-width: 520px;
  width: 100%;
}
@media (max-width: 767px) {
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-block: 36px;
  }
  .auth-layout h1 {
    font-size: 34px;
  }
  .auth-layout .intro {
    font-size: 15px;
  }
}
select {
  font: inherit;
  display: block;
  width: 100%;
  min-height: 48px;
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 18px;
}
#customer-list,
#till-list,
#staff-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
#customers-panel,
#till-panel,
#staff-panel,
#mp-panel {
  margin-top: 32px;
  max-width: 720px;
}

.payment-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-block: 28px;
}
#payment-detail {
  max-width: 560px;
  width: calc(100% - 32px);
}
#payment-info img {
  display: block;
  max-width: 100%;
  object-fit: contain;
  margin: 20px auto;
}
textarea {
  font: inherit;
  width: 100%;
  max-width: 100%;
  padding: 12px;
}
.auth-page {
  background: white;
}
.auth-shell {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 100dvh;
}
.auth-brand-panel {
  background: #102450;
  color: white;
  position: relative;
  overflow: hidden;
  padding: 40px 60px 28px;
  display: flex;
  flex-direction: column;
}
.auth-brand-panel > .brand {
  align-self: flex-start;
}
.auth-brand-content {
  margin-top: 65px;
}
.auth-brand-content > .eyebrow {
  color: #a5b9e6;
  font-size: 10px;
  margin-bottom: 20px;
}
.auth-brand-content h2 {
  font-size: clamp(35px, 3.6vw, 53px);
  line-height: 1.12;
  letter-spacing: -0.05em;
  position: relative;
  z-index: 1;
}
.auth-brand-content h2 span {
  color: #adbeff;
}
.auth-brand-content > p:not(.eyebrow):not(.auth-demo-caption) {
  font-size: 13px;
  line-height: 1.9;
  color: #aebfdf;
  margin-top: 25px;
}
.auth-product {
  height: 310px;
  position: relative;
  margin-top: 36px;
  max-width: 430px;
}
.auth-phone {
  width: 190px;
  padding: 5px;
  background: #7686a4;
  border-radius: 25px;
  position: absolute;
  left: 15px;
  top: 0;
  transform: rotate(-9deg);
  box-shadow: 0 18px 40px #050f2c66;
  z-index: 2;
}
.auth-phone img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}
.auth-phone.secondary-phone {
  width: 165px;
  top: 32px;
  left: 180px;
  transform: rotate(11deg);
  z-index: 1;
  background: #53698d;
}
.auth-demo-caption {
  font-size: 9px !important;
  color: #9aafd6;
  margin-top: 8px;
  position: relative;
  z-index: 3;
}
.auth-panel-footer {
  margin-top: auto;
  padding-top: 35px;
  color: #9aafd6;
  font-size: 10px;
  position: relative;
  z-index: 3;
}
.auth-form-panel {
  padding: 35px 65px 25px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.auth-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
}
.auth-top .text-link {
  font-size: 11px;
  min-height: 36px;
}
.auth-demo-link {
  text-decoration: none;
  font-size: 11px;
}
.auth-demo-link:hover {
  text-decoration: underline;
}
.auth-form-wrap {
  width: 100%;
  max-width: 410px;
  margin: auto;
  padding: 65px 0 45px;
}
.auth-form-wrap > .eyebrow {
  font-size: 10px;
  letter-spacing: 0.07em;
  margin-bottom: 18px;
}
.auth-form-wrap h1 {
  font-size: clamp(35px, 3.4vw, 47px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  max-width: 440px;
}
.auth-intro {
  font-size: 13px;
  color: var(--muted);
  margin-top: 17px;
  margin-bottom: 35px;
  line-height: 1.8;
}
.auth-page form {
  margin: 0;
}
.auth-page label {
  display: block;
  font-size: 11px;
  font-weight: 750;
  margin-bottom: 9px;
  color: var(--ink);
}
.auth-page input:not([type="checkbox"]) {
  display: block;
  width: 100%;
  border: 1px solid #d9e0ed;
  background: #f9fafe;
  border-radius: 7px;
  min-height: 51px;
  margin-bottom: 22px;
  padding: 12px 15px;
  color: var(--ink);
  font-size: 12px;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.auth-page input::placeholder {
  color: #8490a7;
}
.auth-page input:focus {
  outline: none;
  border-color: #5373dd;
  box-shadow: 0 0 0 3px #2449c914;
}
.auth-page input:user-invalid {
  border-color: #b44949;
}
.password-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 15px;
}
.password-label a {
  font-size: 10px;
  color: var(--blue);
  text-decoration: none;
}
.password-label a:hover {
  text-decoration: underline;
}
.password-input {
  position: relative;
}
.password-input input {
  padding-right: 76px !important;
}
.password-input button {
  position: absolute;
  right: 5px;
  top: 5px;
  min-height: 41px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 5px;
}
.password-input button:hover {
  background: #eaf0ff;
}
.password-help {
  font-size: 10px;
  color: var(--muted);
  margin-top: -12px;
  margin-bottom: 22px;
}
.auth-page #submit {
  width: 100%;
  min-height: 52px;
  font-size: 12px;
  margin-top: 3px;
}
.auth-page #auth-status {
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-line;
  margin-top: 18px;
  color: var(--ink);
  border-left: 2px solid var(--blue);
  padding: 10px 14px;
  background: #eef2fc;
}
.auth-page #auth-status:empty {
  display: none;
}
.auth-switch {
  margin-top: 27px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}
.auth-switch a {
  font-weight: 750;
  color: var(--blue);
  margin-left: 4px;
  text-decoration: none;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.auth-switch a:hover {
  text-decoration: underline;
}
.auth-environment {
  font-size: 9px;
  line-height: 1.8;
  color: #76829a;
  text-align: center;
  margin-top: 23px;
}
.auth-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  font-size: 9px;
  color: var(--muted);
}
.auth-footer nav {
  display: flex;
  gap: 20px;
}
.auth-footer nav a {
  text-decoration: none;
  padding-block: 12px;
}
.auth-footer nav a:hover {
  text-decoration: underline;
}
.auth-footer .marcdev-credit strong {
  color: var(--ink);
  font-size: 11px;
}
.auth-two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.auth-page .optional {
  font-weight: 400;
  color: var(--muted);
}
.auth-page .consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.8;
  margin-top: 5px;
}
.auth-page .consent input {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 2px 0 0;
  accent-color: var(--blue);
}
.auth-page .consent a {
  color: var(--blue);
  text-underline-offset: 3px;
}
.trial-note {
  font-size: 10px;
  color: var(--muted);
  margin: 16px 0 22px;
}
.auth-page[data-mode="signup"] .auth-form-wrap {
  padding-block: 45px 35px;
  max-width: 460px;
}
.auth-page[data-mode="signup"] .auth-intro {
  margin-bottom: 25px;
}
.auth-page[data-mode="signup"] input:not([type="checkbox"]) {
  margin-bottom: 17px;
}
.auth-page[data-mode="signup"] .auth-product {
  height: 400px;
}
.auth-page[data-mode="signup"] .auth-phone {
  width: 210px;
}
.auth-page[data-mode="signup"] .secondary-phone {
  width: 180px;
  left: 190px;
}
.auth-page[data-mode="reset"] .auth-intro {
  max-width: 350px;
}
@media (min-width: 1500px) {
  .auth-brand-panel {
    padding-inline: 80px;
  }
  .auth-brand-content {
    margin-top: 80px;
  }
  .auth-product {
    height: 390px;
  }
  .auth-phone {
    width: 215px;
  }
  .auth-phone.secondary-phone {
    width: 185px;
    left: 205px;
  }
  .auth-form-panel {
    padding-inline: 90px;
  }
}
@media (max-width: 1100px) {
  .auth-brand-panel {
    padding: 35px 35px 25px;
  }
  .auth-form-panel {
    padding: 30px 40px 22px;
  }
  .auth-brand-content {
    margin-top: 60px;
  }
  .auth-brand-content h2 {
    font-size: 40px;
  }
  .auth-phone {
    width: 160px;
    left: 0;
  }
  .auth-phone.secondary-phone {
    width: 145px;
    left: 142px;
  }
  .auth-product {
    height: 275px;
  }
  .auth-page[data-mode="signup"] .auth-phone {
    width: 180px;
  }
  .auth-page[data-mode="signup"] .secondary-phone {
    width: 150px;
    left: 150px;
  }
  .auth-footer {
    gap: 15px;
    flex-wrap: wrap;
  }
  .auth-form-wrap {
    padding-top: 50px;
  }
}
@media (max-width: 760px) {
  .auth-shell {
    grid-template-columns: 1fr;
    min-height: 100dvh;
  }
  .auth-brand-panel {
    padding: 24px;
    min-height: 0;
  }
  .auth-brand-content,
  .auth-panel-footer {
    display: none;
  }
  .auth-brand-panel .brand img {
    width: 120px;
  }
  .auth-form-panel {
    padding: 24px 25px;
    min-height: calc(100dvh - 80px);
  }
  .auth-form-wrap {
    max-width: 440px;
    padding: 42px 0 40px;
  }
  .auth-form-wrap h1 {
    font-size: 40px;
  }
  .auth-form-wrap .eyebrow {
    font-size: 9px;
    margin-bottom: 17px;
  }
  .auth-intro {
    font-size: 13px;
    margin-top: 15px;
    margin-bottom: 29px;
  }
  .auth-top .text-link,
  .auth-demo-link {
    font-size: 10px;
  }
  .auth-page input:not([type="checkbox"]) {
    font-size: 16px;
    min-height: 52px;
    margin-bottom: 22px;
  }
  .auth-page label {
    font-size: 12px;
  }
  .password-label a {
    font-size: 11px;
  }
  .password-input button {
    font-size: 11px;
    min-height: 42px;
  }
  .auth-page #submit {
    font-size: 13px;
    min-height: 54px;
  }
  .auth-switch {
    font-size: 12px;
  }
  .auth-environment {
    font-size: 10px;
  }
  .auth-footer {
    font-size: 10px;
    gap: 15px;
  }
  .auth-footer .marcdev-credit strong {
    font-size: 12px;
  }
  .auth-two-fields {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .auth-page .consent {
    font-size: 11px;
  }
  .auth-page[data-mode="signup"] .auth-form-wrap {
    padding-top: 32px;
  }
  .auth-page #auth-status {
    font-size: 13px;
  }
}

.auth-footer {
  font-size: 11px;
}
.auth-environment {
  font-size: 11px;
  color: #64718b;
}
.auth-demo-caption {
  font-size: 10px !important;
}
.auth-page[data-mode="login"] .auth-brand-content {
  margin-top: 45px;
}
.auth-page[data-mode="login"] .auth-product {
  height: 245px;
}
.auth-page[data-mode="login"] .auth-form-wrap {
  padding-block: 40px 30px;
}
.auth-page[data-mode="login"] .auth-intro {
  margin-bottom: 27px;
}
.auth-page[data-mode="login"] .auth-brand-content h2 {
  font-size: clamp(35px, 3.3vw, 48px);
}
@media (max-width: 760px) {
  .auth-page[data-mode="login"] .auth-form-wrap {
    padding-block: 35px;
  }
  .auth-footer {
    font-size: 10px;
  }
}
