/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.19_@babel+core@7.29.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.19_@babel+core@7.29.7_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/components/auth/login.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* Экран входа по коду. Палитра — токены дизайн-системы. */
.auth-wrap {
  min-height: 100dvh; /* dvh, не vh: iOS-клавиатура меняет вьюпорт, 100vh «уезжает» */
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--bg);
}
.auth-card {
  width: 100%;
  max-width: 380px;
  background: var(--surf);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--sh);
  padding: 30px 26px 26px;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}
.auth-lg {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
}
.auth-lg img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.auth-brand b {
  font-size: 17px;
}
.auth-h {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.auth-sub {
  font-size: 13.5px;
  color: var(--mut);
  line-height: 1.5;
  margin-bottom: 20px;
}
.auth-lbl {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mut);
  margin-bottom: 6px;
}
.auth-input {
  width: 100%;
  background: var(--surf);
  border: 1px solid var(--line2);
  border-radius: 11px;
  padding: 12px 14px;
  margin-bottom: 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.14s;
}
.auth-input:focus {
  outline: none;
  border-color: var(--accent);
}
.auth-code {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.4em;
  font-variant-numeric: tabular-nums;
}
.auth-btn {
  width: 100%;
  margin-top: 18px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(191, 64, 121, 0.3);
  transition: 0.14s;
}
.auth-btn:hover:not(:disabled) {
  background: var(--accent-d);
}
.auth-btn:disabled {
  opacity: 0.5;
  cursor: default;
  box-shadow: none;
}
.auth-err {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-d);
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 9px 12px;
}
.auth-ok {
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green, #18ab6a);
}
.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
}
.auth-link {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--mut);
  cursor: pointer;
  padding: 2px;
}
.auth-link:hover:not(:disabled) {
  color: var(--accent-d);
}
.auth-link:disabled {
  opacity: 0.5;
  cursor: default;
}

.auth-link-block {
  display: inline-block;
  margin-top: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-d);
  text-decoration: none;
}

/* ---- Мобильный вход: форма сверху (клавиатура не накрывает кнопку и не ломает
   центрирование), страница = карточка без рамки, никакого вертикального скролла ---- */
@media (max-width: 640px) {
  .auth-wrap {
    place-items: start center;
    padding: 0;
  }
  .auth-card {
    max-width: none;
    min-height: 100dvh;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 24px 18px calc(18px + env(safe-area-inset-bottom));
  }
  .auth-brand {
    margin-bottom: 26px;
  }
  .auth-h {
    font-size: 20px;
  }
  .auth-sub {
    margin-bottom: 14px;
  }
  /* Как нативное приложение: длинный тап не выделяет интерфейс; ввод — можно. */
  .auth-wrap,
  .auth-wrap * {
    -webkit-user-select: none;
    -moz-user-select: none;
         user-select: none;
    -webkit-touch-callout: none;
  }
  .auth-wrap input,
  .auth-wrap textarea {
    -webkit-user-select: text;
    -moz-user-select: text;
         user-select: text;
  }
}

