/* Standalone "technical works" curtain (apps.core.middleware.MaintenanceGateMiddleware).
   Loaded only on the gate page; relies on tokens.css for the brand palette. */

.mnt {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  color: var(--text);
  font-family: 'Golos Text', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.mnt-card {
  width: 100%;
  max-width: 400px;
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px 32px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.mnt-dots {
  display: inline-flex;
  gap: 7px;
  margin-bottom: 22px;
}
.mnt-dots i {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  display: block;
  animation: mnt-bounce 1.15s cubic-bezier(0.3, 0.1, 0.3, 1) infinite;
}
.mnt-dots i:nth-child(1) { background: var(--pink); animation-delay: 0s; }
.mnt-dots i:nth-child(2) { background: var(--violet); animation-delay: 0.12s; }
.mnt-dots i:nth-child(3) { background: var(--green); animation-delay: 0.24s; }
.mnt-dots i:nth-child(4) { background: var(--amber); animation-delay: 0.36s; }

@keyframes mnt-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-11px); }
}

.mnt-logo {
  display: block;
  font-family: 'Unbounded', 'Golos Text', sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.mnt-title {
  font-family: 'Unbounded', 'Golos Text', sans-serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 10px;
}

.mnt-text {
  color: var(--text-2);
  margin: 0 auto 24px;
  max-width: 300px;
}

.mnt-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.mnt-input {
  width: 100%;
  box-sizing: border-box;
  background: var(--s2);
  border: 1px solid var(--border-2);
  border-radius: var(--r, 8px);
  color: var(--text);
  font: inherit;
  padding: 11px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.mnt-input::placeholder { color: var(--text-3); }
.mnt-input:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 3px var(--pink-soft);
}
.mnt-input.is-error {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-soft);
}

.mnt-error {
  margin: 0;
  color: var(--danger-text);
  font-size: 12.5px;
}

.mnt-btn {
  margin-top: 2px;
  border: none;
  border-radius: var(--r, 8px);
  background: var(--pink);
  color: var(--on-accent, #fff);
  font: inherit;
  font-weight: 600;
  padding: 11px 16px;
  cursor: pointer;
  transition: filter 0.15s;
}
.mnt-btn:hover { filter: brightness(1.06); }
.mnt-btn:active { filter: brightness(0.96); }
.mnt-btn:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .mnt-dots i { animation: none; }
}
