



/* Ссылка для повторной отправки кода */
.AuthDialog_resetLink__zjsTd {
  color: #2563eb;
  background: none;
  border: none;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}
.AuthDialog_resetLink__zjsTd:disabled {
  color: #9ca3af;
  cursor: not-allowed;
  text-decoration: none;
}

/* Форма авторизации (фон, скругления, тень) */
.AuthDialog_form__8oOh8 {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.08);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

/* Заголовок формы */
.AuthDialog_title__8e3a4 {
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: bold;
  text-align: center;
}

/* Сообщение об ошибке */
.AuthDialog_error__Myqzh {
  color: #dc2626;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* Вертикальный отступ между элементами формы */
.AuthDialog_spaceY4__mWgHq > * + * {
  margin-top: 1rem;
}

/* Блок с email и кнопкой редактирования */
.AuthDialog_flexRow__PsCUt {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Маленький серый текст */
.AuthDialog_textSm__BG6GW {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

/* Лейбл */
.AuthDialog_label__MZK22 {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}
/*для выравнивания иконок:*/
.AuthDialog_buttonIcon__H9_7B {
  display: inline-flex;
  align-items: center;
  margin-right: 0.5em;
}
.AuthDialog_active__MrViw {
  outline: 2px solid #005bb5;
  outline-offset: 2px;
  background-color: #d0e7ff;
}

.AuthDialog_emailInput__saQNC {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 1.25rem; /* 20px, для отступа между полями */
}

.AuthDialog_emailInput__saQNC label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.AuthDialog_emailInput__saQNC input {
  width: 100%;
  box-sizing: border-box;
}

.AuthDialog_codeInput__Pqnrz {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 1.25rem;
}

.AuthDialog_codeInput__Pqnrz label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.AuthDialog_codeInput__Pqnrz input {
  width: 100%;
  box-sizing: border-box;
}
.AuthDialog_agreementText__64hU9{
  padding-top: 1em;
  font-size: 0.875rem; /* 14px */
  color: #6b7280; /* серый цвет текста */

}

.AuthDialog_agreementText__64hU9 a {
  color: #2563eb; /* синий, как у ссылок */
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.2s;
}

.AuthDialog_agreementText__64hU9 a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Стили для модального окна */
.AuthDialog_modalOverlay__OOsfY {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.AuthDialog_modalContent__QxWw5 {
  background: #fff;
  border-radius: 8px;
  max-width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-shadow: 0 4px 32px rgba(0,0,0,0.15);
  position: relative;
}

.AuthDialog_modalClose__PU5aF {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #888;
}
.AuthDialog_modalClose__PU5aF:hover {
  color: #111;
}

/* Информационное сообщение */
.AuthDialog_infoMessage__UrwFU {
  background-color: #e8f4fd;
  border: 1px solid #b3d9f7;
  color: #0866ff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  margin-top: 6px;
  line-height: 1.4;
}


