.block_empty{
  position: relative;
}

.block_empty .empty {
    position: absolute;
    bottom: 5px;
    right: 24px;
    font-size: 30px;
    cursor: pointer;
    color: gray;
    display: none;
}

.block_empty input.none_empty + .empty{
  display: inline;
}

.hide{
  display: none !important;
}

.email_hide .main__col:nth-of-type(1){
  width:100%;
}


.email_hide .main__col:nth-of-type(2){
  display: none;
}

.fields-form-gen{
        counter-reset: iter;
}

.fields-form-gen  .main__col:not(.main__col_text) .main__label:not(.main__label-text):before {
    counter-increment: iter;
    Content: counter(iter)".";
    margin: 0 7px 0 0;
    font-size: inherit;
}

.hidden { display: none; }
.line-slide {
  min-height: 80px;
  padding: 10px 14px 10px 24px;
  border-radius: 16px;
  border: 1px solid #e4dffb;
  background: #fff;
      margin-bottom: 16px;
  }
.line-slide.highlight {
  border-color: rgba(0, 150, 255, 1);
 }

.ah-main-block-generation__item-name input {
    border: none;
    outline: none;
    width: 100%;
    max-width: 450px;
}

.popuperFD{
      z-index: 9999999999;
}

.file > span:before{
   display: none;
}

.file.upload  span:before {
    background: url(https://slidepix.ru/img/close-red.svg) no-repeat;
    background-size: 14px;
    background-position: center;
}

.file span span.ellipsis:nth-of-type(2){
  display: none;
}

.file.upload span:hover span.ellipsis:nth-of-type(1){
  display: none;
}
.file.upload span:hover span.ellipsis:nth-of-type(2){
  display: inline-block;
}
/* .file.upload  > span:hover span:after{
  Content:"Удалить файл";
  position: absolute;
  background: #e1e1ff;
   left:74px;
    display: inline-block;
    width:275px;
    box-sizing: border-box;
} */

.file span .ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    justify-content: unset;
    padding: 0px;
    width: 100%;
    justify-content: center;
}

.file.upload span .ellipsis{
  justify-content: flex-start;
}

.file span:hover .ellipsis {
    background: #e1e1ff;
}

.clearenterText{
  position: relative;
}

.clearenterText button {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 15px;
    cursor: pointer;
    text-decoration: none;
    color: #36364a;
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    padding: 2px 10px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #fff;
    box-shadow: 0 2px 6px 0 rgba(18, 7, 143, 0.08), 0 1px 2px 0 rgba(14, 9, 72, 0.08), 0 0 0 1px rgba(14, 9, 72, 0.08);
    border-color: #7462f3;
}

.clearenterText button:hover{
  border-color: #fff;
}


.count_day_1:before{
  display: none;
}

.container-payment {
  position: fixed;
  display: none;
  align-items: center;
  justify-content: center;
  top: 0px;
  left: 0px;
  z-index: 100000000000;
  width: 100%;
  height: 100%;

  background: rgba(255, 255, 255, 0.9); }
  .container-payment .close {
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    color: gray;
    font-weight: bold;
  }

  #generatePresentationForm.premium .count__title span,
  #generatePresentationForm.premium .select__item span,
  #generatePresentationForm.premium .select__value span,
  #generatePresentationForm.premium .templates__name span,
  #generatePresentationForm.premium .count__highlighted,
  #generatePresentationForm.slide-lock-open .count__title span,
  #generatePresentationForm.slide-lock-open .select__item span,
  #generatePresentationForm.slide-lock-open .select__value span,
  #generatePresentationForm.slide-lock-open .templates__name span,
  #generatePresentationForm.slide-lock-open .count__highlighted
  {
    display: none !important;
  }





  a.active {
    background: none;
    color: #fff;
}

.ah-main-block-generation__item-name{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width:100%;
}

.ah-main-block-generation__item-name .selectType {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2a3d60;
    font-size: 13px;
    font-weight: 600;
    background: #eef3ff;
    border: 1px solid #dce5f1;
    border-radius: 12px;
    padding: 5px 10px 5px 8px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
}

.ah-main-block-generation__item-name .selectType:hover {
    background: #e4edff;
    border-color: #c5d7f5;
    box-shadow: 0 4px 12px rgba(76, 127, 245, 0.12);
}

.ah-main-block-generation__item-name .selectType[data-type="table"],
.ah-main-block-generation__item-name .selectType[data-type="graph"] {
    background: #f4f8ff;
}

