/* Neumorphic auth gate — Monica Ai Pro */
.auth-gate-root {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0e5ec;
  padding: 24px;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.auth-gate-card {
  width: 100%;
  max-width: 380px;
  background: #e0e5ec;
  border-radius: 24px;
  padding: 36px 32px 28px;
  box-shadow: 8px 8px 16px #a3b1c6, -8px -8px 16px #ffffff;
}

.auth-gate-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.auth-gate-logo {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.auth-gate-title {
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  color: #2d3436;
  margin: 0 0 4px;
  letter-spacing: 0.02em;
}

.auth-gate-subtitle {
  text-align: center;
  font-size: 13px;
  color: #636e72;
  margin: 0 0 24px;
}

.auth-gate-field {
  position: relative;
  margin-bottom: 16px;
}

.auth-gate-field-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  opacity: 0.45;
  pointer-events: none;
}

.auth-gate-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px 12px 42px;
  border: none;
  border-radius: 14px;
  background: #e0e5ec;
  font-size: 14px;
  color: #2d3436;
  outline: none;
  box-shadow: inset 4px 4px 8px #a3b1c6, inset -4px -4px 8px #ffffff;
}

.auth-gate-input::placeholder {
  color: #b2bec3;
}

.auth-gate-input:focus {
  box-shadow: inset 5px 5px 10px #a3b1c6, inset -5px -5px 10px #ffffff;
}

.auth-gate-btn {
  width: 100%;
  margin-top: 8px;
  padding: 13px 16px;
  border: none;
  border-radius: 14px;
  background: #4fb3ce;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 4px 4px 10px rgba(79, 179, 206, 0.35), -2px -2px 6px rgba(255, 255, 255, 0.8);
  transition: opacity 0.15s, transform 0.1s;
}

.auth-gate-btn:hover:not(:disabled) {
  opacity: 0.92;
}

.auth-gate-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.auth-gate-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.auth-gate-error {
  color: #e17055;
  font-size: 12px;
  margin: 0 0 10px;
  text-align: center;
}

.auth-gate-msg {
  color: #00b894;
  font-size: 12px;
  margin: 0 0 10px;
  text-align: center;
}

.auth-gate-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: #636e72;
}

.auth-gate-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0 4px;
  color: #4fb3ce;
  font-weight: 700;
  cursor: pointer;
  font-size: inherit;
}

.auth-gate-link:hover {
  text-decoration: underline;
}

.auth-gate-loading {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e0e5ec;
  color: #636e72;
}
