@charset "UTF-8";
.text-multiline {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.text-multiline.open {
  -webkit-line-clamp: 100;
  cursor: auto;
}
.text-multiline.open > * {
  pointer-events: none;
}
.text-multiline:after {
  content: "Свернуть";
  color: #9582b5;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  cursor: pointer;
}

.edit-link {
  padding: 2px 0;
  color: #6b56e2;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.edit-link:hover {
  color: var(--Colors-Buttons-Primary-Hover, #927ffb);
  border-color: var(--Colors-Buttons-Primary-Hover, #927ffb);
  transition-property: color, border-color;
  transition-duration: 0.3s;
  transition-timing-function: ease-in-out;
  transition-delay: 0s;
  will-change: color, border-color;
}

.accent-block {
  border-radius: 24px;
  border: 1px solid hsla(262, 26%, 61%, 0.1);
  background: hsla(262, 26%, 61%, 0.03);
}

.profile-page__main {
  margin-top: 8px;
  padding-top: 20px;
}

.profile-page__tabs-item {
  background: #fff;
  border-radius: 24px;
}
.profile-page__tabs-item--has-padding {
  padding: 32px;
}

.profile-page__tabs-container {
  margin-top: 12px;
}

.profile-page__tabs-btn-list {
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-page__tabs-btn-list-item {
  padding: 8px 20px;
  background: none;
  border: none;
  color: var(--Colors-Text-Text, #505050);
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 171.429% */
}
.profile-page__tabs-btn-list-item.active {
  border-radius: 8px;
  background: var(--Colors-Backgound-Pure-White, #fff);
  box-shadow: 4px 4px 8px 0px rgba(0, 0, 0, 0.08);
  font-weight: 600;
}

.profile-page__pages-list-item-actions-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 6px;
  background: rgba(149, 130, 181, 0.1);
  cursor: pointer;
}

.user-panel {
  position: relative;
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 24px;
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 320px;
}
.author__image {
  width: 68px;
  height: 68px;
  border-radius: 100%;
  object-fit: cover;
}
.author__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.author__name {
  margin: 0;
  color: hsl(0, 0%, 20%);
}
.author__email {
  margin: 0;
  color: hsl(0, 0%, 47%);
}

.balance {
  padding: 16px;
}
.balance__value {
  font-size: 14px;
  line-height: 24px;
  font-weight: 600;
  color: #505050;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user-panel__buttons {
  margin-left: auto;
  align-self: self-start;
}

.profile-content {
  border-radius: 24px;
  padding: 32px;
  background: #fff;
  display: grid;
}
.profile-content > h4 {
  margin-bottom: 12px;
}
.profile-content__item {
  padding: 24px;
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  container-type: inline-size;
}
.profile-content__item:not(:last-child) {
  margin-bottom: 32px;
}
.profile-content__item:has(> .component-table) {
  padding: 0;
}
.profile-content__element {
  position: relative;
  flex: 1 1;
  min-width: 250px;
}
.profile-content__element:not(:first-child)::before {
  position: absolute;
  content: "";
  left: -24px;
  width: 1px;
  top: 0;
  bottom: 0;
  background: rgba(149, 130, 181, 0.1019607843);
}
.profile-content__element-title {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
  color: #505050;
}
.profile-content__element-value {
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  color: #505050;
}
.profile-content__element--loguot {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.profile-content__element--loguot > .edit-link {
  display: inline-block;
  max-width: 136px;
}
.profile-content__element--has-margin {
  display: inline-block;
  margin-bottom: 32px;
}

.component-table {
  width: 100%;
}
.component-table--profile-2 {
  position: relative;
}
.component-table--profile-2 > .ai-button {
  position: absolute;
  top: -55px;
  right: 0;
}
.component-table--profile-2 .component-table__row {
  grid-template-columns: 2fr 2fr 1fr;
}
.component-table--profile-3 .component-table__row {
  grid-template-columns: 1fr 1fr 80px;
}
.component-table--profile-4 .component-table__row {
  grid-template-columns: repeat(4, 1fr);
}
.component-table--profile-5 .component-table__row {
  grid-template-columns: 220px 1fr 120px;
}
.component-table__row {
  padding: 12px 24px;
  display: grid;
  align-items: center;
  gap: 32px;
}
.component-table__row:not(:last-child) {
  border-bottom: 1px solid rgba(149, 130, 181, 0.1019607843);
}
.component-table__td {
  position: relative;
  font-size: 13px;
  line-height: 20px;
  font-weight: 400;
  color: #505050;
  height: 100%;
}
.component-table__td:not(:first-child)::before {
  position: absolute;
  content: "";
  left: -16px;
  width: 1px;
  top: 0;
  bottom: 0;
  background: rgba(149, 130, 181, 0.1019607843);
}
.component-table__td:first-child {
  font-size: 14px;
  line-height: 24px;
  font-weight: 500;
}
.component-table__th {
  font-size: 12px !important;
  line-height: 16px !important;
  color: #777777;
  font-weight: 400 !important;
}

.component-pagination {
  border-top: 1px solid rgba(149, 130, 181, 0.1019607843);
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}
.component-pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  transition: background-color 0.2s ease-in-out;
}
.component-pagination__item.active, .component-pagination__item:active {
  background: rgba(149, 130, 181, 0.1490196078);
}
.component-pagination__item--gap {
  user-select: none;
}
@media (hover: hover) {
  .component-pagination__item:not(.active, .component-pagination__item--gap, .disable):hover {
    background: rgba(149, 130, 181, 0.0705882353);
    cursor: pointer;
  }
}

.profile-page__header {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.profile-page__tabs-nav {
  display: flex;
}

[data-balance-pay-btn] {
  position: absolute;
  right: 0px;
}

.profile-page, .profile-page__header {
  position: relative;
}