.ah-main-block-generation__item-name .selectType--title,
.ah-main-block-generation__item-name .selectType[data-disabled] {
    color: #8a93a3;
    background: #f4f6f9;
    border-color: #e1e6ee;
    cursor: default;
    pointer-events: none;
    box-shadow: none;
}

.ah-main-block-generation__item-name .selectType--title:hover,
.ah-main-block-generation__item-name .selectType[data-disabled]:hover {
    background: #f4f6f9;
    border-color: #e1e6ee;
    box-shadow: none;
    transform: none;
}

.ah-main-block-generation__item-name .selectType--title .selectType__icon,
.ah-main-block-generation__item-name .selectType[data-disabled] .selectType__icon {
    background: #eceff4;
    color: #8a93a3;
}

.selectType__icon,
.selectTypes__option .selectType__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: #fff;
    color: #4c7ff5;
    flex-shrink: 0;
}

.selectType__svg {
    width: 14px;
    height: 14px;
    display: block;
}

.selectTypes {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 54px;
    z-index: 999;
    right: 44px;
    min-width: 228px;
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    padding: 10px;
    color: #637188;
    gap: 4px;
    border-radius: 16px;
    border: 1px solid #dce5f1;
    line-height: 1.2;
    box-shadow: 0 16px 36px rgba(23, 32, 51, 0.14);
    animation: fadeIn 0.18s ease forwards;
}

.selectTypes__title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8a97ab;
    padding: 4px 8px 8px;
}

.selectTypes__option {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 9px 10px;
    border-radius: 12px;
    color: #172033;
    cursor: pointer;
    transition: background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.selectTypes__option:hover:not(.disabled) {
    background: #f1f6ff;
}

.selectTypes__option.is-checked {
    background: #edf4ff;
    box-shadow: inset 0 0 0 1px #4c7ff5;
    color: #3c6ce1;
    font-weight: 600;
}

.selectTypes__option.is-checked .selectType__icon {
    background: #4c7ff5;
    color: #fff;
}

.selectTypes__name {
    flex: 1;
}

.selectTypes__check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid #d5deec;
    flex-shrink: 0;
    position: relative;
}

.selectTypes__option.is-checked .selectTypes__check {
    border-color: #4c7ff5;
    background: #4c7ff5;
}

.selectTypes__option.is-checked .selectTypes__check::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767.98px) {

.selectTypes {
    top: 42px;
    right: 12px;
    left: 12px;
    min-width: 0;
    animation: fadeIn 0.18s ease forwards;
}
}

.selectTypes label.disabled{
  opacity: 0.42;
  pointer-events: none;
}

.selectTypes label input{
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}


