/* Hydra Prime Account Gate — Cyberpunk 3035 */

.gate-body {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(66, 232, 255, 0.1), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: var(--font);
}

.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(6, 6, 11, 0.92);
  backdrop-filter: blur(12px);
}

.gate-overlay.hidden { display: none; }

.gate-panel {
  width: 100%;
  max-width: 400px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: 0 0 40px rgba(66, 232, 255, 0.1);
  animation: hp-holo-pulse 3.5s ease-in-out infinite;
}

.gate-panel h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  color: var(--cyan);
  letter-spacing: 0.06em;
}

.gate-sub {
  margin: 0 0 18px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.45;
}

.gate-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.gate-tabs button {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--cyan-dim);
  background: transparent;
  color: var(--muted);
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
}

.gate-tabs button.active {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(66, 232, 255, 0.08);
}

.gate-form label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 10px 0 4px;
}

.gate-form input,
.gate-form select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--cyan-dim);
  background: rgba(3, 3, 8, 0.9);
  color: var(--text);
  font-size: 1rem;
}

.gate-row {
  display: flex;
  gap: 10px;
}

.gate-row > * { flex: 1; }

.gate-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: var(--text);
  opacity: 0.85;
}

.gate-check input { width: auto; margin-top: 3px; }

.gate-submit {
  width: 100%;
  margin-top: 18px;
  padding: 13px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #2a6a88, var(--cyan));
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.gate-err {
  color: var(--red);
  font-size: 0.85rem;
  min-height: 1.2em;
  margin-top: 10px;
}

.gate-info {
  color: var(--green);
  font-size: 0.85rem;
  min-height: 1.2em;
  margin-top: 10px;
}

.gate-locked {
  text-align: center;
  padding: 12px 0;
}

.gate-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  border: 1px solid var(--cyan-dim);
  margin: 4px 4px 0 0;
}

.gate-badge.verified { color: var(--green); border-color: var(--green); }
.gate-badge.unverified { color: var(--warn); border-color: var(--warn); }
.gate-badge.plan { color: var(--cyan); border-color: var(--cyan); }
.gate-badge.limited { color: var(--warn); }
.gate-badge.collab { color: var(--blue); border-color: var(--cyan); }

.gate-link-btn {
  background: none;
  border: none;
  color: var(--cyan);
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.85rem;
  margin-top: 12px;
}

.gate-forgot-link {
  display: block;
  width: 100%;
  margin-top: 12px;
  background: none;
  border: none;
  color: var(--blue);
  cursor: pointer;
  font-size: 0.82rem;
  text-decoration: underline;
  text-align: center;
}

.gate-form.hidden { display: none; }

.gate-voice-note {
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 12px;
  line-height: 1.4;
}

.voice-settings {
  margin: 12px 16px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
}

.voice-settings-title {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--cyan);
}

.voice-settings-note,
.voice-settings-policy {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0;
  line-height: 1.35;
}

.voice-settings label {
  display: block;
  font-size: 11px;
  color: var(--cyan);
  margin-top: 8px;
}

.voice-settings select {
  width: 100%;
  margin-top: 4px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(3, 3, 8, 0.9);
  color: var(--text);
  border: 1px solid var(--cyan-dim);
}

.voice-settings-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.voice-btn {
  flex: 1;
  min-width: 80px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--cyan-dim);
  background: rgba(3, 3, 8, 0.9);
  color: var(--text);
  font-size: 12px;
}

.voice-btn.primary {
  border-color: var(--cyan);
  color: var(--cyan);
}

.password-field {
  position: relative;
  width: 100%;
}

.gate-form .password-field input,
.login-panel .password-field input {
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--cyan);
  background: rgba(66, 232, 255, 0.08);
  outline: none;
}

.password-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-toggle .icon-eye-off {
  display: none;
}

.password-field.show-password .icon-eye-on {
  display: none;
}

.password-field.show-password .icon-eye-off {
  display: block;
}

.login-panel .password-field {
  margin-bottom: 10px;
}

.login-panel .password-field input {
  margin-bottom: 0;
}
