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

body.gate {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: #0f1b3d;
  background: radial-gradient(1200px 600px at 50% -10%, #e8f0fe 0%, #ffffff 60%);
}

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

.gate-card {
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  border: 1px solid #e6ebf2;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 20px 50px -20px rgba(15, 27, 61, 0.18);
  display: flex;
  flex-direction: column;
}

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

.gate-title {
  margin: 0 0 8px;
  font-family: "Sora", sans-serif;
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

.gate-sub {
  margin: 0 0 24px;
  font-size: 14px;
  line-height: 1.5;
  color: #6b7690;
  text-align: center;
}

.gate-error {
  margin: 0 0 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fdecea;
  color: #b3261e;
  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 0.15s, box-shadow 0.15s;
}

.gate-input:focus {
  border-color: #1766d6;
  box-shadow: 0 0 0 3px rgba(23, 102, 214, 0.18);
}

.gate-btn {
  margin-top: 18px;
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: #1766d6;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.15s;
}

.gate-btn:hover {
  background: #1258bb;
}

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