/* login.css — the shop-password page. Same family as the till:
   navy chrome background, one big white card, centred. */

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: #0F2340; /* --chrome */
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  color: #0F172A;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.login-wrap {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  background: #FFFFFF;
  border-radius: 28px;
  padding: 56px 64px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
  max-width: 92vw;
}

.login-title {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #0F2340;
  text-align: center;
  white-space: nowrap;
}

.login-sub {
  font-size: 28px;
  color: #5B6B82;
  margin: 10px 0 36px;
  text-align: center;
}

.login-row {
  display: flex;
  gap: 16px;
  width: 776px;          /* 600 input + 16 gap + 160 toggle */
  max-width: 100%;
}

.login-input {
  width: 600px;
  max-width: 100%;
  height: 96px;
  border: 3px solid #C9D3E0;
  border-radius: 18px;
  padding: 0 28px;
  font-size: 40px;
  font-weight: 600;
  font-family: inherit;
  background: #F8FAFC;
  color: #0F172A;
  outline: none;
  flex: 0 1 auto;        /* exactly 600px — never grows */
}
.login-input:focus {
  border-color: #4F46E5;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(79, 70, 229, .16);
}

.login-show {
  width: 160px;
  height: 96px;
  flex: none;
  border: 3px solid #C9D3E0;
  border-radius: 18px;
  background: #F8FAFC;
  color: #0F2340;
  font-size: 26px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}
.login-show:active { transform: translateY(2px); }

.login-err {
  min-height: 44px;
  margin-top: 18px;
  font-size: 28px;
  line-height: 1.25;
  color: #DC2626;
  text-align: center;
  max-width: 780px;
}

.login-go {
  width: 600px;
  max-width: 100%;
  height: 110px;
  margin-top: 6px;
  border: none;
  border-bottom: 6px solid #15803D;
  border-radius: 18px;
  background: #16A34A;
  color: #fff;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 1px;
  font-family: inherit;
  cursor: pointer;
}
.login-go:active {
  transform: translateY(4px);
  border-bottom-width: 2px;
}
.login-go:disabled { opacity: .55; cursor: default; }
