/*PROTECTED MODAL*/
.protected-modal{
  width: 100%;
  height: 100%;
  background-color: rgb(242,242,242);
  display: none;
  position: absolute;
  z-index: 120;
}
.protected-modal__container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: calc(100% - 30px);
    max-width: 305px;
    max-height: 700px;
    margin: auto;
    padding: 20px 20px 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .1);
    box-sizing: border-box;
}
.protected-modal__header {
    color: #28323f;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
}

.protected-modal__image__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto 5px;
    padding: 20px;
    background-color: #f2f2f2;
    border-radius: 5px;
    box-sizing: border-box;
}

.protected-modal__image {
    display: block;
    max-width: 190px;
    max-height: 190px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
}

.protected-modal__form {
    display: flex;
    flex-direction: column;
}

.protected-modal__password {
    position: relative;
    display: flex;
    align-items: center;
    height: 44px;
    background-color: #fff;
    border: 1px solid #b3c0d3;
    border-radius: 5px;
    overflow: hidden;
}

.protected-modal__input {
    width: 100%;
    padding: 10px 45px 10px 20px;
    background-color: transparent;
    border: none;
    outline: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
}

.protected-modal__error-message {
    width: 100%;
    margin: 10px auto;
    color: #e83033;
    font-size: 12px;
    text-align: center;
}

.protected-modal__send-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    margin: 0 auto;
    padding: 10px 40px;
    background-color: #146ef5;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background-color .1s ease-in-out;
}

.protected-modal__send-btn span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.protected-modal__book-cover{
    background-repeat: no-repeat;
    margin: 30px auto;
    width: 130px;
    height: 190px;
    background-size: cover;
    background-position: center;
    box-shadow: 0px 0px 16px 1px rgba(0, 0, 0, 0.15), 2px 0 4px #44444433;
/*
  background-repeat: no-repeat;
  margin: 20px auto;
      width: 220px;
    height: 190px;
    background-size: contain;
    background-position: center;*/
}
/*.protected-modal__pasword{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgb(235, 245, 244);
  padding: 5px 15px;
  height: 40px;
  border-radius: 5px;
  font-size: 14px;
}*/

.protected-modal__input:focus::-webkit-input-placeholder,
.protected-modal__input:focus::-moz-placeholder,
.protected-modal__input:-moz-placeholder
{
  color:transparent;
}
.protected-modal__input::placeholder{
  color: rgb(134, 158, 156);
  font-weight: 600;
}

.password-view{
    width: 23px;
  height: 21px;
  background-color: rgb(134, 158, 156);
  border: 0px;
  mask: url(../img/svg/icon-eye-on.svg) no-repeat center / contain;
  -webkit-mask: url(../img/svg/icon-eye-on.svg) no-repeat center / contain;
}
.password-view.active{
    width: 29px;
  height: 25px;
  transform: translate(3px, -13px);
  mask: url(../img/svg/icon-eye-off.svg) no-repeat center / contain;
  -webkit-mask: url(../img/svg/icon-eye-off.svg) no-repeat center / contain;
}
.password-view {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 24px;
    height: 24px;
    background-color: #b3c0d3;
    transform: translateY(-50%);
    cursor: pointer;
}