@charset "UTF-8";
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  display: block;
  width: 100%;
  min-height: 100vh; /* min-height лучше для мобильных браузеров */
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-variation-settings: "wdth" 100;
  color: #000000;
  background-color: #F9FAFB;
  /* Исправленный Clearfix */
}
body::before, body::after {
  content: "";
  display: table;
  clear: both;
}

header {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  display: block;
  width: 100%;
  height: 60px;
  background-color: #ffffff;
  /* Кроссбраузерная тень */
  -webkit-box-shadow: 0px 0px 5px 1px rgba(161, 143, 143, 0.5);
  -moz-box-shadow: 0px 0px 5px 1px rgba(161, 143, 143, 0.5);
  box-shadow: 0px 0px 5px 1px rgba(161, 143, 143, 0.5);
  z-index: 100;
}
header .content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  max-width: 920px; /* max-width безопаснее для узких экранов */
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0 10px;
}
header .logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 138px;
  text-decoration: none;
}
header .logo span {
  display: block;
  width: auto;
  height: 24px;
  font-family: "Potta One", system-ui, cursive;
  font-weight: 700;
  font-size: 24px;
  color: #000000;
  line-height: 24px;
  -webkit-transition: color 0.2s ease-in-out;
  -o-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
}
header .logo:hover span {
  color: #FF9A00;
}
header .join {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  list-style: none;
}
header .join a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: auto;
  height: 100%;
  text-decoration: none;
}
header .join a span {
  display: block;
  width: auto;
  height: 20px;
  margin: 0 12px;
  font-weight: 600;
  font-size: 16px;
  color: #000000;
  line-height: 20px;
  letter-spacing: 0.5px;
  -webkit-transition: color 0.2s ease-in-out;
  -o-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
}
header .join a:hover span {
  color: #FF9A00;
}



main.auth {
  position: relative;
  display: block;
  min-width: 920px;
  max-width: 920px;
  height: auto;
  min-height: calc(100vh - 60px);
  margin: 60px auto 0px;
  padding: 0 10px;
}
main:before {
  content: "";
  display: table;
  clear: both;
}
main:after {
  content: "";
  display: table;
  clear: both;
}




input[type=text],
input[type=password],
input[type=email],
input[type=date],
.input {
  display: block;
  width: 100%;
  height: 45px;
  margin-bottom: 20px;
  padding: 0 15px;
  background-color: #ffffff;
  border: 1px solid #E5E7EB;
  /* Светло-серый бордюр */
  border-radius: 8px;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  color: #000000;
  /* Кроссбраузерная тень (мягкая) */
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  /* Убираем стандартную синюю обводку в Chrome/Safari */
  outline: none;
  /* Плейсхолдер */
}
input[type=text]::placeholder,
input[type=password]::placeholder,
input[type=email]::placeholder,
input[type=date]::placeholder,
.input::placeholder {
  color: #9CA3AF;
}
input[type=text],
input[type=password],
input[type=email],
input[type=date],
.input {
  /* Состояние при клике (Focus) */
}
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=date]:focus,
.input:focus {
  border-color: #FF9A00;
  /* Твой фирменный цвет */
  background-color: #fff;
  -webkit-box-shadow: 0 0 0 3px rgba(255, 154, 0, 0.1);
  box-shadow: 0 0 0 3px rgba(255, 154, 0, 0.1);
}

/* Стили для кнопки отправки */
button[type=submit],
.btn-primary {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
  height: 48px; /* Чуть выше инпута для веса */
  margin-top: 10px;
  padding: 0 25px;
  background-color: #FF9A00; /* Твой оранжевый */
  border: none;
  border-radius: 8px;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  text-transform: none;
  cursor: pointer;
  outline: none;
  /* Кроссбраузерная тень */
  -webkit-box-shadow: 0 4px 6px -1px rgba(255, 154, 0, 0.2), 0 2px 4px -1px rgba(255, 154, 0, 0.1);
  box-shadow: 0 4px 6px -1px rgba(255, 154, 0, 0.2), 0 2px 4px -1px rgba(255, 154, 0, 0.1);
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  /* Эффект при наведении */
}
button[type=submit]:hover,
.btn-primary:hover {
  background-color: #e68a00; /* Затемняем оранжевый */
  -webkit-transform: translateY(-1px);
  -ms-transform: translateY(-1px);
  transform: translateY(-1px);
  -webkit-box-shadow: 0 10px 15px -3px rgba(255, 154, 0, 0.3);
  box-shadow: 0 10px 15px -3px rgba(255, 154, 0, 0.3);
}
button[type=submit],
.btn-primary {
  /* Эффект при нажатии */
}
button[type=submit]:active,
.btn-primary:active {
  -webkit-transform: translateY(0px);
  -ms-transform: translateY(0px);
  transform: translateY(0px);
  background-color: #cc7a00;
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
button[type=submit],
.btn-primary {
  /* Состояние загрузки или блокировки */
}
button[type=submit]:disabled,
.btn-primary:disabled {
  background-color: #9CA3AF;
  cursor: not-allowed;
  -webkit-transform: none;
  transform: none;
  box-shadow: none;
}