/* ==========================================================================
   Password gate page — page-specific styles.
   Tokens + base styles come from global.css (loaded before this file).
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.gate {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--c-ink);
  background: radial-gradient(1200px 600px at 50% -10%, var(--c-tint) 0%, var(--c-surface) 60%);
}

.gate-main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.gate-card {
  width: 100%;
  max-width: 500px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-panel);
  display: flex;
  flex-direction: column;
}

.gate-logo {
  height: auto;
  align-self: center;
  margin-bottom: 24px;
}

.gate-title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

.gate-sub {
  margin: 0 0 0px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--c-brand);
  text-align: center;
  font-weight:500;
}

.gate-error {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: var(--c-err-bg);
  color: var(--c-err);
  font-size: 14px;
}

.gate-label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.gate-input {
  font: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.gate-input:focus {
  border-color: var(--c-brand);
  box-shadow: var(--shadow-focus);
}

.gate-btn {
  margin-top: 18px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--c-brand);
  color: var(--c-surface);
  cursor: pointer;
  transition: background var(--t-fast);
}

.gate-btn:hover {
  background: var(--c-brand-hover);
}

.gate-btn:focus-visible {
  outline: 3px solid rgba(23, 102, 214, 0.4);
  outline-offset: 2px;
}

/* Link variant (404 page reuses the button as an anchor). */
a.gate-btn,
a.gate-btn:hover {
  color: var(--c-surface);
  text-align: center;
  text-decoration: none;
}

.regp-muted{
  font-size: 13px !important;
}
