body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  background: #EAF2FC;
  display: flex;
  justify-content: flex-start;
  padding-top: 120px;
  padding-bottom: 120px;
  align-items: center;
  height: 100vh;
}

@font-face {
  font-family: 'Lato'; /* Название шрифта */
  src: url('resource/Lato-Regular.92fc6f9601a72ee5.woff2') format('woff2'); /* Путь к шрифту */
  font-weight: normal;
  font-style: normal;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  max-width: 416px;
  min-width: 320px;
  margin: 0px auto;
  padding: 0 16px;
}

.registration {
  display: flex;
  width: 100%;
  margin-top: 40px;
  margin-bottom: 40px;
  justify-content: center;
}

.registration-text {
  font-size: 14px;
  text-decoration: none;
  color: #005BBB;
  box-shadow: none;
}

.container-qr-email-buttons {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  width: 100%;
}

.qr-button,
.email-button {
  flex: 1;
}

.qr-button button,
.email-button button {
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 18px;
  border-radius: 8px;
  border: 1.5px solid #0d4cd3;
  background: #ffffff;
  color: #0d4cd3;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  box-shadow: none;
  appearance: none;
}

.button-qr,
.button-email {
  border-radius: 8px;
  border: 1px solid #0d4cd3;
  padding: 14px 16px;
  width: 100%;
}

.qr-button button:hover,
.email-button button:hover {
  background-color: #f2f7ff; 
}

.another-method-sign {
  font-size: 16px;
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  text-decoration: none;
  color: #66727f;
  text-align: center;
}

.login-box {
  background: white;
  padding: 32px;
  border-radius: 16px;
  width: 340px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.logo {
  font-size: 24px;
  position: relative;
  display: block;
  height: 30px;
  margin: 0 auto;
  font-weight: bold;
  margin-bottom: 16px;
  padding-bottom: 30px;
  font-size: 42px;
}

.logo .blue {
  color: #0070C4;
}

.logo .red {
  color: #E31E24;
}

.div-input-text {
  display: inline-block;
  width: 100%;
  margin-bottom: 8px;
}

.div-input-password {
  position: relative;
  display: inline-block;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.toggle-password img {
  width: 24px;  /* Устанавливаем размер иконки */
  height: 24px; /* Устанавливаем размер иконки */
}

input {
  box-sizing: border-box;
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  border: 0;
  background: #F6F7F9;
  padding: 20px 16px;
  outline: none;
  width: 100%;
  font-family: 'Lato', Helvetica, Arial, sans-serif;
}



.recover {
  text-align: left;
  font-size: 14px;
  margin-bottom: 24px;
}

.recover a {
  color: #0070C4;
  text-decoration: none;
}

.login-btn {
  background-color: #005BBB;
  color: white;
  font-weight: 600;
  border: none;
  padding: 14px 0;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.login-btn:hover {
  background-color: #1d5deb;
  color: #fff;
  outline: none;
}

.alt-methods {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  margin-top: 40px;
}

.alt-methods button {
  padding: 10px 14px;
  font-size: 14px;
  background: white;
  border: 1px solid #DDE2E7;
  border-radius: 8px;
  cursor: pointer;
}

.links {
  text-align: center;
  font-size: 14px;
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.links a {
  color: #005BBB;
  text-decoration: none;
}

.text-footer-mb {
  width: 180px;
  margin: 16px 0 -1px;
  letter-spacing: -0.025em;
}

.side-tip {
  background: white;
  padding: 32px;
  border-radius: 16px;
  width: 340px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: #005BBB;
}

.side-tip .icon {
  font-size: 18px;
}


/* ======= Мобильная адаптация ======= */
@media (max-width: 600px) {
  body {
    align-items: flex-start;
    padding: 20px 10px;
    height: auto;
  }

  .container {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    align-items: center;
  }

  .login-box {
    width: 100%;
    max-width: 400px;
    padding: 24px 20px;
  }

  .side-tip {
    max-width: 100%;
    width: 100%;
    font-size: 13px;
  }

  .links {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}