@import "reset.css";
@import "normalize.css";
@import "fonts.css";

:root {
    --white-color: #fff;
    --black-color: #000;
    --red-color: #E20E0E;
    --transparent-color: rgba(255, 255, 255, 0.25);
    --font-family: 'Montserrat';

    --btn-background-color: var(--white-color);
    --btn-hover-color: rgb(184, 208, 255);
    --btn-how-background-color: rgb(119, 207, 144);
    --btn-border-radius: 13px;
    --btn-edit-border-radius: 10px;
    --sidebar-width: 256px;

    --editor-checkbox-border-radius: 2px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-weight: 500;
    height: 100%;
    background: linear-gradient(90.00deg, rgba(36, 182, 77, 0.6) 0.5%,rgba(73, 123, 223, 0.6) 92%);
}

.wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    width: 100%;
}

.container {
    padding: 0 15px;
    max-width: 1070px;
    margin: 0 auto;
}

li {
    list-style: none;
}

a {
    color: var(--black-color);
    text-decoration: none;
}

button {
    background: transparent;
    border: 0;
    cursor: pointer;
}

.m-0 {
    margin: 0 !important;
}

.error {
    color: red !important;
    font-weight: 600 !important;
}

.success-text {
    color: green !important;
    font-weight: 600 !important;
    font-size: 13px !important;
}

.hidden {
    display: none !important;
}

.continuing {
    opacity: .4;
    pointer-events: none;
    width: 100%;
}

.btn {
    padding: 12px 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 250px;
    text-align: center;
    /*border: 2px solid rgb(184, 208, 255);*/
    border-radius: var(--btn-border-radius);
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.3),0px 4px 8px 3px rgba(0, 0, 0, 0.15);
    background: var(--white-color);
    font-weight: 500;
    cursor: pointer;
    transition: .3s all;
    z-index: 10;
}

.btn.active {
    color: #fff;
}

.btn.active::after {
    background: linear-gradient(45deg, rgba(73, 123, 223, 0.6),
    rgba(36, 182, 77, 0.6));
    opacity: 1;
}

.btn.active:not(.ai_block__col-how) {
    background: var(--btn-hover-color);
}

.btn::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    padding: 3px;
    background: linear-gradient(45deg, rgba(73, 123, 223, 0.6),
    rgba(36, 182, 77, 0.6));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    background: var(--btn-background-color);
    border-radius: calc(var(--btn-border-radius) - 1px);
    z-index: -1;
    transition: .3s all;
}

.btn:hover {
    color: #fff;
}

.btn:hover::after {
    background: linear-gradient(45deg, rgba(73, 123, 223, 0.6),
    rgba(36, 182, 77, 0.6));
    opacity: 1;
}

.btn:hover:not(.ai_block__col-how) {
    background: var(--btn-hover-color);
}

.--btn-no-img {
    padding: 20px 25px;
    justify-content: center !important;
    text-align: center;
    max-width: 100%;
}

.--btn-100 {
    width: 100%;
    max-width: 100%;
}

.--btn-red {
    color: var(--red-color);
}

.disabled {
    pointer-events: none;
}

.title {
    padding: 18px 25px;
    max-width: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    border-radius: 100px;
    backdrop-filter: blur(9px);
    background: var(--white-color);
}

.--title-with-img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.--title-with-img svg {
    position: absolute;
    left: 25px;
}

.--title-small {
    font-size: 16px;
}

.article-list-title {
    margin-bottom: 25px;
    font-size: 32px;
    text-align: center;
    color: #fff;
    font-weight: 600;
}

.invalid-feedback {
    color: red;
    font-size: 13px;
}

