@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;
}

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

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

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

.register__title{
    margin: 0 0 28px;
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    color: #000000;
}

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

.register__field{
    width: 100%;
}

.register__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;
}

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

.register__field input:focus{
    outline: none;
    border-color: #e50000;
}

.register__checkbox{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    line-height: 1.45;
    color:#000000;
    cursor: pointer;
}

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

.register__checkbox span{
    color: #000000;
}

.register__checkbox a {
  color: #e50000;
  text-decoration: none;
}

.register__checkbox a:hover {
  text-decoration: underline;
}

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

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

.register__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;
}

.register__button:hover {
    background: #e50000bd;
}

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