/* Login overlay for the static deploy. While the gate is up, the
   underlying packet is fully hidden + scroll-locked. */

html.tpc-gate-locked,
html.tpc-gate-locked body {
  overflow: hidden !important;
  height: 100% !important;
}
html.tpc-gate-locked body > *:not(#tpc-gate) {
  visibility: hidden;
}

#tpc-gate {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #F9F8F6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  visibility: visible !important;
}

.tpc-gate-card {
  background: #FFFFFF;
  border: 1px solid #E0DDD8;
  padding: 56px 48px 48px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.tpc-gate-brand img {
  height: 38px;
  width: auto;
  display: block;
  margin-bottom: 6px;
}

.tpc-gate-doc {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #555759;
  margin-bottom: 40px;
}

#tpc-gate h1 {
  font-family: 'Playfair Display', 'Times New Roman', serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
  margin: 0 0 8px;
  color: #1A1916;
}

.tpc-gate-sub {
  font-size: 13px;
  color: #4A4740;
  line-height: 1.6;
  margin: 0 0 32px;
}

#tpc-gate label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: #8A8680;
  margin-bottom: 8px;
}

#tpc-gate input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: #1A1916;
  background: #FFFFFF;
  border: 1px solid #C8C4BC;
  outline: none;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
#tpc-gate input[type="password"]:focus { border-color: #1A1916; }

#tpc-gate-submit {
  width: 100%;
  margin-top: 20px;
  padding: 14px 20px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #FFFFFF;
  background: #1A1916;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s;
}
#tpc-gate-submit:hover:not(:disabled) { background: #4A4740; }
#tpc-gate-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.tpc-gate-error {
  margin-top: 16px;
  padding: 12px 14px;
  font-size: 12px;
  color: #9B3A2A;
  background: #F7EEEC;
  border-left: 3px solid #9B3A2A;
  display: none;
}
.tpc-gate-error.show { display: block; }

.tpc-gate-footer {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #E0DDD8;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #8A8680;
  text-align: center;
}
