/* Your simplified Sotex login styles */
body {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  margin: 0;
  min-height: 100vh;
  background: #eef2f4;
}

/* Authorization page */
.authorization {
  height: 100vh;
  display: flex;
  align-items: center;
  background: #eef2f4;
}

.authorization__logotip {
  height: 100%;
  background: linear-gradient(33.24deg, #0f2f6b 12.15%, #2756af 56.68%);
  max-width: 50%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.authorization__logotip-image {
  width: 324px;
  height: 102px;
}

.authorization__logotip-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.authorization__logotip-text {
  font-size: 23px;
  line-height: 27px;
  color: #fff;
  font-weight: 300;
  margin: 23px 0px 0px 20px;
  text-align: center;
  width: 100%;
}

.authorization__form {
  max-width: 331px;
  width: 100%;
  margin: 0 auto;
}

.authorization__title {
  font-size: 23px;
  line-height: 27px;
  font-weight: 300;
  color: #333333;
  margin-bottom: 31px;
}

.authorization__input-group {
  width: 94%;
  height: 60px;
  margin-bottom: 20px;
}

.authorization__input {
  width: 100%;
  height: 100%;
  border: 1px solid #d2d2d2;
  border-radius: 2px;
  padding: 0 10px;
  font-size: 16px;
  font-weight: 300;
  color: #333333;
  transition: ease-in-out 0.25s;
}

.authorization__input:focus {
  border: 1px solid #c1d2f1;
  box-shadow: 0px 0px 8px #b8d1ff;
  outline: none;
}

.authorization__confrirmPass {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0;
}

/* Checkbox styles */
.checkbox__input {
  display: none;
}

.checkbox__label {
  font-size: 14px;
  line-height: 20px;
  font-weight: 300;
  color: #333333;
  padding-left: 26px;  /* Space for checkbox */
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.checkbox__label::after {
  position: absolute;
  content: "";
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 2px;
  border: 2px solid #e1e7ec;
  background: transparent;
  box-sizing: border-box;  /* Ensures border is included in size */
}

.checkbox__label::before {
  position: absolute;
  content: "✓";
  left: 0;
  width: 16px;
  height: 16px;
  z-index: 2;
  top: 2px;
  color: white;
  font-size: 12px;
  text-align: center;
  line-height: 16px;  /* Vertically centers the checkmark */
  opacity: 0;
  visibility: hidden;
}

.checkbox__input:checked + .checkbox__label::after {
  border: 2px solid #0f2f6b;
  background: #0f2f6b;
}

.checkbox__input:checked + .checkbox__label::before {
  opacity: 1;
  visibility: visible;
}

.page__link {
  font-size: 14px;
  color: #0f2f6b;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.authorization__btn {
  width: 100%;
  height: 40px;
  font-size: 13px;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
  background: #0f2f6b;
  border: none;
  cursor: pointer;
  transition: ease-in-out 0.25s;
}

.authorization__btn:hover {
  background: #254c95;
}

.authorization__error {
  color: #ff0000;
  font-size: 14px;
  margin-bottom: 15px;
  display: none;
}

@media (max-width: 768px) {
  .authorization {
    flex-direction: column;
    height: auto;
    padding: 50px 15px;
  }
  
  .authorization__logotip {
    max-width: 100%;
    padding: 30px 15px;
    margin-bottom: 30px;
  }
}
