/* Reset and base styles  */
* {
    padding: 0px;
    margin: 0px;
    border: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Links */

a, a:link, a:visited  {
    text-decoration: none;
}

a:hover  {
    text-decoration: none;
}

/* Common */

aside, nav, footer, header, section, main {
    display: block;
}

h1, h2, h3, h4, h5, h6, p {
    font-size: inherit;
    font-weight: inherit;
}

ul, ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

img, svg {
    max-width: 100%;
    height: auto;
}

address {
    font-style: normal;
}

/* Form */

input, textarea, button, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
    display: none;
}

button, input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
    outline: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

label {
    cursor: pointer;
}

legend {
    display: block;
}


body {
    background-color: #F1F1F1;
    font-family: "Helvetica", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 17.6px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: #020062;
}

.hp-header {
    background-color: #ffffff;
    padding: 24px 30px;
    border-radius: 0px 0px 20px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hp-header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hp-logo {
    display: flex;
    align-items: center;
    gap: 3px;
    color: #020062;
    font-weight: 700;
    line-height: 1;
}

.hp-logo__circle {
    width: 32px;
    height: 32px;
    border-radius: 32px;
    background: linear-gradient(90deg, #5855E4 0%, #8CDBFF 100%);
}

.hp-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.hp-nav-link{
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    font-size: 14px;
    color: #020062;
    transition: .15s;
}

.hp-nav-link .hp-icon-login-hover {
    display: none;
}

.hp-nav-link.active {
    pointer-events: none;
}

.hp-nav-link:hover,
.hp-nav-link.active {
    color: #5855E4;
}

.hp-nav-link:hover .hp-icon-login-hover,
.hp-nav-link.active .hp-icon-login-hover {
    display: inline-flex;
}

.hp-nav-link:hover .hp-icon-login,
.hp-nav-link.active .hp-icon-login {
    display: none;
}

.hp-footer {
    margin-top: auto;
    background-color: #ffffff;
    padding: 24px 30px;
    border-radius: 20px 20px;
    display: flex;
    flex-direction: column;
}

.hp-footer__nav {
    margin: 24px 0 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hp-other-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hp-footer__copyright {
    font-size: 14px;
    line-height: 1;
    color: #AAAAAA;
}

.hp-front,
.hp-thankyou{
    min-height: calc(100vh - 280px);
    display: flex;
    align-items: center;
    padding: 14px 30px;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hp-front__info,
.hp-thankyou__info {
    max-width: 490px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hp-front__info {
    max-width: 490px;
}

.hp-thankyou__info {
    max-width: 390px;
}

.hp-front__image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hp-title {
    font-size: 38px;
    line-height: 1;
    font-weight: 700;
}

.hp-title span {
    color: #5855E4;
}

.hp_btn {
    width: 230px;
    height: 44px;
    color: #FDFDFD;
    font-weight: 700;
    font-size: 14px;
    line-height: 16px;
    background: linear-gradient(90deg, #5855E4 0%, #8CDBFF 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
}

.hp-content {
    padding: 38px 30px;
}

.hp-container {
    max-width: 1140px;
    margin: 0 auto;
}

.hp-title-h2 {
    font-size: 28px;
    line-height: 32px;
    font-weight: 700;
}

.hp-subtitle {
    font-size: 20px;
    line-height: 23px;
    font-weight: 700;
    margin-top: 14px;
}

.hp-form {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hp-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    max-width: 240px;
}

.hp-form-group label {
    font-size: 12px;
    line-height: 1;
}

.hp-form-group label span{
    color: #AAAAAA;
    display: block;
    margin-top: 6px;
}

.hp-input {
    padding: 16px;
    width: 100%;
    border-radius: 50px;
    border: 2px solid rgba(88, 85, 228, 0.5);
    font-size: 14px;
    line-height: 1;
}

.hp-input--hide {
    display: none;
}

.hp-input.hp-input--icon {
    padding-left: 44px;
}

.hp-input::placeholder,
.hp-textarea::placeholder {
    color: #AAAAAA;
}

.hp-form-group__icon {
    position: absolute;
    top: 35px;
    left: 16px;
}

.hp-download-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background: linear-gradient(90deg, #5855E4 0%, #8CDBFF 100%);
    cursor: pointer;
}

.hp-form-group__message {
    display: flex;
    align-items: center;
    gap: 4px;
}

.hp-form-group__message img {
    flex: 0 0 1;
}

.hp-form-group__message span {
    font-size: 10px;
    line-height: 9px;
    color: #AAAAAA;
}

.hp-form-group p {
    font-size: 10px;
    line-height: 9px;
    color: #AAAAAA;
}

.hp-form-group p a {
    color: #AAAAAA;
}

.hp-form-group__eye {
    position: absolute;
    right: 16px;
    top: 33px;
    cursor: pointer;
}

a.hp-word-link {
    font-size: 10px;
    line-height: 9px;
    color: #AAAAAA;
    text-decoration: underline;
}

.hp-form-row {
    display: flex;
    gap: 24px;
}

.hp-form-col {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 240px;
}

.hp-form-group__half {
    display: flex;
    gap: 6px;
}

.hp-description {
    margin-top: 6px;
    max-width: 300px;
    font-size: 12px;
    line-height: 1;
}

.hp-textarea {
    padding: 10px 8px;
    height: 115px;
    resize: none;
    border-radius: 14px;
    border: 2px solid rgba(88, 85, 228, 0.5);
    font-size: 14px;
    line-height: 1;
}

.hp-form-group__half .hp_btn {
    width: calc(50% - 4px);
}

.hp_btn.hp_btn--secondary {
    background: linear-gradient(270deg, #AAAAAA 0%, #737373 100%);
}

.hp-preview-container {
    display: flex;
    gap: 20px;
}

.hp-preview-container img {
    max-height: 50px;
    max-width: 50px;
    object-fit: contain;
}

.burger {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 20px;
    right: 20px;
    border-radius: 4px;
    z-index: 10;
    display: none;
}
.burger span {
    position: relative;
    margin-top: 9px;
    margin-bottom: 9px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -1.5px;
}
.burger span, .burger span::before, .burger span::after {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #020062;
    outline: 1px solid transparent;
    -webkit-transition-property: background-color, -webkit-transform;
    -moz-transition-property: background-color, -moz-transform;
    -o-transition-property: background-color, -o-transform;
    transition-property: background-color, transform;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
.burger span::before, .burger span::after {
    position: absolute;
    content: "";
}
.burger span::before {
    top: -9px;
}
.burger span::after {
    top: 9px;
}
.burger.clicked span {
    background-color: transparent;
}
.burger.clicked span::before {
    -webkit-transform: translateY(9px) rotate(45deg);
    -moz-transform: translateY(9px) rotate(45deg);
    -ms-transform: translateY(9px) rotate(45deg);
    -o-transform: translateY(9px) rotate(45deg);
    transform: translateY(9px) rotate(45deg);
}
.burger.clicked span::after {
    -webkit-transform: translateY(-9px) rotate(-45deg);
    -moz-transform: translateY(-9px) rotate(-45deg);
    -ms-transform: translateY(-9px) rotate(-45deg);
    -o-transform: translateY(-9px) rotate(-45deg);
    transform: translateY(-9px) rotate(-45deg);
}
.burger.clicked span:before, .burger.clicked span:after {
    background-color: #020062;
}
.burger:hover {
    cursor: pointer;
}

.hp-user {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #020062;
}

.hp-notifications {
    position: relative;
}

.hp-notifications__counter {
    position: absolute;
    right: -5px;
    top: 0;
    padding: 3px 2px;
    background: #5855E4;
    color: #ffffff;
    border-radius: 50%;
    font-size: 10px;
    line-height: 9px;
    text-align: center;
}

.hp-wallet {
    color: #ffffff;
    min-width: 105px;
    background: linear-gradient(90deg, #5855E4 0%, #8CDBFF 100%);
    padding: 7px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    line-height: 1;
    gap: 4px;
    border-radius: 30px;
}

.hp-wrapper {
    display: flex;
    padding: 14px 0;
    gap: 24px;
}

.hp-sidebar {
    background-color: #ffffff;
    width: 200px;
    min-height: calc(100vh - 310px);
    border-radius: 14px;
    padding: 24px 24px 14px 30px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hp-sidebar__item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    line-height: 14px;
    color: #020062;
}

.hp-sidebar__item.active {
    color: #5855E4;
}

.hp-inner {
    min-width: calc(100% - 284px);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hp-substantiation {
    font-size: 14px;
    line-height: 16px;
    font-weight: 700;
}

.hp-tariffs-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hp-tariffs-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
}

.hp-tariffs-item__title {
    font-size: 14px;
    line-height: 16px;
    font-weight: 700;
}

.hp-tariffs-item__price {
    font-size: 28px;
    line-height: 32px;
    font-weight: 700;
}

.hp-tariffs-item__features,
.hp-tariffs-item__features-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hp-tariffs-item__features-title {
    font-size: 12px;
    line-height: 14px;
    font-weight: 700;
}

.hp-tariffs-item__features-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    line-height: 12px;
}

.hp-tariffs-item__metrics {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    line-height: 12px;
}

.hp-tariffs-item__metrics svg {
    color: #5855E4;
}

.hp-tariffs-item .hp_btn {
    width: 100%;
    margin-top: 80px;
}

.hp-tariffs-item.active {
    color: #ffffff;
    background: #5855E4;
}

.hp-tariffs-item.active .hp_btn {
    color: #020062;
    background: #ffffff;
}

.hp-tariffs-item.active .hp-tariffs-item__metrics svg {
    color: #B1DE00;
}

.hp-tariffs-item__label {
    color: #020062;
    font-size: 12px;
    line-height: 12px;
    font-weight: 700;
    padding: 5px 8px;
    border-radius: 20px;
    background: #B1DE00;
    position: absolute;
    right: 10px;
    top: 10px;
}

.hp-filter__item-radio {
    position: absolute;
    opacity: 0;
}
.hp-filter__item-radio + label {
    position: relative;
    cursor: pointer;
    padding: 0;
}
.hp-filter__item-radio + label:before {
    content: "";
    margin-left: 5px;
    display: inline-block;
    vertical-align: text-top;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #B1DE00;
    border-radius: 20px;
}
.hp-filter__item-radio:hover + label:before {
    background: white;
}
.hp-filter__item-radio:checked + label:before {
    background: white;
}
.hp-filter__item-radio:disabled + label {
    color: #b8b8b8;
    cursor: auto;
}
.hp-filter__item-radio:disabled + label:before {
    box-shadow: none;
    background: #ddd;
}
.hp-filter__item-radio:checked + label:after {
    content: "";
    position: absolute;
    right: 13px;
    top: 9px;
    background: #B1DE00;
    width: 2px;
    height: 2px;
    box-shadow: 2px 0 0 #B1DE00, 4px 0 0 #B1DE00, 4px -2px 0 #B1DE00, 4px -4px 0 #B1DE00, 4px -6px 0 #B1DE00, 4px -8px 0 #B1DE00;
    transform: rotate(45deg);
}

.hp-filter {
    display: flex;
    gap: 10px;
    align-items: center;
    height: 48px;
}

.hp-filter__wrapper {
    background: #ffffff;
    width: max-content;
    padding: 14px;
    border-radius: 10px;
    gap: 10px;
    align-items: center;
    display: none;
}

.hp-filter.open .hp-filter__wrapper {
    display: flex;
}

.hp-filter__wrapper span {
    font-size: 12px;
    line-height: 14px;
    font-weight: 700;
}

.hp-filter__list {
    display: flex;
    gap: 10px;
}

.hp-filter__item {
    display: flex;
    align-items: center;
    padding-right: 10px;
    border-right: 2px solid #F1F1F1;
}

.hp-filter__item:last-of-type {
    padding-right: 0;
    border: none;
}

.hp-filter__item-title {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    font-size: 12px;
    line-height: 12px;
}

.hp-filter__toggle {
    cursor: pointer;
}

.hp-filter__toggle-close {
    display: none;
}

.hp-filter.open .hp-filter__toggle-open {
    display: none;
}

.hp-filter.open .hp-filter__toggle-close {
    display: block;
}

.hp-search {
    display: flex;
    gap: 4px;
    padding: 10px 16px;
    border: 2px solid rgba(88, 85, 228, 0.5);
    border-radius: 50px;
    width: max-content;
    font-size: 14px;
    line-height: 14px;
    min-width: 250px;
}

.hp-search__input {
    width: calc(100% - 25px);
}

.hp-search__input::placeholder {
    color: #AAAAAA;
}

.hp-users-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 14px;
    max-height: calc(100vh - 465px);
    overflow: auto;
}

.hp-user-card {
    padding: 10px 16px 10px 10px;
    background: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hp-user-card__id {
    font-size: 12px;
    line-height: 14px;
    font-weight: 700;
    color: #ffffff;
    padding: 5px 8px;
    border-radius: 20px;
    background: #5855E4;
    align-self: flex-start;
    margin-left: auto;
}

.hp-user-card__avatar {
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
    border-radius: 50%;
    background-image: url("../svg/user-card.svg");
    background-size: contain;
}

.hp-user-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hp-user-card__name {
    font-size: 12px;
    line-height: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.hp-user-card__job,
.hp-user-card__email,
.hp-user-card__register,
.hp-user-card__online {
    font-size: 10px;
    line-height: 9px;
    margin-top: 4px;
}

.hp-user-card__register,
.hp-user-card__online {
    color: #AAAAAA;
}

.selectbox-scrollable{
    overflow-y:scroll;
    position:absolute;
    padding:0 7px 0 0;
    width: calc(100% + 17px);
    height:100%;
    border:0;
}
.selectbox-scrollbar-rail {
    position:absolute;
    overflow:auto;
    top:0px;
    right:0px;
    bottom:0;
    z-index:2;
    background:#ddd;
    width:5px;
    border-radius:0px;
}
.selectbox-scrollbar{
    cursor:n-resize;
    position:absolute;
    overflow:auto;
    top:0px;
    right:0px;
    z-index:3;
    background:#444;
    width:5px;
    border-radius:8px;
}

@media (max-width: 991px) {
    .burger {
        display: block;
    }
    .hp-header-right {
        display: none;
    }
    .hp-header-right.show {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 78px;
        left: 0;
        background-color: #ffffff;
        border-radius: 20px;
        height: calc(100vh - 78px);
        width: 100%;
        padding: 20px;
        z-index: 10;
    }
    .hp-header-right.show .hp-nav {
        display: flex;
        flex-direction: column;
    }
    .hp-header {
        padding: 20px;
    }
    .hp-front {
        flex-direction: column;
        min-height: 100%;
        gap: 20px;
        padding: 30px;
    }
    .hp-front__image {
        order: -1;
    }
    .hp-footer__nav {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .hp-footer__nav .hp-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    .hp_btn {
        width: 100%;
    }
    .hp-form-group {
        max-width: 100%;
    }

    .hp-form-row {
        flex-direction: column;
    }

    .hp-form-col {
        width: 100%;
    }
    .hp-thankyou {
        min-height: calc(100vh - 382px);
        padding: 30px;
    }
}