.switch-mode {
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai_block__col-title {
    max-width: 100%;
    width: auto;
}

.ai_block__col-how:hover {
    border: 0;
}

.ai_block__col-how:hover::before {
    opacity: 0;
}

.card-header {
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.request-area__inner {
    display: flex;
    gap: 10px;
}

.request-area__form-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 255px;
    background: var(--transparent-color);
    border-radius: 18px;
}

.chats {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 255px;
}

.request-area__form,
.request-area__form-content {
    display: flex;
    width: 100%;
    border-radius: 0 0 18px 18px;
    border: 1px solid green;
}

.request-area__input-wrapper {
    padding-right: 43px;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.request-area__input-wrapper.disable {
    display: none;
}

.request-area__input {
    padding: 15px;
    width: 100%;
    text-align: center;
    resize: none;
    overflow: hidden;
    outline: none;
    border: 0;
    background: transparent;
    font-weight: 500;
}

.request-area__input:-webkit-autofill {
    background: transparent;
}

.request-area__input:-webkit-autofill:focus {
    background: transparent;
}

.request-area__input::placeholder {
    font-weight: 500;
    color: var(--black-color);
}

.request-area__input-icon {
    position: absolute;
    right: 25px;
    cursor: pointer;
}

.request-area__btn {
    padding: 15px;
    font-weight: 500;
    background: transparent;
    outline: none;
    border: 0;
    border-left: 1px solid;
    border-right: 1px solid;
    cursor: pointer;
}

.request-area__btn.no-r-border {
    border-right: 0;
}

.request-area__attach-wrapper {
    position: relative;
    max-width: 65px;
    width: 100%;
    cursor: pointer;
}

.request-area__attach-wrapper label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.request-area__attach-wrapper svg {
    cursor: pointer;
}

.request-area__attach {
    display: none;
}

.modification {
    padding: 16px;
    background: #fff;
    border-radius: 15px;
    width: 100%;
    height: 100%;
    max-width: 201px;
}

.--modification-m {
    max-width: 250px;
    height: auto;
}

.modification-title {
    margin-bottom: 14px;
    text-align: center;
}

.modification-item {
    margin-bottom: 14px;
    display: flex;
    justify-content: space-between;
}

.modification-item span {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.modification-item:last-child {
    margin-bottom: 20px;
}

.modification-choose {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 2px;
    outline: none;
    font-weight: 500;
    display: flex;
    text-align: center;
    width: 25px;
    height: 25px;
}

.modification-input-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}

.modification-input {
    width: 30px;
    height: 30px;
    text-align: center;
}

.modification-input::-webkit-outer-spin-button,
.modification-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.modification-input[type='number'] {
    -moz-appearance: textfield;
}


.--modification-choose-m {
    width: 100%;
    max-width: 160px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

#range-slider {
    margin: 0 auto;
    width: 85%;
    height: 5px;
    background: linear-gradient(90.00deg, rgba(36, 182, 77, 0.6) 0.5%,rgba(73, 123, 223, 0.6) 92%);
    border: none;
    box-shadow: none;
}

.modification-item.range-slider {
    margin-bottom: 40px;
    height: 25px;
    align-items: center;
}

.noUi-base {
    cursor: pointer;
}

.noUi-horizontal .noUi-handle {
    width: 25px !important;
    height: 25px !important;
    border-radius: 50%;
    background: #296F30;
    box-shadow: none !important;
    border: none !important;
    top: -11px !important;
    right: -10px !important;
    cursor: pointer;
}

.noUi-handle:after,
.noUi-handle:before {
    display: none !important;
}

.noUi-marker {
    display: none;
}

.noUi-value,
.noUi-value-sub {
    font-size: 16px !important;
    font-weight: 500;
    font-family: var(--font-family);
    color: var(--black-color) !important;
    top: 5px;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 34px;
    -webkit-transition: .4s;
    transition: .4s;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 19px;
    width: 19px;
    left: 0;
    bottom: 2%;
    background-color: #296F30;
    border-radius: 50%;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .switch-slider {
    background: linear-gradient(90.00deg, rgba(36, 182, 77, 0.6) 0.5%,rgba(73, 123, 223, 0.6) 92%);
}

input:focus + .switch-slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .switch-slider:before {
    -webkit-transform: translateX(30px);
    -ms-transform: translateX(30px);
    transform: translateX(30px);
}

.content {
    margin-bottom: 30px;
}

.content__inner {
    display: flex;
    gap: 20px;
}

.content__inner > div:nth-of-type(1) {
    width: 100%;
}

.content__left {
    display: flex;
    flex-direction: column;
}

.sidebar-wrapper {
    height: 93.5%;
}

.content__collection {
    padding: 10px 0 80px 0;
    display: flex;
    flex-direction: column;
    gap: 80px;
    border: 2px solid rgb(184, 208, 255);
    border-radius: 15px;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.3), 0px 4px 8px 3px rgba(0, 0, 0, 0.15);
    background: var(--white-color);
    height: 100%;
    max-width: 256px;
    opacity: .4;
    pointer-events: none;
}

.content__collection-title {
    font-size: 24px;
    font-weight: 600;
    text-align: center;
}

.content_collection__items-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.content__collection-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.content__collection-item span {
    font-size: 24px;
    font-weight: 500;
    max-width: 120px;
}

.content__collection-item svg {
    width: 60px;
    height: 60px;
}

.header__inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    margin: 30px 0 20px 0;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(white, white) padding-box,
    linear-gradient(90.00deg, rgba(36, 182, 77, 0.6) 0.5%,rgba(73, 123, 223, 0.6) 92%);
    border-radius: 50em;
    border: 4px solid transparent;
    backdrop-filter: blur(9px);
    background: var(--transparent-color);
}

.header__logo {
    padding-left: 75px;
}

.header__nav ul {
    padding-right: 36px;
    display: flex;
    gap: 36px;
}

.header__item-link.soon {
    opacity: .4;
    cursor: default;
}

/* .header__item-link {
    background: linear-gradient(90deg, rgba(73, 123, 223, 1) 50%, rgba(36, 182, 77, 1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
    background-clip: text;
    text-fill-color: transparent;
} */

.header__item-link {
    font-weight: bold;
    color: var(--white-color);
    position: relative;
    z-index: 1;
    text-shadow: 0px 0px 6px rgba(73, 123, 223, 0.6), 0px 0px 3px rgba(36, 182, 77, 0.6);
}

.header__item-link::before {
    content: attr(data-text);
    position: absolute;
    top: 2px;
    left: 0;
    z-index: -1;
    color: transparent;
    -webkit-text-stroke: 2px transparent;
    text-stroke: 2px transparent;
    background: linear-gradient(90deg, rgba(73, 123, 223, 1) 50%, rgba(36, 182, 77, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 2.5px transparent;
}

.breadcrumbs {
    margin-bottom: 15px;
}

.breadcrumbs,
.breadcrumb {
    color: var(--white-color);
    font-size: 14px;
    font-weight: 400;
}

.user {
    padding: 23px 17px 0 17px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.user__avatar {
    width: 100%;
    height: 100%;
    max-width: 60px;
    max-height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.user__name {
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.3),0px 4px 8px 3px rgba(0, 0, 0, 0.15);
    background: rgb(255, 255, 255);
    font-weight: 600;
}

.user__balance {
    font-weight: 600;
}

.sidebar {
    position: sticky;
    top: 10px;
    max-width: var(--sidebar-width);
    width: 100%;
    height: max-content;
    background: var(--transparent-color);
}

.sidebar__menu-item {
    padding: 18px 0 18px 28px;
    display: flex;
    gap: 43px;
    background: var(--white-color);
    border-bottom: 1px solid #efefef;
    transition: .3s all;
}

.sidebar__menu-item:last-child {
    padding: 18px 28px;
    border-bottom: 0;
    justify-content: center;
    width: 100%;
}

.sidebar__menu-item:hover {
    background: rgb(184, 208, 255);
}

.sidebar__item-text {
    color: var(--black-color);
    font-weight: 600;
}


.ai_block {
    padding: 30px 20px;
    width: 100%;
    background: var(--transparent-color);
}

.ai_blocks-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ai_block__col {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.ai_block__col:last-child {
    margin-bottom: 0;
}

.ai_block__col-how {
    max-width: 230px;
    width: 100%;
    font-weight: 600;
    background: var(--btn-how-background-color);
}

.ai_block__col-btn {
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
}

.models__inner {
    padding: 30px 20px;
    background: var(--transparent-color);
}

.models__modification-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 250px;
}

.models__choose {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.models__choose-multi {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    justify-content: space-between;
}

.models__btns-wrapper {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 20px;
    column-gap: 10px;
}

.model__btn.btn {
    width: auto;
}

.models__how-btn {
    padding: 15px 20px;
    background: #77CF90;
    max-width: 100%;
    font-weight: 600;
}


.chat__messages {
    padding: 15px 20px;
    flex: auto;
    max-height: 600px;
    overflow: auto;
}

.models__description,
.models__prompts {
    font-weight: 500;
    border: 2px solid rgb(184, 208, 255);
    border-radius: 15px;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.3),0px 4px 8px 3px rgba(0, 0, 0, 0.15);
    background: var(--white-color);
}

.models__description {
    margin: 15px 0 20px 0;
    padding: 12px 25px;
}

.models__prompts {
    margin-bottom: 20px;
    padding: 30px 10px;
}

.models__prompts span {
    padding-bottom: 10px;
    display: inline-block;
}

.models__prompts-item {
    margin-bottom: 5px;
    padding-left: 15px;
    list-style-type: disc;
}

.models__prompts-item:last-child {
    margin-bottom: 0;
}

.models__workplace {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.models__workplace-img {
    max-width: 460px;
    max-height: 592px;
    width: 100%;
    object-fit: cover;
}


.chat__settings.disable {
    display: none;
}

.chat__settings-btn {
    padding: 12px 0;
    margin-bottom: 20px;
}

.chat__settings-btn:last-child {
    margin-bottom: 0;
}

.prompt {
    margin-bottom: 17px;
}


.stock-columns {
    display: flex;
    gap: 20px;
    min-height: 278px;
}

.stock-column {
    padding: 10px;
    width: 100%;
    background: rgba(255, 255, 255, 0.25);
}

.stock-column-item {
    margin-bottom: 15px;
}

.stock-item-wrapper {
    position: relative;
}

.stock-item-menu {
    position: absolute;
    top: 37px;
    opacity: 0;
    pointer-events: none;
    transition: .2s all;
    z-index: 10;
}

.stock-item-more + .stock-item-menu {
    display: flex;
    flex-direction: column;
    background: #fff;
}

.stock-item-more + .stock-item-menu {
    left: 0;
}

.stock-item-repost + .stock-item-menu {
    display: flex;
    flex-wrap: wrap;
    left: -10px;
    justify-content: center;
    width: 70px;
    gap: 5px;
}

.stock-item-menu.show {
    opacity: 1;
    pointer-events: auto;
}

.stock-menu-item {
    cursor: pointer;
}

.stock-menu-item.social {
    width: 30px;
    height: 32px;
}

.stock-menu-item.vk {
    background: url("../img/icons/vk.svg") no-repeat center / cover;
}

.stock-menu-item.ok {
    background: url("../img/icons/ok.svg") no-repeat center / cover;
}

.stock-menu-item.tg {
    background: url("../img/icons/tg.svg") no-repeat center / cover;
}

.stock-menu-item.wt {
    background: url("../img/icons/wt.svg") no-repeat center / cover;
}

.stock-menu-item.rd {
    background: url("../img/icons/rd.svg") no-repeat center / cover;
}

.stock-item-more + .stock-item-menu .stock-menu-item {
    padding: 5px 16px;
    font-size: 14px;
    border-bottom: 1px solid;
    transition: .2s all;
}

.stock-item-more + .stock-item-menu .stock-menu-item:hover {
    background: #ccc;
}

.stock-item-more + .stock-item-menu .stock-menu-item:last-child {
    border-bottom: 0;
}

.stock-item-header.hidden {
    display: none !important;
}

.stock-item-name {
    font-size: 12px;
}

.stock-item-btns {
    display: flex;
    align-items: center;
    gap: 13px;
}

.stock-item-more {
    border: 3px solid;
    font-size: 20px;
}

.stock-item-repost {
    background: url('../img/icons/repost.svg');
    background-size: cover;
    width: 25px;
    height: 21px;
}

.stock-item-like.liked svg path {
    fill: #ff1f1f;
}

.stock-item-img {
    width: 100%;
    height: 100%;
    min-height: 221px;
    cursor: pointer;
    object-fit: cover;
}

.stock-img-wrapper {
    position: relative;
}


.photostock {
    width: 100%;
}

.photostock__header {
    margin-bottom: 17px;
    display: flex;
    justify-content: space-between;
}

.photostock__switch-mode {
    max-width: 326px;
}

.overflow-img {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    visibility: hidden;
    transition: .2s all;
}

.overflow-img.show {
    opacity: .5;
    visibility: visible;
}

.photostock__popup {
    position: fixed;
    top: 5%;
    left: 55%;
    transform: translate(-50%, 0);
    visibility: hidden;
    opacity: 0;
    max-width: 660px;
    width: 100%;
    height: auto;
    background: #fff;
    border-radius: 10px;
    transition: .3s all;
}

.photostock__popup.show {
    visibility: visible;
    opacity: 1;
}

.photostock__popup-head {
    position: relative;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copy-prompt__modal {
    position: absolute;
    right: -19%;
    top: 52px;
    padding: 10px;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    border-radius: 10px;
    transition: .2s all;
}

.copy-prompt__modal.show {
    opacity: 1;
    visibility: visible;
}

.photostock__popup-prompt {
    display: block;
    max-width: 545px;
}

.photostock__popup-img {
    width: 100%;
    height: 100%;
    max-height: 660px;
    object-fit: cover;
}

.photostock__popup-footer {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
}

.photostock__popup-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.overflow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    visibility: hidden;
    opacity: 0;
    transition: .3s all;
}

.overflow.show {
    visibility: visible;
    opacity: .7;
}


.video__generation-inner {
    padding: 30px 20px;
    background: var(--transparent-color);
}

.video__generation-header {
    margin-bottom: 17px;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.video__switch-mode {
    max-width: 326px;
}

.video__generation-form-wrapper {
    background: transparent;
}

.video__generation-video-wrapper:has(video) {
    margin: 15px 0;
}

.video-wrapper {
    position: relative;
}

.video-wrapper.visible {
     cursor: pointer;
 }

.video-wrapper.visible::before,
.video-wrapper.visible::after {
    visibility: visible;
}

.video-wrapper.visible::before {
    opacity: .5;
}

.video-wrapper.visible::after {
    opacity: 1;
}


.video-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 98.6%;
    background: #000;
    visibility: hidden;
    opacity: 0;
    transition: .2s all;
}

.video-wrapper-main::before {
    height: 99.5%;
}


.video-wrapper::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: url("../img/icons/play.svg") no-repeat;
    width: 100px;
    height: 100px;
    visibility: hidden;
    opacity: 0;
    transition: .2s all;
}

.video__generation-video-wrapper {
    margin-top: 15px;
}

.video__generation-video-wrapper p {
    margin-bottom: 15px;
    text-align: center;
    font-weight: 600;
}

.video__generation-loading {
    width: 100%;
    max-height: 390px;
    object-fit: cover;
}

.video__generation-img {
    margin-bottom: 15px;
}

.video__generation-video,
.video__generation-img{
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.videos {
    padding-top: 35px;
}

.videos__switch-mode {
    margin-bottom: 10px;
}

.videos__item-video {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    object-position: center;
}

.videos__item-views {
    margin-top: 7px;
    font-weight: 600;
}

.videos__item-repost + .videos__item-menu {
    flex-wrap: nowrap;
    width: auto;
    left: 0;
    gap: 10px;
}


.editor__items {
    margin-bottom: 0;
}

.editor__items-columns {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.editor__items-col {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.editor__item {
    max-width: 200px;
    width: 100%;
}

.editor__item-header {
    margin-bottom: 10px;
    display: flex;
    gap: 7px;
}

.editor__item-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.videos__btns-wrapper {
    margin-left: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.editor__item-header.text {
    font-size: 14px;
    flex-direction: column;
}

.copy-prompt {
    cursor: pointer;
}

.editor__item-btn {
    padding: 2px 10px;
    border-radius: var(--btn-edit-border-radius);
}

.editor__item-btn::before {
    border-radius: var(--btn-edit-border-radius);
}

.editor__item-btn::after {
    border-radius: var(--btn-edit-border-radius);
}

.editor__item-checkbox {
    width: 25px;
    height: 25px;
    border: 2px solid;
    border-radius: var(--editor-checkbox-border-radius);
    cursor: pointer;
}

.editor__item-checkbox:checked {
    background: var(--white-color);
}

.editor__item-img {
    max-width: 200px;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.editor__checkbox-wrapper > input {
    appearance: none;
    position: relative;
    width: 30px;
    height: 30px;
    border: 2px solid transparent;
    border-image: linear-gradient(90deg, rgba(36, 182, 77, 0.6) 0.5%, rgba(73, 123, 223, 0.6) 92%) 1;
    transition: 500ms;
}

.checkbox-option {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkbox-option:last-child {
    margin-bottom: 0;
}

.editor__item-checkbox::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0px;
    height: 0px;
    font-size: 26px;
    background: url("../img/icons/check.svg") no-repeat;
    background-size: contain;
    transition: 500ms;
    overflow: hidden;
}

.editor__item-checkbox:checked:after {
    width: 20px;
    height: 20px;
}

/* .editor__item-checkbox::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90.00deg, rgba(36, 182, 77, 0.6) 0.5%,rgba(73, 123, 223, 0.6) 92%)
} */

.templates {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.templates__title {
    margin-bottom: 50px;
}

.templates__category-title {
    margin-bottom: 13px;
    position: relative;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    max-width: 100%;
    text-align: center;
    border-radius: 7px;
    font-size: 16px;
    font-weight: 500;
}

.templates__category-title span {
    flex: 1;
}

.templates__category-title::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 3px;
    background: linear-gradient(45deg, rgba(73, 123, 223, 0.6),
    rgba(36, 182, 77, 0.6));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
}

.tabs {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tab-btn {
    padding: 12px 5px;
    background: rgba(255, 255, 255, 0.25);
}

.templates__items {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.templates__items-wrapper {
    display: flex;
    gap: 25px;
}

.templates__item {
    position: relative;
    padding: 10px 7px;
    background: var(--white-color);
    border-radius: 7px;
    max-width: 240px;
}

.templates__item::before {
    content: '';
    position: absolute;
    top: -1.5px;
    left: -1.5px;
    width: 100%;
    height: 100%;
    border-radius: 9px;
    padding: 1.5px;
    background: linear-gradient(45deg, rgba(73, 123, 223, 0.6),
    rgba(36, 182, 77, 0.6));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
}

.templates__item-title {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
}

.templates__item-text {
    font-size: 14px;
    line-height: 17px;
}


.generation-articles__inner {
    height: 100%;
}

.generation-articles {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.generation-articles__title {
    margin-bottom: 10px;
}

.generation-articles__settings {
    position: relative;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background: var(--white-color);
    border-radius: 7px;
}

.generation-articles__settings::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 100%;
    height: 100%;
    border-radius: 9px;
    padding: 2px;
    background: linear-gradient(45deg, rgba(73, 123, 223, 0.6),
    rgba(36, 182, 77, 0.6));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
}

.generation-articles__settings-title {
    margin-bottom: 7px;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
}

.generation-articles__items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.generation-articles__settings-item {
    display: flex;
    justify-content: space-between;
}

.generation-articles__input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.generation-articles__settings-input {
    position: relative;
    padding: 5px 10px;
    width: 100%;
    font-size: 16;
    font-weight: 500;
    line-height: 20px;
    border: 2px solid green;
    border-radius: 10px;
}

.generation-articles__settings-input::placeholder {
    color: var(--black-color);
}

.generation-articles__select-wrapper {
    display: flex;
    gap: 17px;
}

.generation-articles__tabs {
    margin-bottom: 10px;
    padding-top: 10px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 10px;
    column-gap: 17px;
}

.generation-articles__tab {
    justify-content: flex-start;
    max-width: 247px;
}

.generation-articles__cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.generation-articles__card {
    position: relative;
    padding: 15px 25px;
    width: 100%;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 7px;
    flex: 49%;
}

.generation-articles__card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 100%;
    height: 100%;
    border-radius: 9px;
    padding: 2px;
    background: linear-gradient(45deg, rgba(73, 123, 223, 0.6),
    rgba(36, 182, 77, 0.6));
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
}

.generation-articles__card-header {
    margin-bottom: 10px;
    display: flex;
    justify-content: flex-end;
    gap: 5px;
}

.generation-articles__card-img {
    width: auto;
    float: inline-end;
}


.prompts {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.prompts button {
    height: 60px;
}

.prompts__inner {
    padding: 30px 20px;
    background: var(--transparent-color);
    height: 100%;
}

.prompts__models-wrapper {
    padding-top: 15px;
    margin-bottom: 15px;
    display: flex;
    gap: 7px;
}

.prompts__models {
    position: relative;
    padding: 18px 10px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    background: var(--white-color);
    max-width: 240px;
    width: 100%;
    border-radius: 15px;
}

.prompts__models::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    padding: 3px;
    background: linear-gradient(45deg, rgba(73, 123, 223, 0.6), rgba(36, 182, 77, 0.6));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 10;
}

.prompts__btn {
    margin-bottom: 15px;
}

.prompts__btn:last-child {
    margin-bottom: 0;
}

.prompts__history-tabs {
    margin-top: 15px;
    gap: 0;
    background: var(--white-color);
    border-radius: 10px;
}

.prompts__history-tab {
    padding: 20px;
    width: 100%;
    text-align: center;
    border-right: 4px solid;
}

.prompts__history-tab:nth-child(1) {
    max-width: 250px;
}

.prompts__history-tab:nth-child(2) {
    max-width: 490px;
}

.prompts__history-tab:nth-child(3) {
    max-width: 120px;
}

.prompts__history-tab:nth-child(4) {
    max-width: 170px;
}

.prompts__history-tab:last-child {
    border-right: 0;
}

.prompts__history-cols {
    display: flex;
    gap: 20px;
}

.prompts__history-col {
    /* flex: 1; */
}

.prompts__history-col:nth-child(1) {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 240px;
    width: 100%;
}

.prompts__history-col:nth-child(2) .prompts__history-text {
    max-width: 470px;
    width: 100%;
}

.prompts__history-col:nth-child(3) {
    max-width: 100px;
    width: 100%;
}

.prompts__history-col:nth-child(4) {
    max-width: 150px;
    width: 100%;
}

.prompts__history-text {
    padding: 10px;
    width: 470px !important;
    height: 100% !important;
    border: 0;
    border-radius: 15px;
    font-size: 14px;
    outline: none;
    resize: none;
    background: #fff;
}

.prompts__history-dates {
    display: flex;
    flex-direction: column;
    background: var(--white-color);
    border-radius: 15px;
    height: 100%;
}

.prompts__history-date {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.prompts__events {
    padding: 32px 0 32px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--white-color);
    border-radius: 15px;
    height: 100%;
}

.prompts__event {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.prompts__event-copy svg {
    width: 40px;
    height: 50px;
    cursor: pointer;
}

.prompts__event-copy svg path {
    transition: .3s all;
}

.prompts__event-text {
    display: none;
}

.prompts__event-repost svg {
    width: 50px;
    height: 46px;
    cursor: pointer;
}

.suno__item {
    display: flex;
    align-items: center;
}

.suno__item-link {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.suno__item-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.suno__item-img {
    max-width: 150px;
    max-height: 150px;
}

.suno__item-like {
    display: flex;
    align-items: center;
    gap: 5px;
}


.tarrifs {
    display: flex;
    flex-direction: column;
}

.tarrifs__inner {
    padding: 30px 20px;
    background: var(--transparent-color);
    height: 100%;
}

.tarrifs__title {
    margin-bottom: 30px;
}

.trarrifs__switcher {
    margin: 0 auto 25px auto;
    display: flex;
    max-width: 280px;
    width: 100%;
}

.tarrifs__switcher-btn {
    position: relative;
    padding: 18px 16px;
    width: 100%;
    background: linear-gradient(45deg, rgba(73, 123, 223, 0.6), rgba(36, 182, 77, 0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    cursor: pointer;
    transition: .3s all;
}

.tarrifs__switcher-btn.active {
    color: var(--white-color);
    -webkit-text-fill-color: var(--white-color);
}

.tarrifs__switcher-btn.active::after {
    background: linear-gradient(45deg, rgba(73, 123, 223, 0.6), rgba(36, 182, 77, 0.6));
}

.tarrifs__switcher-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white-color);
    z-index: -1;
    transition: .3s all;
}

#tarrif-month::after {
    border-radius: 100px 0px 0px 100px;
}

#tarrif-year::after {
    border-radius: 0px 100px 100px 0px;
}

#tarrif-month {
    border-radius: 100px 0px 0px 100px;
}

#tarrif-year {
    border-radius: 0px 100px 100px 0px;
}

.tarrifs__cols {
    display: flex;
    gap: 15px;
}

.tarrifs__col {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 17px;
}

.tarrifs__item {
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
    background: var(--white-color);
    border-radius: 10px;
    height: 100%;
    min-height: 500px;
}

.tarrifs__item.empty {
    visibility: hidden;
    opacity: 0;
}

.tarrifs__item-head {
    margin-bottom: 13px;
    padding: 15px 0;
    color: var(--white-color);
    background: linear-gradient(90.00deg, rgba(73, 123, 223, 0.6) 50%,rgba(36, 182, 77, 0.6) 99.5%);
    border-radius: 10px 10px 0 0;
    text-align: center;
}

.tarrifs__head-wrapper {
    margin-bottom: 13px;
    padding: 0 9px;
}

.tarrifs__item-price {
    margin-bottom: 5px;
    display: block;
    font-size: 24px;
    font-weight: 600;
    line-height: 29px;
}

.tarrifs__item-desc {
    display: block;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
}

.tarrifs__item-desc.--with-discount {
    display: flex;
    align-items: center;
    font-weight: 600;
}

.tarrifs__item-discount {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: rgb(255, 138, 86);
    font-weight: 600;
    line-height: 30px;
}

.tarrifs__item-spliter {
    padding: 15px 0;
    color: var(--white-color);
    background: linear-gradient(90.00deg, rgba(73, 123, 223, 0.6) 50%,rgba(36, 182, 77, 0.6) 99.5%);
    font-weight: 600;
    line-height: 20px;
    text-align: center;
}

.tarrifs__item-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tarrifs__item-content span {
    font-size: 16px;
    font-weight: 500;
}

.tarrifs__btn-wrapper {
    display: flex;
    align-items: flex-end;
    height: 100%;
}

.tarrifs__item-btn {
    margin: 40px auto 0 auto;
    padding: 20px 20px;
    max-width: 220px;
}

.auth {
    margin: 90px 0;
}

.text-center {
    text-align: center;
}

.text-end {
    text-align: end;
}

.w-100 {
    width: 100% !important;
}

.auth__form-link:hover {
    text-decoration: underline;
}

.auth__inner {
    display: flex;
    box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.15),0px 1px 2px 0px rgba(0, 0, 0, 0.3);
    border-radius: 15px;
}

.auth__left {
    background: #fff;
    border: 2px solid rgb(184, 208, 255);
    border-radius: 15px 0px 0px 15px;
    max-width: 462px;
    width: 100%;
}

.auth__right {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgb(184, 208, 255);
    border-radius: 0px 15px 15px 0px;
    background: linear-gradient(90.00deg, rgba(36, 182, 77, 0.6) 0.5%,rgba(73, 123, 223, 0.6) 92%);
    width: 100%;
}

.auth__img {
    max-width: 300px;
    width: 100%;
}

.auth__form {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.login__form {
    height: 491px;
}

.auth__form-groups {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.auth__form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth__form-group .auth__form-input {
    padding: 12px 16px;
    border: 1px solid rgb(184, 208, 255);
    border-radius: 8px;
    outline: none;
}

.auth__checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 17px;
    width: 100%;
}

register__checkbox-wrapper {
    justify-content: space-between;
}

.register__form-label {
    max-width: 350px;
}

.auth__form-checkbox {
    position: absolute;
    appearance: none;
}

.auth__form-checkbox-view {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.auth__form-checkbox:checked ~ .auth__form-checkbox-view::after {
    opacity: 1;
    visibility: visible;
}

.auth__form-checkbox-view::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 100%;
    background: rgb(101, 85, 143);
    border-radius: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.auth__form-checkbox-view::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 10px;
    opacity: 0;
    visibility: hidden;
    background: url('../img/icons/check-white.svg') no-repeat;
    background-size: contain;
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
}

.article-content {
    margin: 35px 0 30px 0;
}

.article-content__inner {
    display: flex;
    gap: 20px;
}

.article-content__structure {
    padding: 30px 25px 30px 25px;
    background: #fff;
    border-radius: 50px;
    min-width: 250px;
}

.article-content__structure-title {
    margin-bottom: 35px;
    font-size: 20px;
    font-weight: 700;
}

.content__structure-item {
    display: block;
    margin-bottom: 15px;
}

.content__structure-item:last-child {
    margin-bottom: 0;
}

.content__main {
    padding: 30px;
    background: #fff;
    border-radius: 50px;
    overflow: auto;
    max-height: 500px;
}

.content__main * {
    margin-bottom: 30px;
}

.article-section {
    margin-bottom: 20px;
}

.article-section:last-child {
    margin-bottom: 0;
}

.article-list {
    display: flex;
    justify-content: space-between;
}

.article-list__item {
    max-width: 240px;
}

.article-item {
    max-width: 240px;
}

.article-item img {
    margin-bottom: 15px;
    border-radius: 10px;
    max-width: 240px;
    width: 100%;
}

.article-item__title {
    margin-bottom: 15px;
    display: block;
    font-weight: 600;
    color: #fff;
}

.article-item__description {
    font-size: 14px;
    color: #fff;
}

.comments {
    margin: 60px 0 40px 0;
    background: #fff;
    border-radius: 50px;
}

.comment__form {
    position: relative;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.comment__form.reply-comment {
    margin-top: 20px;
}

.comments__input {
    padding: 20px 140px 20px 20px;
    border-radius: 50px;
    outline: none;
}

.comments__btns {
    position: absolute;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    height: 100%;
}

.comment {
    margin-bottom: 20px;
}

.comment:last-child {
    margin-bottom: 0;
}

.comment.comment-reply {
    padding-left: 20px;
}

.comment__head {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.comment__user-avatar {
    max-width: 30px;
    max-height: 30px;
    border-radius: 50px;
}

.comment__content {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment__img {
    max-width: 150px;
    max-height: 110px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left;
}

.comment__btns {
    display: flex;
    align-items: center;
    gap: 30px;
}

.comment__reply-btn {
    border-radius: 50px;
    max-width: 120px;
}

.comment__like-btn {
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment__reply-btn::before {
    border-radius: 50px;
}

.comment__reply-btn::after {
    border-radius: 50px;
}

.comment__show-replies-btn {
    margin-bottom: 20px;
}

.comment__replies {
    margin-bottom: 20px;
    display: none;
}

.comment__replies.show {
    display: block;
}

.comments__attach {
    position: relative;
    cursor: pointer;
}

.comments__attach label {
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.comments__attach-image {
    width: 0;
    visibility: hidden;
}

.comments__article {
    padding: 0 40px 20px 40px;
}

.img-wrapper {
    position: relative;
    height: 100%;
}

#drawingArea {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: .5;
    background: #000;
}

#drawingArea.active {
    display: block;
}

.drawingBtn-wrapper {
    display: none;
}

.drawingBtn-wrapper.active {
    display: block;
}

.form__btn {
    padding: 12px 0;
    color: #fff;
    width: 100%;
    max-width: 100%;
    background: linear-gradient(90.00deg, rgb(28, 138, 59) 0.5%,rgb(15, 87, 227) 92%);
    border-radius: 8px;
    text-align: center;
    font-weight: 400;
}

.footer {
    margin-top: auto;
    padding: 35px 20px 15px 20px;
    backdrop-filter: blur(9px);
    background: linear-gradient(90.00deg, rgba(36, 182, 77, 0.6) 0.5%,rgba(73, 123, 223, 0.6) 92%);
}

.footer__top {
    margin-bottom: 40px;
    display: flex;
    gap: 60px;
}

.footer__menu {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer__menu-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__menu-link {
    color: var(--white-color);
    font-size: 14px;
    font-weight: 600;
}

.footer__menu-link:hover {
    text-decoration: underline;
}

.footer__cols-wrapper {
    display: flex;
    width: 100%;
    gap: 35px;
}

.footer__col {
    width: 100%;
}

.footer__col-title {
    padding-left: 30px;
    color: var(--white-color);
    font-weight: 700;
}

.footer__line {
    margin: 15px 0 15px 0;
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--white-color);
}

.footer__col-links {
    display: flex;
    justify-content: space-between;
}

.footer__links-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__link {
    color: var(--white-color);
    font-weight: 500;
}

.footer__link:hover {
    text-decoration: underline;
}

.footer__bottom-wrapper {
    display: flex;
    justify-content: space-between;
}

.footer__copyright,
.footer__politics {
    color: var(--white-color);
    font-size: 14px;
}

.footer__politics {
    text-decoration: underline;
}

.loader-container {
    display: flex;
    justify-content: center;
}

.loader {
    display: none;
}
