.single-page__main {
  margin-top: 8px;
  padding-top: 20px;
  display: grid;
  grid-template-columns: 8fr 1fr;
  align-items: center;
}
.single-page__new-topic {
  position: absolute;
  top: -62px;
  right: 0;
  padding: 8px 8px 8px 16px;
  border-radius: 8px;
  background: var(--Colors-Buttons-Secondary, rgba(149, 130, 181, 0.2));
  border: none;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.single-page__new-content {
  position: absolute;
  top: -62px;
  right: 0;
  padding: 8px 8px 8px 16px;
  border-radius: 8px;
  background: var(--Colors-Buttons-Primary, #6b56e2);
  border: none;
  color: var(--Colors-Backgound-Pure-White, #fff);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 171.429% */
  display: flex;
  align-items: center;
  gap: 12px;
}
.single-page__new-content--options {
  padding: 8px 24px;
}
.single-page__tabs-container {
  grid-column: 1/-1;
  margin-top: 12px;
  position: relative;
}
.single-page__tabs-btn-list {
  display: flex;
  align-items: center;
  gap: 8px;
}
.single-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% */
}
.single-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;
}
.single-page__pages {
  position: relative;
}
.single-page__pages-toolbar {
  padding: 12px 12px 12px 24px;
  border-radius: 16px;
  background: var(--white-fff, #fff);
  display: flex;
  align-items: center;
  gap: 12px;
}
.single-page__pages-toolbar-count {
  flex: 1 1 auto;
}
.single-page__pages-toolbar-publish {
  position: relative;
  padding: 6px 16px;
  border-radius: 8px;
  background: var(--Colors-Buttons-Secondary, rgba(149, 130, 181, 0.15));
  border: none;
  color: var(--Colors-Text-Text, #505050);
  text-align: center;
  /* 13pt - Medium */
  font-family: Inter;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 153.846% */
}
.single-page__pages-toolbar-delete {
  position: relative;
  padding: 4px 16px !important;
  border-radius: 8px;
  border: none;
  text-align: center;
  /* 14pt - SemiBold */
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 171.429% */
}
.single-page__pages-toolbar-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--white-fff, #fff);
  color: var(--Colors-Text-Text, #505050);
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Inter;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(149, 130, 181, 0.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: scale(0);
  transition: all 0.2s ease;
}
.single-page__pages-toolbar-badge.visible {
  opacity: 1;
  transform: scale(1);
}
.ai-button--red .single-page__pages-toolbar-badge {
  background: var(--white-fff, #fff);
  border-color: rgba(255, 59, 48, 0.2);
  color: #ff3b30;
}
.single-page__pages-head {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 0.95fr 120px 160px 110px 80px 160px 60px;
  align-items: center;
  column-gap: 16px;
  padding: 24px 24px 16px 24px;
  border-radius: 24px 24px 0px 0px;
  border-bottom: 1px solid var(--stroke-10, rgba(112, 48, 222, 0.1));
  background: var(--white-fff, #fff);
}
.single-page__pages-head-item {
  padding-left: 16px;
  border-left: 1px solid rgba(149, 130, 181, 0.2);
  color: var(--Colors-Text-Subtext, #777);
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px; /* 133.333% */
}
.single-page__pages-head-item:first-child {
  padding-left: 0;
  border-left: none;
}
.single-page__pages-list {
  display: flex;
  flex-direction: column;
}
.single-page__pages-list:has(> .loader) {
  position: relative;
}
.single-page__pages-list:has(> .loader) .loader {
  top: 24px;
  left: calc(50% - 24px);
}
.single-page__pages-list-item {
  padding: 16px 24px;
  background: var(--white-fff, #fff);
  display: grid;
  grid-template-columns: 0.95fr 120px 160px 110px 80px 160px 60px;
  align-items: center;
  column-gap: 16px;
  border-bottom: 1px solid var(--colors-stroke-blocks-20, rgba(149, 130, 181, 0.2));
  color: var(--Colors-Text-Text, #505050);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 153.846% */
}
.single-page__pages-list-item:last-of-type {
  border-radius: 0px 0px 24px 24px;
  border-bottom: none;
}
.single-page__pages-list-item[data-status=Bulk] .single-page__pages-list-item-status::after {
  background: linear-gradient(90deg, #7fe4bc 0%, #a9f5d9 50%, #7fe4bc 100%);
  background-size: 200% 100%;
  animation: shimmer 1s infinite;
}
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.single-page__pages-list-item-status {
  margin-left: 16px;
  padding: 8px 12px;
  border-radius: 8px;
  background: #f5f5f5;
  border: none;
  position: relative;
  color: var(--Colors-Text-Text, #505050);
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px;
}
.single-page__pages-list-item-status::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: rgba(149, 130, 181, 0.2);
}
.single-page__pages-list-item-status::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: #7fe4bc;
  border-radius: 0 0 8px 8px;
  transition: width 0.3s;
  width: 100%;
}
.single-page__pages-list-item-status.status-1::after {
  width: 15%;
  border-radius: 0 0 0px 8px;
}
.single-page__pages-list-item-status.status-2::after {
  width: 25%;
  border-radius: 0 0 0px 8px;
}
.single-page__pages-list-item-status.status-3::after {
  width: 50%;
  border-radius: 0 0 0px 8px;
}
.single-page__pages-list-item-status.status-4::after {
  width: 75%;
  border-radius: 0 0 0px 8px;
}
.single-page__pages-list-item-status.status-5::after, .single-page__pages-list-item-status.status-6::after {
  width: 100%;
  border-radius: 0 0 8px 8px;
}
.single-page__pages-list-item-name {
  display: flex;
  align-items: center;
  gap: 16px;
  overflow: hidden;
  color: var(--Colors-Text-Text, #505050);
  text-overflow: ellipsis;
  /* 14pt - SemiBold */
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 171.429% */
}
.single-page__pages-list-item-name input {
  cursor: pointer;
}
.single-page__pages-list-item-name > [data-list-item-name] {
  cursor: pointer;
  transition: all 0.3s ease 0s;
}
.single-page__pages-list-item-name > [data-list-item-name]:hover {
  opacity: 0.6;
}
.single-page__pages-list-item-actions-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 6px;
  background: var(--colors-stroke-inner-blocks-10, rgba(149, 130, 181, 0.1));
  cursor: pointer;
}
.single-page__pages-list-item-actions-content-delete {
  color: #ff2b2e !important;
}
.single-page__pages-list-item > div {
  padding-left: 16px;
  border-left: 1px solid rgba(149, 130, 181, 0.2);
}
.single-page__pages-list-item > div:first-child {
  padding-left: 0;
  border-left: none;
}
.single-page__pages-list-item > div:nth-child(6) {
  border-left: none;
}

.button-loader {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-bottom-color: transparent;
  border-radius: 50%;
  animation: rotation 1s linear infinite;
  margin-right: 8px;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.ai-button.loading {
  position: relative;
  opacity: 0.8;
  pointer-events: none;
}

.ai-button.loading .button-text {
  display: none;
}

.ai-button.loading .button-loader {
  display: inline-block;
}

.ai-button.loading {
  display: flex;
  justify-content: center;
  align-items: center;
}
