@font-face {
  font-family: 'Roboto';
  src: url('./assets/fonts/Roboto_SemiCondensed-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Roboto';
  src: url('./assets/fonts/RobotoSemiCondensed-Bold.ttf') format('truetype');
  font-weight: 700;
}

* {
    box-sizing: border-box;
}

body{
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background: #FFFFFF;
    color: #9D9B9B
}

.page{
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.auth{
    width: 100%;
    max-width: 420px;
    background: #FFFFFF;
    padding: 24px 20px 28px;
}

.auth__logo{
    display:flex;
    justify-content: center;
    margin-bottom: 22px;
}

.auth__logo img{
    width: 350px;
    height: auto;
    display: block;
}

.auth__form{
    display: grid;
    gap: 10px;
}

.auth__field {
  width: 100%;
}

.auth__field input {
  width: 100%;
  height: 48px;
  padding: 0 18px;
  border: 1px solid #9d9b9b;
  border-radius: 8px;
  background-color: #ffffff;
  font-size: 14px;
  font-weight: 400;
  color: #000000;
}

.auth__field input::placeholder {
  color: #9d9b9b;
}

.auth__field input:focus {
  outline: none;
  border-color: #e50000;
  background: #ffffff;
}

.auth__input-group {
  position: relative;
  width: 100%;
}

.auth__input-group input {
  padding-right: 42px;
}

.auth__password-eye {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.auth__password-eye img {
  width: 20px;
  height: 20px;
  display: block;
  pointer-events: none;
}

.auth__checkbox{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 400;
    color:#9D9B9B;
    cursor: pointer;
}

.auth__checkbox input{
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.auth__error {
    display: none;
    margin: 0;
    font-size: 12px;
    color:#E50000;
}

.auth__error.is-visible{
    display: block;
}

.auth__button {
    width: 100%;
    height: 37px;
    border: none;
    border-radius: 8px;
    background: #E50000;
    color:#FFFFFF;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 0;
}

.auth__button:hover {
    background: #e50000bd;
}

.auth__button:active {
    transform: scale(0.99);
}

.auth__divider {
    display: flex;
     align-items: center;
     gap: 12px;
     color:#9D9B9B;
     font-size: 12px;
     text-transform: uppercase;
}

.auth__divider::before,
.auth__divider::after{
    content: "";
    flex: 1;
    height: 1px;
    background: #9D9B9B;
}

.auth__forgot-link {
    display: block;
    text-align: center;
    color:#E50000;
    font-size: 12px;
    text-decoration: none;
}

.auth__forgot-link:hover {
    text-decoration: underline;
}

.auth__register {
    margin: 0;
    text-align: center;
    font-size: 12px;
    color:#9D9B9B;
}

.auth__register-link {
    margin-left: 4px;
    color: #E50000;
    text-decoration: none;
    font-weight: 500;
}

.auth__register-link:hover {
    text-decoration: underline;
}