.presentation-plan__item.waitLoad{
      pointer-events: none;
    opacity: 0.5;
}
.presentation-plan__item.waitLoad::before {
    content: " ";
    width: 48px;
    height: 48px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #6666f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    left: calc(50% - 22px);
    top: calc(50% - 22px);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.preloader,
.preloader-page {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2147483000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgb(255 255 255 / 78%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}

.preloader.open,
.preloader-page.open {
    display: flex !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.preloader[hidden]:not(.open) {
    display: none !important;
}

.preloader__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.preloader__mark {
    --cycle: 2.8s;
    --step: 0.14s;
    line-height: 0;
}

.preloader__logo {
    display: block;
    width: 249px;
    height: 42px;
    overflow: visible;
}

.preloader__piece {
    opacity: 0;
    transform: translateY(10px);
    transform-box: fill-box;
    transform-origin: center;
}

.preloader__mark.is-animating .preloader__piece {
    animation: sp-fade var(--cycle) ease-in-out both infinite;
    animation-delay: calc(var(--i) * var(--step));
}

.preloader__text,
.preloader-page__text {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.01em;
    color: #6a6a6a;
    text-align: center;
}

@keyframes sp-fade {
    0% { opacity: 0; transform: translateY(10px); }
    14% { opacity: 1; transform: translateY(0); }
    48% { opacity: 1; transform: translateY(0); }
    62% { opacity: 0; transform: translateY(-10px); }
    100% { opacity: 0; transform: translateY(-10px); }
}

@media (max-width: 480px) {
    .preloader__logo {
        width: 199px;
        height: 34px;
    }
}

.presentation-plan__item input[type="text"]{
  border:none;
  outline: none;
  width:100%;
  pointer-events: auto;
  user-select: text;
  -webkit-user-select: text;
}

.presentation-plan__item .humb {
  cursor: grab;
}

.presentation-plan__item .humb:active,
.presentation-plan__item.sortable-chosen .humb,
.presentation-plan__item.sortable-fallback .humb {
  cursor: grabbing;
}

.presentation-plan__wrapper.is-sorting .presentation-plan__item {
  transition: none !important;
}

.presentation-plan__item.sortable-ghost {
  opacity: 0.28;
  box-shadow: none;
  transition: none !important;
}

.presentation-plan__item.sortable-chosen,
.presentation-plan__item.sortable-drag {
  transition: none !important;
}

.presentation-plan__item.sortable-fallback,
body > .sortable-fallback {
  opacity: 1;
  cursor: grabbing;
  pointer-events: none;
  z-index: 2147483000 !important;
  transition: none !important;
  animation: none !important;
  box-shadow: 0 10px 28px rgba(22, 80, 235, 0.22);
}

.presentation-plan__item.sortable-chosen .humb,
.presentation-plan__item.sortable-fallback .humb,
.presentation-plan__item.sortable-ghost .humb {
  display: flex;
  opacity: 1;
}

.presentation-plan__item.sortable-chosen .num,
.presentation-plan__item.sortable-fallback .num,
.presentation-plan__item.sortable-ghost .num {
  display: none;
}

.presentation-plan__item.sortable-ghost .add,
.presentation-plan__item.sortable-fallback .add {
  display: none !important;
}

#generatePresentationForm.premium .hero__dropdown-item span,
#generatePresentationForm.premium .prem,
#generatePresentationForm.slide-lock-open .hero__dropdown-item span,
#generatePresentationForm.slide-lock-open .prem,
#generatePresentationForm.slide-lock-open .slider .swiper-slide .prem{
  display: none !important;
}

/* ИИ-картинки платные всегда: бейдж виден и при открытом лимите слайдов */
#generatePresentationForm.slide-lock-open:not(.premium) .select-image .hero__dropdown-item span.ai-paid-badge{
  display: flex !important;
}

input[name="theme"][readonly]{
      opacity: 0.5;
    background: #e8e3e3;
}

.hero__create input.theme-presentation.is-invalid,
input.theme-presentation.is-invalid {
  border-color: #e5484d !important;
  background: #fff7f7;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.22);
}

.select-slides .hero__dropdown-item.is-selected {
  background: #eef1ff;
  font-weight: 600;
}

.presentation-plan__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.presentation-plan__copy input[name="slide"] {
  max-width: none;
}

.presentation-plan__desc {
  border: none !important;
  outline: none;
  width: 100%;
  max-width: none !important;
  font: 400 12.5px/145% "Inter", sans-serif;
  color: #8b93a7;
  background: transparent;
  padding: 0;
  letter-spacing: -0.01em;
}

.presentation-plan__desc::placeholder {
  color: #b8c0d0;
}

.presentation-plan__desc:focus {
  color: #5c6578;
}

@media (max-width: 900px) {
  .hero__create {
    padding: 20px 20px 0 20px;
  }

  .hero__create input.theme-presentation {
    flex: 1 1 100%;
    width: 100%;
    min-width: 100%;
  }

  .hero__create-file {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
    margin-bottom: 0;
  }

  .hero__create-file label {
    min-width: 0;
    margin-right: 0;
  }

  .hero__create-file-info,
  .hero__create-file-name {
    min-width: 0;
  }

  .hero__create-file-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero__create-top.select-slides {
    width: auto;
    flex: 0 0 auto;
    min-width: 132px;
  }

  .hero__create-action.template-button {
    margin-bottom: 0;
  }

  .hero__create-content:not(.active) {
    margin-top: -10px;
  }

  .header .nav {
    flex-wrap: wrap;
    min-width: 0;
    justify-content: center;
    gap: 8px 12px;
  }
}

@media (max-width: 1200px) {
  .footer__info {
    border-left: none;
    border-right: none;
    padding-left: 0;
    padding-right: 0;
  }

  nav.footer__nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 8px 16px;
  }

  nav.footer__nav .footer__nav-title {
    flex: 1 0 100%;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .header .container > .nav {
    display: none;
  }

  .hero__descr {
    font-size: 15px;
    line-height: 19px;
  }

  .hero__partners,
  .hero__partner.mobile-marquee {
    display: none !important;
  }

  .presentation-plan__wrapper {
    padding: 8px 5px 100px 5px;
    scroll-padding-bottom: 100px;
  }

  .modal__wrapper,
  .presentation-plan .modal__wrapper {
    padding: 10px;
    border-radius: 9px;
  }

  .ah-main-block-generation__item-name .selectType {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #2a3d60;
    font-size: 11px;
    font-weight: 600;
    background: #eef3ff;
    border: 1px solid #dce5f1;
    border-radius: 8px;
    padding: 2px 5px 2px 5px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
  }

  .presentation-plan__item {
    gap: 10px;
    padding: 8px;
  }

  .presentation-plan__item .ah-main-block-generation__item-name {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  .presentation-plan__item .delete {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
    width: 32px;
    height: 32px;
    display: none;
    opacity: 0;
    visibility: hidden;
    z-index: 4;
    align-items: center;
    justify-content: center;
    background: #f0f0ff;
    border-radius: 8px;
  }

  .presentation-plan__item .delete img {
    width: 16px;
    height: 16px;
  }

  .presentation-plan__item:hover .num {
    display: flex;
  }

  .presentation-plan__item:hover .delete {
    display: none;
    opacity: 0;
    visibility: hidden;
  }

  .presentation-plan__item.is-slide-focus .num {
    visibility: hidden;
  }

  .presentation-plan__item.is-slide-focus .delete,
  .presentation-plan__item.is-slide-focus:hover .delete {
    display: flex;
    opacity: 1;
    visibility: visible;
  }

  .humb,
  .presentation-plan__item .humb,
  .presentation-plan__item:hover .humb,
  .presentation-plan__item.is-slide-focus:hover .humb,
  .presentation-plan__item.sortable-chosen .humb,
  .presentation-plan__item.sortable-fallback .humb,
  .presentation-plan__item.sortable-ghost .humb {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    min-width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    pointer-events: none !important;
  }

  .presentation-plan__item input[type="text"] {
    border: none;
    outline: none;
    width: 100%;
    pointer-events: auto;
    user-select: text;
    -webkit-user-select: text;
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  .hero__create-action.template-button {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .hero__create-content {
    overflow: visible;
  }

  .hero__slider-name {
    font-size: 17px;
    letter-spacing: -0.02em;
    text-align: left;
    color: #000;
    margin-bottom: 5px;
  }

  .hero__create-content .wrap,
  .hero__create-content .slider,
  .hero__create-content .hero__slider {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .hero__create-content .wrap {
    padding-top: 0;
  }

  .hero__create-content .slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
    position: relative;
  }

  .hero__create-content .slider > .swiper-btn-prev,
  .hero__create-content .slider > .swiper-btn-next {
    position: absolute;
    top: calc(50% + 13px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
  }

  .hero__create-content .slider > .swiper-btn-prev img,
  .hero__create-content .slider > .swiper-btn-next img {
    display: block;
    border-radius: 50%;
    background: #fff;
  }

  .hero__create-content .slider > .swiper-btn-prev {
    left: 0;
    transform: translate(-50%, -50%);
  }

  .hero__create-content .slider > .swiper-btn-next {
    right: 0;
    transform: translate(50%, -50%);
  }
}

@media (max-width: 600px) {
  #main-content p {
    line-height: 21px;
  }

  .hero__descr {
    font-size: 15px;
    line-height: 21px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .hero__create-top:hover .hero__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@media (hover: none), (pointer: coarse) {
  .hero__create-top:hover .hero__dropdown {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
  }
}

.hero__create-top.is-open .hero__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero__create-top.select-slides.is-open .select-slides__arrow {
  transform: rotate(180deg);
}

@media (max-width: 767px) {
  .hero__create-top.select-slides,
  .hero__create-top.select-image {
    overflow: visible;
  }

  .hero__create-top.select-slides .hero__dropdown,
  .hero__create-top.select-image .hero__dropdown {
    left: auto;
    right: 0;
    min-width: max(100%, 210px);
    width: max-content;
    max-width: calc(100vw - 16px);
    box-sizing: border-box;
  }

  .hero__create-top.select-slides .hero__dropdown-item,
  .hero__create-top.select-image .hero__dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    white-space: nowrap;
  }

  .hero__create-top.select-slides .hero__dropdown-item span,
  .hero__create-top.select-image .hero__dropdown-item span {
    flex-shrink: 0;
    white-space: nowrap;
  }
}

.cookie-accept {
	display: none;
	position: fixed;
	left: 50%;
	bottom: 30px;
	transform: translateX(-50%);
	transition: bottom 0.2s cubic-bezier(0.22, 1, 0.36, 1);
	z-index: 1000;
	width: 556px;
	max-width: calc(100% - 40px);
	border-radius: 5px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	background: rgba(245, 246, 250, 0.6);
	overflow: hidden;
}

.cookie-accept.active {
	display: block;
}

.cookie-accept__inner {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: flex-start;
	gap: 32px;
	padding: 10px;
}

.cookie-accept__text,
.cookie-accept p {
	margin: 0;
	flex: 1;
	min-width: 0;
	font-size: 12px;
	line-height: 1.4;
	font-weight: 400;
	color: #000;
	white-space: normal;
}

.cookie-accept__link,
.cookie-accept a {
	display: inline;
	color: #3288e6;
	text-decoration: none;
}

.cookie-accept__link:hover,
.cookie-accept a:hover {
	text-decoration: underline;
}

.cookie-accept button {
	flex-shrink: 0;
	padding: 15px 20px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	border-radius: 5px;
	cursor: pointer;
	border: none;
	background: #0b63f6;
	color: #fff;
	font-family: inherit;
}

.cookie-accept button:hover {
	background: #0954d4;
}

/* «Принять» — синяя кнопка, под ней неприметная ссылка «Отказаться» */
.cookie-accept__actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.cookie-accept a.cookie-accept__decline {
	font-size: 11px;
	line-height: 1.2;
	color: #a3a8b3;
	text-decoration: none;
}

.cookie-accept a.cookie-accept__decline:hover {
	color: #6b7280;
	text-decoration: underline;
}

@media (max-width: 768px) {
	.cookie-accept {
		bottom: 10px;
		width: calc(100% - 40px);
	}

	.cookie-accept__inner {
		flex-direction: column;
		gap: 15px;
	}

	.cookie-accept__text,
	.cookie-accept p {
		text-align: center;
	}
}

body:has(.morph.visible) .cookie-accept {
	bottom: 104px;
}

@media (max-width: 900px) {
  .header {
    padding-top: 0;
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 7;
  }

  .header .container {
    width: 100% !important;
    margin: 0;
    padding: 10px;
    align-items: center;
    flex-wrap: wrap;
    border-radius: 0;
  }
}

@media (max-width: 600px) {
  .hero .container {
    padding-top: 85px;
    width: 100% !important;
  }
}

.hero__create-content {
  margin-bottom: 20px;
}

.hero__create:has(.hero__files textarea:not(:placeholder-shown)) .hero__files .area {
  padding-top: 0;
}

.hero h1,
.hero__descr,
.hero__create,
.header {
  opacity: 1;
  animation: none;
  transform: none;
}

@media (min-width: 901px) {
  .hero__files .area > b {
    padding: 10px 0 12px 0 !important;
  }
}

.hero__create-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.hero__settings-slot {
  position: relative;
  flex: none;
}

.hero__settings-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #71717a;
  background: transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.hero__settings-btn svg {
  width: 17px;
  height: 17px;
  flex: none;
  display: block;
}

.hero__settings-btn:hover {
  background: #f4f4f5;
  color: #3f3f46;
}

.hero__settings-btn.is-open,
.hero__settings-btn:active {
  background: #e3e8fe;
  color: #1650eb;
}

.hero__settings-btn.is-open:hover {
  background: #d5e2ff;
  color: #1650eb;
}

.hero__settings-pop {
  position: fixed;
  z-index: 80;
  width: 262px;
  max-width: calc(100vw - 16px);
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 13px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: visible;
  box-sizing: border-box;
}

.hero__settings-pop[hidden] {
  display: none !important;
}

.hero__settings-pop__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px 6px;
}

.hero__settings-pop__head > span {
  font: 500 11.5px/1.2 "Inter", system-ui, sans-serif;
  color: #18181b;
}

.hero__settings-pop__close {
  margin-left: auto;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #71717a;
}

.hero__settings-pop__close svg {
  width: 12px;
  height: 12px;
  display: block;
}

.hero__settings-pop__close:hover {
  background: #f4f4f5;
}

.hero__settings-pop__body {
  border-top: 1px solid #e4e4e7;
  padding: 10px 11px 12px;
}

.hero__settings-pop .hero__settings-label {
  font: 500 12px/1.3 "Inter", system-ui, sans-serif;
  letter-spacing: -0.01em;
  color: #18181b;
  margin: 0 0 8px;
}

.hero__settings-pop .select-image {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.hero__settings-pop__foot {
  border-top: 1px solid #e4e4e7;
  background: #fafafa;
  color: #71717a;
  font: 400 11px/1.45 "Inter", system-ui, sans-serif;
  padding: 7px 11px;
  border-radius: 0 0 12px 12px;
}

@media (max-width: 900px) {
  .hero__create-tools {
    width: auto;
    flex: 0 0 auto;
    margin-left: 0;
    min-width: 0;
  }

  .hero__create-tools .select-slides {
    min-width: 0;
  }

  .hero__create > .hero__files:not([style*="none"]):not([style*="unset"]) {
    position: absolute;
    width: 1px;
    height: 0;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
  }
}
