.language-dropdown {
  position: relative;
  display: inline-block;
  z-index: 10; /* забезпечує, що меню буде поверх інших елементів */
}

.dropdown-toggle {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px; /* Відстань між елементами */
  padding: 8px 12px;
  padding-left: 0;
}

.icon {
  width: 25px;
  height: 25px;
}

.selected-lang {
  font-size: 20px;
  font-weight: bold;
}

.arrow {
  width: 14px;
  height: 14px;
  display: block;
  object-fit: contain; /* Запобігає обрізанню */
}

/* Основні стилі для випадаючого меню */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  overflow: hidden;
  min-width: 100px;
  display: none;
  flex-direction: column;
  z-index: 10;
}

.dropdown-item {
  padding: 10px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: black;
  text-decoration: none;
  display: block;
}

.dropdown-item:hover {
  background: #f1f1f1;
}

.language-dropdown .dropdown-menu {
  display: none;
}

/* Показуємо меню, якщо є клас open (працює і на десктопі, і на мобільному) */
.language-dropdown.open .dropdown-menu {
  display: flex;
  flex-direction: column;
}

/* Для десктопу: показуємо меню при hover, але тільки якщо НЕ відкрито через клік */
@media (min-width: 1201px) {
  .language-dropdown:hover:not(.open) .dropdown-menu {
    display: flex;
    flex-direction: column;
  }
}

/* Для мобільного: прибираємо hover і додаємо відступ */
@media (max-width: 1200px) {
  .language-dropdown {
    margin-bottom: 10px;
  }
}

  /* Червона рамка для полів з помилками */
  .input-error {
    border: 2px solid #ff4d4d !important;
    background-color: #ffe6e6;
  }
  
  /* Стиль для тексту помилки */
  .error-text {
    color: #ff4d4d;
    font-size: 14px;
    text-align: center;
    margin-top: 5px;
  }
  
  .field__radio-group {
    display: flex;
    gap: 15px; /* Відступи між кнопками */
    align-items: center;
    border: 1px solid #ccc; /* Рамка як у інших полів */
    border-radius: 8px;
    padding: 10px 15px;
    margin-top: 5px;
  }
  
  .field__radio-group input[type="radio"] {
    accent-color: #ee5f96;
    width: 18px;
    height: 18px;
  }
  
  .radio-label {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .field__row {
    display: flex;
    align-items: center;
    gap: 8px; /* Відступ між колонками */
    width: 100%;
  }
  
  .field__col {
    display: flex;
    align-items: center;
  }
  
  .field__col--10 {
    flex: 11;
  }
  
  .field__col--2 {
    flex: 1;
    justify-content: flex-end;
  }
  
  .social-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  
  .add-field,
  .remove-field {
    width: 42px;
    height: 42px;
    border: none;
    background-color: #ff4081; /* Рожевий */
    color: white;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .add-field:hover,
  .remove-field:hover {
    background-color: #e91e63; /* Темніший рожевий */
  }
  #fields-container .field__row{
  margin-top: 15px;
  }
  .image-container {
    width: 100%; /* або задана ширина */
    height: 380px; /* або інша висота, залежно від вимог */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* щоб зображення не виходило за межі контейнера */
  }
  
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* робить зображення адаптивним */
  }
  .create_post_block {
    min-height: 10rem;
    width: 100%;
    position: relative;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 20px;
  }
  .create_post_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .menu_icon {
    position: relative;
  }
  .menu_icon img {
    width: 25px;
    cursor: pointer;
  }
  .dropdown_menu {
    position: absolute;
    right: 0;
    top: 30px;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 5px;
    border-radius: 5px;
    z-index: 10;;
  }
  .hidden {
    display: none;
  }
  .create_post_body {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #333;
    padding: 10px;
    border-radius: 8px;
  }
  .create_post_footer {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
  
  .create_post_footer_left {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .upload-icon img {
    width: 35px;
    cursor: pointer;
  }
  
  .checkbox-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    color: #8f9aa7;
    cursor: pointer;
  }
  
  .custom-checkbox {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #8f9aa7;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
  }
  
  .custom-checkbox:checked::after {
    content: '✓';
    font-size: 14px;
    color: #fff;
    position: absolute;
  }
  
  .custom-checkbox:checked {
    background-color: #e91e63;
    border-color: #e91e63;
  }
  
  .publish_btn--new {
    color: #fff;
    text-align: center;
    font-family: Unbounded, sans-serif;
    font-size: 1.125rem;
    padding: .625rem 1.125rem;
    border-radius: .75rem;
    transition: all .3s;
    border: .125rem solid #ee5f96;
    background-color: #ee5f96;
    display: flex;
    align-items: center;
    gap: .625rem;
    justify-content: center;
  }
  
  .publish_btn--new:hover {
    background-color: #d54d84;
    border-color: #d54d84;
  }
  
  @media (max-width: 768px) {
    .create_post_footer {
        flex-direction: column;
    }
    
    .publish_btn--new {
        width: 100%;
        margin-top: 10px;
    }
  }
  
  .menu-profile__item img{
    width: 35px;
  }
  
  .preview_container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
  }
  .preview_item {
    position: relative;
    display: inline-block;
  }
  .preview_item img, .preview_item video {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    display: block; /* Додаємо display: block для правильного позиціонування */
  }
  .create_post_header div{
  color: #000;
  font-family: Unbounded,sans-serif;
  font-size: 1.125rem;
  margin: 2px 0;
  }
  .modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
  }
  .modal.hidden {
    display: none;
  }
  .modal_content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    max-width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .modal_content img, .modal_content video {
    max-width: 100%;
    max-height: 80vh;
    margin: 15px;
  }
  .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
  }
  #videoPlayPause {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ee5f96;
    color: white;
    border: none;
    font-size: 24px;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #modalVideoContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  #modalVideo, #modalPhoto {
    margin: 15px;
    max-width: 100%;
    width: auto;
  }
  #modalVideoContainer.hidden {
    display: none !important;
  }
  #modalPhoto.hidden {
    display: none !important;
  }
  .create_post_body textarea:focus {
    outline: none;
    border: none;
  }
  .remove_preview {
    position: absolute;
    top: -8px;
    right: -8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    cursor: pointer;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    z-index: 1;
  }
  
  .publish_btn{
    padding: 10px;
    width: 150px;
  }
  .publish_btn:hover{
    background-color: #ee5f96;
    color: #000;
  }
  .register__label{
    color: #ee5f96;
    text-decoration: underline;
      text-decoration-color: inherit;
      transition: text-decoration-color .3s;
  }
  
  .blurred {
    filter: blur(20px);
    pointer-events: none;
  }
  .protected-image {
    pointer-events: none; /* Відключає клік та контекстне меню */
    user-select: none; /* Відключає виділення */
    -webkit-user-drag: none; /* Відключає перетягування */
    position: relative;
  }
  
  /* Накладка, яка блокує доступ до картинки */
  .protected-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
  }
  .post-block__media-slider {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: auto;
    overflow: hidden;
  }
  
  .slider-container {
    position: relative;
    width: 100%;
  }
  .slide {
    width: 100%;
    display: block;
  }
  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #e91e625d;
    border-radius: 50%;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
  }
  .prev {
    left: 10px;
    z-index: 5;
    padding: 15px;
  }
  .next {
    right: 10px;
    padding: 15px;
  }
  .prev:hover, .next:hover{
    background-color: #e91e63;
  }
  .post-block__media, .post-block__media-slider.post-block__media, .slider-container.post-block__media{
    padding: 0 !important;
  }
  .post-block__media img{
    object-fit: contain;
  }
  .media-model__item img, .media-model__item video{
    -o-object-fit: cover;
    object-fit: cover
  }
.text_no_content{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-align: center;
}
.media-model:has(.post-block__body) {
  display: flex;
  justify-content: center;
}

.showmore-profile__content.showmore-expanded::before {
  display: none;
}
.auth__notice.success {
  padding: .75rem .3125rem .75rem 1.25rem;
  border-radius: .75rem;
  border: .0625rem solid #ee5f96;
  background: rgba(238, 95, 150, .03);
  display: flex;
  gap: .625rem;
  position: relative;
  cursor: pointer;
  transition: all .3s;
  justify-content: center;
  margin-bottom: 20px;
}
.alert-container {
  position: fixed;
  top: 80px; /* або більше, якщо хедер вищий */
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 45px 15px 20px; /* справа більше для хрестика */
  border-radius: 8px;
  font-size: 16px;
  min-width: 280px;
  max-width: 400px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  animation: fadeInSlide 0.4s ease;
  transition: opacity 0.3s ease;
  word-break: break-word;
  line-height: 1.4;
}

.alert-success {
  background-color: #fff;
  color: #26500e;
  border-left: 5px solid #418d16;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border-left: 5px solid #dc3545;
}

.close-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: inherit;
  padding-left: 10px;
}

@keyframes fadeInSlide {
  from {
      opacity: 0;
      transform: translateY(-10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}
.liked {
    color: red;
}
.like-count{
  display: flex;
  align-items: center;
}
.shop__body{
  padding-bottom: 4.4375rem;
}
.shop__footer {
  bottom: -70px;
}
.item-shop__title{
  overflow: hidden;
}
.sort-wrapper {
  position: relative;
  display: inline-block;
}

.sort-comp__dropdown {
  position: absolute;
  top: 110%; /* трохи нижче кнопки */
  right: 0;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  z-index: 10;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown_option {
  background: none;
  border: none;
  padding: 12px 20px;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.dropdown_option:hover {
  background-color: #ee5f96;
  color: white;
}
.dropdown_menu.hidden{
  display: none !important;
}
.no__results_block .image-container {
  margin-bottom: 10px; 
  margin-top: 50px;
}

.no__results_block .text_no_content {
  margin-top: 20px;
  font-size: 1.5em;
  text-align: center;
  margin-bottom: 50px; 
}
.pagination-container nav {
  display: flex;
  justify-content: center; /* Центрування по горизонталі */
  margin-top: 20px; /* Відступ зверху */
  margin-bottom: 20px; /* Відступ знизу */
}

.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
  padding: 5px; /* Внутрішній відступ контейнера */
}

.page-item:first-child .page-link {
  border-top-left-radius: 50%; /* Круглі перша кнопка */
  border-bottom-left-radius: 50%;
  margin-left: 5px; /* Невеликий відступ зліва */
}

.page-item:last-child .page-link {
  border-top-right-radius: 50%; /* Кругла остання кнопка */
  border-bottom-right-radius: 50%;
  margin-right: 5px; /* Невеликий відступ справа */
}

.page-item {
  margin: 0 2px; /* Відступи між кнопками */
}

.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #ee5f96; /* Колір цифр та стрілок за замовчуванням */
  background-color: #fff; /* Білий фон кнопок */
  border: 1px solid #fff; /* Біла облямівка */
  border-radius: 50%; /* Круглі кнопки з цифрами */
  min-width: 35px; /* Мінімальна ширина для круглої форми */
  text-align: center;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff; /* Білий колір активної цифри */
  background-color: #ee5f96; /* Фон активної кнопки */
  border-color: #ee5f96;
}

.page-item.disabled .page-link {
  color: #6c757d;
  background-color: #fff;
  border-color: #fff;
  opacity: 0.7;
}

.page-link:focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(238, 95, 150, 0.25); /* Фокус для доступності (можете змінити) */
}

/* Стилі для кнопок зі стрілками */
.page-item:first-child .page-link,
.page-item:last-child .page-link {
  color: #ee5f96; /* Колір стрілок */
  background-color: #fff; /* Білий фон стрілок */
  border-color: #fff;
}

.page-item:first-child .page-link:hover,
.page-item:last-child .page-link:hover {
  color: #fff; /* Білий колір стрілок при наведенні */
  background-color: #ee5f96; /* Фон стрілок при наведенні */
  border-color: #ee5f96;
}
.set-profile__subscribtions .item-model__body{
  margin-top: 165px !important;
}

.item-model__msg {
  display: inline-flex;
  position: static;
  margin: 0;
  vertical-align: middle;
}
.item-model__msg:last-child {
  margin-right: 0;
}

.flex-block{
display: flex;
justify-content: space-between !important;
align-items: center;
width: 100% !important;
flex-shrink: 1;
z-index: 10;
}
.menu__body{
  z-index: 3000;
}
.main-profile__body:not(:last-child) {
 margin-bottom: 0;
}
#editPostModal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(0, 0, 0, 0.4);
	z-index: 1000;
}

.language-dropdown {
  position: relative;
  display: inline-block;
  z-index: 10; /* забезпечує, що меню буде поверх інших елементів */
}

.dropdown-toggle {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px; /* Відстань між елементами */
  padding: 8px 12px;
  padding-left: 0;
}

.icon {
  width: 25px;
  height: 25px;
}

.selected-lang {
  font-size: 20px;
  font-weight: bold;
}

.arrow {
  width: 14px;
  height: 14px;
  display: block;
  object-fit: contain; /* Запобігає обрізанню */
}

/* Основні стилі для випадаючого меню */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  overflow: hidden;
  min-width: 100px;
  display: none;
  flex-direction: column;
  z-index: 10;
}

.dropdown-item {
  padding: 10px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: black;
  text-decoration: none;
  display: block;
}

.dropdown-item:hover {
  background: #f1f1f1;
}

.language-dropdown .dropdown-menu {
  display: none;
}

/* Показуємо меню, якщо є клас open (працює і на десктопі, і на мобільному) */
.language-dropdown.open .dropdown-menu {
  display: flex;
  flex-direction: column;
}

/* Для десктопу: показуємо меню при hover, але тільки якщо НЕ відкрито через клік */
@media (min-width: 1201px) {
  .language-dropdown:hover:not(.open) .dropdown-menu {
    display: flex;
    flex-direction: column;
  }
}

/* Для мобільного: прибираємо hover і додаємо відступ */
@media (max-width: 1200px) {
  .language-dropdown {
    margin-bottom: 10px;
  }
}

  /* Червона рамка для полів з помилками */
  .input-error {
    border: 2px solid #ff4d4d !important;
    background-color: #ffe6e6;
  }
  
  /* Стиль для тексту помилки */
  .error-text {
    color: #ff4d4d;
    font-size: 14px;
    text-align: center;
    margin-top: 5px;
  }
  
  .field__radio-group {
    display: flex;
    gap: 15px; /* Відступи між кнопками */
    align-items: center;
    border: 1px solid #ccc; /* Рамка як у інших полів */
    border-radius: 8px;
    padding: 10px 15px;
    margin-top: 5px;
  }
  
  .field__radio-group input[type="radio"] {
    accent-color: #ee5f96;
    width: 18px;
    height: 18px;
  }
  
  .radio-label {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .field__row {
    display: flex;
    align-items: center;
    gap: 8px; /* Відступ між колонками */
    width: 100%;
  }
  
  .field__col {
    display: flex;
    align-items: center;
  }
  
  .field__col--10 {
    flex: 11;
  }
  
  .field__col--2 {
    flex: 1;
    justify-content: flex-end;
  }
  
  .social-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  
  .add-field,
  .remove-field {
    width: 42px;
    height: 42px;
    border: none;
    background-color: #ff4081; /* Рожевий */
    color: white;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .add-field:hover,
  .remove-field:hover {
    background-color: #e91e63; /* Темніший рожевий */
  }
  #fields-container .field__row{
  margin-top: 15px;
  }
  .image-container {
    width: 100%; /* або задана ширина */
    height: 380px; /* або інша висота, залежно від вимог */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* щоб зображення не виходило за межі контейнера */
  }
  
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* робить зображення адаптивним */
  }
  .create_post_block {
    min-height: 10rem;
    width: 100%;
    position: relative;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 20px;
  }
  .create_post_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .menu_icon {
    position: relative;
  }
  .menu_icon img {
    width: 25px;
    cursor: pointer;
  }
  .dropdown_menu {
    position: absolute;
    right: 0;
    top: 30px;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 5px;
    border-radius: 5px;
    z-index: 10;;
  }
  .hidden {
    display: none;
  }
  .create_post_body {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #333;
    padding: 10px;
    border-radius: 8px;
  }
  .create_post_footer {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
  
  .create_post_footer_left {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .upload-icon img {
    width: 35px;
    cursor: pointer;
  }
  
  .checkbox-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    color: #8f9aa7;
    cursor: pointer;
  }
  
  .custom-checkbox {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #8f9aa7;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
  }
  
  .custom-checkbox:checked::after {
    content: '✓';
    font-size: 14px;
    color: #fff;
    position: absolute;
  }
  
  .custom-checkbox:checked {
    background-color: #e91e63;
    border-color: #e91e63;
  }
  
  .publish_btn--new {
    color: #fff;
    text-align: center;
    font-family: Unbounded, sans-serif;
    font-size: 1.125rem;
    padding: .625rem 1.125rem;
    border-radius: .75rem;
    transition: all .3s;
    border: .125rem solid #ee5f96;
    background-color: #ee5f96;
    display: flex;
    align-items: center;
    gap: .625rem;
    justify-content: center;
  }
  
  .publish_btn--new:hover {
    background-color: #d54d84;
    border-color: #d54d84;
  }
  
  @media (max-width: 768px) {
    .create_post_footer {
        flex-direction: column;
    }
    
    .publish_btn--new {
        width: 100%;
        margin-top: 10px;
    }
  }
  
  .menu-profile__item img{
    width: 35px;
  }
  
  .preview_container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
  }
  .preview_item {
    position: relative;
    display: inline-block;
  }
  .preview_item img, .preview_item video {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    display: block; /* Додаємо display: block для правильного позиціонування */
  }
  .create_post_header div{
  color: #000;
  font-family: Unbounded,sans-serif;
  font-size: 1.125rem;
  margin: 2px 0;
  }
  .modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
  }
  .modal.hidden {
    display: none;
  }
  .modal_content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    max-width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .modal_content img, .modal_content video {
    max-width: 100%;
    max-height: 80vh;
    margin: 15px;
  }
  .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
  }
  #videoPlayPause {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ee5f96;
    color: white;
    border: none;
    font-size: 24px;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #modalVideoContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  #modalVideo, #modalPhoto {
    margin: 15px;
    max-width: 100%;
    width: auto;
  }
  #modalVideoContainer.hidden {
    display: none !important;
  }
  #modalPhoto.hidden {
    display: none !important;
  }
  .create_post_body textarea:focus {
    outline: none;
    border: none;
  }
  .remove_preview {
    position: absolute;
    top: -8px;
    right: -8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    cursor: pointer;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    z-index: 1;
  }
  
  .publish_btn{
    padding: 10px;
    width: 150px;
  }
  .publish_btn:hover{
    background-color: #ee5f96;
    color: #000;
  }
  .register__label{
    color: #ee5f96;
    text-decoration: underline;
      text-decoration-color: inherit;
      transition: text-decoration-color .3s;
  }
  
  .blurred {
    filter: blur(20px);
    pointer-events: none;
  }
  .protected-image {
    pointer-events: none; /* Відключає клік та контекстне меню */
    user-select: none; /* Відключає виділення */
    -webkit-user-drag: none; /* Відключає перетягування */
    position: relative;
  }
  
  /* Накладка, яка блокує доступ до картинки */
  .protected-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
  }
  .post-block__media-slider {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: auto;
    overflow: hidden;
  }
  
  .slider-container {
    position: relative;
    width: 100%;
  }
  .slide {
    width: 100%;
    display: block;
  }
  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #e91e625d;
    border-radius: 50%;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
  }
  .prev {
    left: 10px;
    z-index: 5;
    padding: 15px;
  }
  .next {
    right: 10px;
    padding: 15px;
  }
  .prev:hover, .next:hover{
    background-color: #e91e63;
  }
  .post-block__media, .post-block__media-slider.post-block__media, .slider-container.post-block__media{
    padding: 0 !important;
  }
  .post-block__media img{
    object-fit: contain;
  }
  .media-model__item img, .media-model__item video{
    -o-object-fit: cover;
    object-fit: cover
  }
.text_no_content{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-align: center;
}
.media-model:has(.post-block__body) {
  display: flex;
  justify-content: center;
}

.showmore-profile__content.showmore-expanded::before {
  display: none;
}
.auth__notice.success {
  padding: .75rem .3125rem .75rem 1.25rem;
  border-radius: .75rem;
  border: .0625rem solid #ee5f96;
  background: rgba(238, 95, 150, .03);
  display: flex;
  gap: .625rem;
  position: relative;
  cursor: pointer;
  transition: all .3s;
  justify-content: center;
  margin-bottom: 20px;
}
.alert-container {
  position: fixed;
  top: 80px; /* або більше, якщо хедер вищий */
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 45px 15px 20px; /* справа більше для хрестика */
  border-radius: 8px;
  font-size: 16px;
  min-width: 280px;
  max-width: 400px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  animation: fadeInSlide 0.4s ease;
  transition: opacity 0.3s ease;
  word-break: break-word;
  line-height: 1.4;
}

.alert-success {
  background-color: #fff;
  color: #26500e;
  border-left: 5px solid #418d16;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border-left: 5px solid #dc3545;
}

.close-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: inherit;
  padding-left: 10px;
}

@keyframes fadeInSlide {
  from {
      opacity: 0;
      transform: translateY(-10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}
.liked {
    color: red;
}
.like-count{
  display: flex;
  align-items: center;
}
.shop__body{
  padding-bottom: 4.4375rem;
}
.shop__footer {
  bottom: -70px;
}
.item-shop__title{
  overflow: hidden;
}
.sort-wrapper {
  position: relative;
  display: inline-block;
}

.sort-comp__dropdown {
  position: absolute;
  top: 110%; /* трохи нижче кнопки */
  right: 0;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  z-index: 10;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown_option {
  background: none;
  border: none;
  padding: 12px 20px;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.dropdown_option:hover {
  background-color: #ee5f96;
  color: white;
}
.dropdown_menu.hidden{
  display: none !important;
}
.no__results_block .image-container {
  margin-bottom: 10px; 
  margin-top: 50px;
}

.no__results_block .text_no_content {
  margin-top: 20px;
  font-size: 1.5em;
  text-align: center;
  margin-bottom: 50px; 
}
.pagination-container nav {
  display: flex;
  justify-content: center; /* Центрування по горизонталі */
  margin-top: 20px; /* Відступ зверху */
  margin-bottom: 20px; /* Відступ знизу */
}

.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
  padding: 5px; /* Внутрішній відступ контейнера */
}

.page-item:first-child .page-link {
  border-top-left-radius: 50%; /* Круглі перша кнопка */
  border-bottom-left-radius: 50%;
  margin-left: 5px; /* Невеликий відступ зліва */
}

.page-item:last-child .page-link {
  border-top-right-radius: 50%; /* Кругла остання кнопка */
  border-bottom-right-radius: 50%;
  margin-right: 5px; /* Невеликий відступ справа */
}

.page-item {
  margin: 0 2px; /* Відступи між кнопками */
}

.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #ee5f96; /* Колір цифр та стрілок за замовчуванням */
  background-color: #fff; /* Білий фон кнопок */
  border: 1px solid #fff; /* Біла облямівка */
  border-radius: 50%; /* Круглі кнопки з цифрами */
  min-width: 35px; /* Мінімальна ширина для круглої форми */
  text-align: center;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff; /* Білий колір активної цифри */
  background-color: #ee5f96; /* Фон активної кнопки */
  border-color: #ee5f96;
}

.page-item.disabled .page-link {
  color: #6c757d;
  background-color: #fff;
  border-color: #fff;
  opacity: 0.7;
}

.page-link:focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(238, 95, 150, 0.25); /* Фокус для доступності (можете змінити) */
}

/* Стилі для кнопок зі стрілками */
.page-item:first-child .page-link,
.page-item:last-child .page-link {
  color: #ee5f96; /* Колір стрілок */
  background-color: #fff; /* Білий фон стрілок */
  border-color: #fff;
}

.page-item:first-child .page-link:hover,
.page-item:last-child .page-link:hover {
  color: #fff; /* Білий колір стрілок при наведенні */
  background-color: #ee5f96; /* Фон стрілок при наведенні */
  border-color: #ee5f96;
}
.set-profile__subscribtions .item-model__body{
  margin-top: 165px !important;
}

.item-model__msg {
  display: inline-flex;
  position: static;
  margin: 0;
  vertical-align: middle;
}
.item-model__msg:last-child {
  margin-right: 0;
}

.flex-block{
display: flex;
justify-content: space-between !important;
align-items: center;
width: 100% !important;
flex-shrink: 1;
z-index: 10;
}
.menu__body{
  z-index: 3000;
}
.main-profile__body:not(:last-child) {
 margin-bottom: 0;
}
#editPostModal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(0, 0, 0, 0.4);
	z-index: 1000;
}

.language-dropdown {
  position: relative;
  display: inline-block;
  z-index: 10; /* забезпечує, що меню буде поверх інших елементів */
}

.dropdown-toggle {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px; /* Відстань між елементами */
  padding: 8px 12px;
  padding-left: 0;
}

.icon {
  width: 25px;
  height: 25px;
}

.selected-lang {
  font-size: 20px;
  font-weight: bold;
}

.arrow {
  width: 14px;
  height: 14px;
  display: block;
  object-fit: contain; /* Запобігає обрізанню */
}

/* Основні стилі для випадаючого меню */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  overflow: hidden;
  min-width: 100px;
  display: none;
  flex-direction: column;
  z-index: 10;
}

.dropdown-item {
  padding: 10px;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: black;
  text-decoration: none;
  display: block;
}

.dropdown-item:hover {
  background: #f1f1f1;
}

.language-dropdown .dropdown-menu {
  display: none;
}

/* Показуємо меню, якщо є клас open (працює і на десктопі, і на мобільному) */
.language-dropdown.open .dropdown-menu {
  display: flex;
  flex-direction: column;
}

/* Для десктопу: показуємо меню при hover, але тільки якщо НЕ відкрито через клік */
@media (min-width: 1201px) {
  .language-dropdown:hover:not(.open) .dropdown-menu {
    display: flex;
    flex-direction: column;
  }
}

/* Для мобільного: прибираємо hover і додаємо відступ */
@media (max-width: 1200px) {
  .language-dropdown {
    margin-bottom: 10px;
  }
}

  /* Червона рамка для полів з помилками */
  .input-error {
    border: 2px solid #ff4d4d !important;
    background-color: #ffe6e6;
  }
  
  /* Стиль для тексту помилки */
  .error-text {
    color: #ff4d4d;
    font-size: 14px;
    text-align: center;
    margin-top: 5px;
  }
  
  .field__radio-group {
    display: flex;
    gap: 15px; /* Відступи між кнопками */
    align-items: center;
    border: 1px solid #ccc; /* Рамка як у інших полів */
    border-radius: 8px;
    padding: 10px 15px;
    margin-top: 5px;
  }
  
  .field__radio-group input[type="radio"] {
    accent-color: #ee5f96;
    width: 18px;
    height: 18px;
  }
  
  .radio-label {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .field__row {
    display: flex;
    align-items: center;
    gap: 8px; /* Відступ між колонками */
    width: 100%;
  }
  
  .field__col {
    display: flex;
    align-items: center;
  }
  
  .field__col--10 {
    flex: 11;
  }
  
  .field__col--2 {
    flex: 1;
    justify-content: flex-end;
  }
  
  .social-input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  
  .add-field,
  .remove-field {
    width: 42px;
    height: 42px;
    border: none;
    background-color: #ff4081; /* Рожевий */
    color: white;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .add-field:hover,
  .remove-field:hover {
    background-color: #e91e63; /* Темніший рожевий */
  }
  #fields-container .field__row{
  margin-top: 15px;
  }
  .image-container {
    width: 100%; /* або задана ширина */
    height: 380px; /* або інша висота, залежно від вимог */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* щоб зображення не виходило за межі контейнера */
  }
  
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* робить зображення адаптивним */
  }
  .create_post_block {
    min-height: 10rem;
    width: 100%;
    position: relative;
    border-radius: 1rem;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 20px;
  }
  .create_post_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .menu_icon {
    position: relative;
  }
  .menu_icon img {
    width: 25px;
    cursor: pointer;
  }
  .dropdown_menu {
    position: absolute;
    right: 0;
    top: 30px;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 5px;
    border-radius: 5px;
    z-index: 10;;
  }
  .hidden {
    display: none;
  }
  .create_post_body {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #333;
    padding: 10px;
    border-radius: 8px;
  }
  .create_post_footer {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }
  
  .create_post_footer_left {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .upload-icon img {
    width: 35px;
    cursor: pointer;
  }
  
  .checkbox-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 16px;
    color: #8f9aa7;
    cursor: pointer;
  }
  
  .custom-checkbox {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #8f9aa7;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
  }
  
  .custom-checkbox:checked::after {
    content: '✓';
    font-size: 14px;
    color: #fff;
    position: absolute;
  }
  
  .custom-checkbox:checked {
    background-color: #e91e63;
    border-color: #e91e63;
  }
  
  .publish_btn--new {
    color: #fff;
    text-align: center;
    font-family: Unbounded, sans-serif;
    font-size: 1.125rem;
    padding: .625rem 1.125rem;
    border-radius: .75rem;
    transition: all .3s;
    border: .125rem solid #ee5f96;
    background-color: #ee5f96;
    display: flex;
    align-items: center;
    gap: .625rem;
    justify-content: center;
  }
  
  .publish_btn--new:hover {
    background-color: #d54d84;
    border-color: #d54d84;
  }
  
  @media (max-width: 768px) {
    .create_post_footer {
        flex-direction: column;
    }
    
    .publish_btn--new {
        width: 100%;
        margin-top: 10px;
    }
  }
  
  .menu-profile__item img{
    width: 35px;
  }
  
  .preview_container {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
  }
  .preview_item {
    position: relative;
    display: inline-block;
  }
  .preview_item img, .preview_item video {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    display: block; /* Додаємо display: block для правильного позиціонування */
  }
  .create_post_header div{
  color: #000;
  font-family: Unbounded,sans-serif;
  font-size: 1.125rem;
  margin: 2px 0;
  }
  .modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10;
  }
  .modal.hidden {
    display: none;
  }
  .modal_content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    max-width: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .modal_content img, .modal_content video {
    max-width: 100%;
    max-height: 80vh;
    margin: 15px;
  }
  .close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
  }
  #videoPlayPause {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ee5f96;
    color: white;
    border: none;
    font-size: 24px;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #modalVideoContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
  #modalVideo, #modalPhoto {
    margin: 15px;
    max-width: 100%;
    width: auto;
  }
  #modalVideoContainer.hidden {
    display: none !important;
  }
  #modalPhoto.hidden {
    display: none !important;
  }
  .create_post_body textarea:focus {
    outline: none;
    border: none;
  }
  .remove_preview {
    position: absolute;
    top: -8px;
    right: -8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    cursor: pointer;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    z-index: 1;
  }
  
  .publish_btn{
    padding: 10px;
    width: 150px;
  }
  .publish_btn:hover{
    background-color: #ee5f96;
    color: #000;
  }
  .register__label{
    color: #ee5f96;
    text-decoration: underline;
      text-decoration-color: inherit;
      transition: text-decoration-color .3s;
  }
  
  .blurred {
    filter: blur(20px);
    pointer-events: none;
  }
  .protected-image {
    pointer-events: none; /* Відключає клік та контекстне меню */
    user-select: none; /* Відключає виділення */
    -webkit-user-drag: none; /* Відключає перетягування */
    position: relative;
  }
  
  /* Накладка, яка блокує доступ до картинки */
  .protected-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 2;
  }
  .post-block__media-slider {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: auto;
    overflow: hidden;
  }
  
  .slider-container {
    position: relative;
    width: 100%;
  }
  .slide {
    width: 100%;
    display: block;
  }
  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #e91e625d;
    border-radius: 50%;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
  }
  .prev {
    left: 10px;
    z-index: 5;
    padding: 15px;
  }
  .next {
    right: 10px;
    padding: 15px;
  }
  .prev:hover, .next:hover{
    background-color: #e91e63;
  }
  .post-block__media, .post-block__media-slider.post-block__media, .slider-container.post-block__media{
    padding: 0 !important;
  }
  .post-block__media img{
    object-fit: contain;
  }
  .media-model__item img, .media-model__item video{
    -o-object-fit: cover;
    object-fit: cover
  }
.text_no_content{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-align: center;
}
.media-model:has(.post-block__body) {
  display: flex;
  justify-content: center;
}

.showmore-profile__content.showmore-expanded::before {
  display: none;
}
.auth__notice.success {
  padding: .75rem .3125rem .75rem 1.25rem;
  border-radius: .75rem;
  border: .0625rem solid #ee5f96;
  background: rgba(238, 95, 150, .03);
  display: flex;
  gap: .625rem;
  position: relative;
  cursor: pointer;
  transition: all .3s;
  justify-content: center;
  margin-bottom: 20px;
}
.alert-container {
  position: fixed;
  top: 80px; /* або більше, якщо хедер вищий */
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 45px 15px 20px; /* справа більше для хрестика */
  border-radius: 8px;
  font-size: 16px;
  min-width: 280px;
  max-width: 400px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  animation: fadeInSlide 0.4s ease;
  transition: opacity 0.3s ease;
  word-break: break-word;
  line-height: 1.4;
}

.alert-success {
  background-color: #fff;
  color: #26500e;
  border-left: 5px solid #418d16;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border-left: 5px solid #dc3545;
}

.close-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  color: inherit;
  padding-left: 10px;
}

@keyframes fadeInSlide {
  from {
      opacity: 0;
      transform: translateY(-10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}
.liked {
    color: red;
}
.like-count{
  display: flex;
  align-items: center;
}
.shop__body{
  padding-bottom: 4.4375rem;
}
.shop__footer {
  bottom: -70px;
}
.item-shop__title{
  overflow: hidden;
}
.sort-wrapper {
  position: relative;
  display: inline-block;
}

.sort-comp__dropdown {
  position: absolute;
  top: 110%; /* трохи нижче кнопки */
  right: 0;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 8px 0;
  z-index: 10;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown_option {
  background: none;
  border: none;
  padding: 12px 20px;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.dropdown_option:hover {
  background-color: #ee5f96;
  color: white;
}
.dropdown_menu.hidden{
  display: none !important;
}
.no__results_block .image-container {
  margin-bottom: 10px; 
  margin-top: 50px;
}

.no__results_block .text_no_content {
  margin-top: 20px;
  font-size: 1.5em;
  text-align: center;
  margin-bottom: 50px; 
}
.pagination-container nav {
  display: flex;
  justify-content: center; /* Центрування по горизонталі */
  margin-top: 20px; /* Відступ зверху */
  margin-bottom: 20px; /* Відступ знизу */
}

.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
  padding: 5px; /* Внутрішній відступ контейнера */
}

.page-item:first-child .page-link {
  border-top-left-radius: 50%; /* Круглі перша кнопка */
  border-bottom-left-radius: 50%;
  margin-left: 5px; /* Невеликий відступ зліва */
}

.page-item:last-child .page-link {
  border-top-right-radius: 50%; /* Кругла остання кнопка */
  border-bottom-right-radius: 50%;
  margin-right: 5px; /* Невеликий відступ справа */
}

.page-item {
  margin: 0 2px; /* Відступи між кнопками */
}

.page-link {
  position: relative;
  display: block;
  padding: 0.5rem 0.75rem;
  margin-left: -1px;
  line-height: 1.25;
  color: #ee5f96; /* Колір цифр та стрілок за замовчуванням */
  background-color: #fff; /* Білий фон кнопок */
  border: 1px solid #fff; /* Біла облямівка */
  border-radius: 50%; /* Круглі кнопки з цифрами */
  min-width: 35px; /* Мінімальна ширина для круглої форми */
  text-align: center;
}

.page-item.active .page-link {
  z-index: 3;
  color: #fff; /* Білий колір активної цифри */
  background-color: #ee5f96; /* Фон активної кнопки */
  border-color: #ee5f96;
}

.page-item.disabled .page-link {
  color: #6c757d;
  background-color: #fff;
  border-color: #fff;
  opacity: 0.7;
}

.page-link:focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(238, 95, 150, 0.25); /* Фокус для доступності (можете змінити) */
}

/* Стилі для кнопок зі стрілками */
.page-item:first-child .page-link,
.page-item:last-child .page-link {
  color: #ee5f96; /* Колір стрілок */
  background-color: #fff; /* Білий фон стрілок */
  border-color: #fff;
}

.page-item:first-child .page-link:hover,
.page-item:last-child .page-link:hover {
  color: #fff; /* Білий колір стрілок при наведенні */
  background-color: #ee5f96; /* Фон стрілок при наведенні */
  border-color: #ee5f96;
}
.set-profile__subscribtions .item-model__body{
  margin-top: 165px !important;
}

.item-model__msg {
  display: inline-flex;
  position: static;
  margin: 0;
  vertical-align: middle;
}
.item-model__msg:last-child {
  margin-right: 0;
}

.flex-block{
display: flex;
justify-content: space-between !important;
align-items: center;
width: 100% !important;
flex-shrink: 1;
z-index: 10;
}
.menu__body{
  z-index: 3000;
}
.main-profile__body:not(:last-child) {
 margin-bottom: 0;
}
#editPostModal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(0, 0, 0, 0.4);
	z-index: 1000;
}

#editPostModal.hidden {
	display: none;
}

#editPostModalOverlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

#editPostModalContent {
	position: relative;
	background: white;
	padding: 20px;
	width: 100%;
	max-width: 500px;
	border-radius: 25px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	z-index: 1001;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

#editPostModalContent h2 {
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 15px;
}

#editPostModalContent textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #8f9aa7;
  outline-color: #8f9aa7;
	border-radius: 5px;
	resize: vertical;
	margin-bottom: 15px;
}

#editPostModalContent button[type="submit"] {
  color: #fff;
  text-align: center;
  font-family: Unbounded, sans-serif;
  font-size: 1.125rem;
  padding: .625rem 1.125rem;
  border-radius: .75rem;
  transition: all .3s;
  border: .125rem solid #ee5f96;
  background-color: #ee5f96;
  display: flex;
  align-items: center;
  gap: .625rem;
  justify-content: center;
  width: 100%;
}

#editPostModalClose {
	position: absolute;
	top: 10px;
	right: 15px;
	background: none;
	border: none;
	font-size: 1.2rem;
	cursor: pointer;
}
.review_buttons{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.skip__button{
  color: #000;
  border: #8f9aa7 1px solid;
  background-color: #fff;
}

.skip__button:hover{
  color: #fff;
}

.send_button{
  padding: 10px 60px;
}
#fanSwiper .item-model__rating {
  width: 120px !important;
}
#top {
  width: 120px !important;
}
.comments-block {
  background-color: #fff;
}

.menu-profile__item._icon-bell span {
  word-break: break-word;
}

.item-model__text {
  display: -webkit-box;
  display: box;
  overflow: hidden;
  line-clamp: 3; /* Або просто `line-clamp: 3;` */
  -webkit-line-clamp: 3;
  box-orient: vertical;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
.item-model__body {
  position: relative;
  margin-top: 50px;
  max-height: 330px;
  min-height: 330px;
}
.item-model__tags {
  display: -webkit-box;
  display: box;
  overflow: hidden;
  line-clamp: 2; /* Або просто `line-clamp: 2;` */
  -webkit-line-clamp: 2;
  box-orient: vertical;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}
.item-model__tags .tag {
  display: inline-block; /* Або `block`, якщо кожен тег має бути на новому рядку */
  margin-right: 5px; /* Додайте невеликий відступ між тегами */
  margin-bottom: 5px; /* Додайте невеликий відступ знизу для багаторядкового відображення */
}
.post-block__media {
  position: relative;
  aspect-ratio: 1080/1350;
  border-radius: .75rem;
  overflow: hidden;
  padding: 1.25rem;
  display: flex;
  align-items: end
}
.phone-input__aside{
  height: 47px;
}
.phone-input__aside.cloned{
  margin-top: 15px;
}
.link_img{
  width: 20px;
}

.item-model__header .main-profile__links a:hover {
  text-decoration: none;
  background-color: #fff;
}

.modal-cropper {
  position: fixed;
  z-index: 1050;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.3);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
}

/* Video frame modal specific styles */
#videoFrameModal {
  max-height: 85vh;
  overflow-y: auto;
}

#videoFrameModal .video-frame-selection {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 10px;
}

.video-player-section {
  margin-bottom: 20px;
  text-align: center;
}

.video-player-section video {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.modal-overlay {
  position: fixed;
  z-index: 1040;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}
.upload__actions {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.button--cancel {
  background-color: #ccc;
  padding: 8px 16px;
  border-radius: 5px;
}

.button--confirm {
  background-color: #f21d61;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
}

.post-content {
    max-height: 7.5em;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
}

.post-content.expanded {
    max-height: none;
}

.read-more-btn {
    display: none;
    color: #ee5f96;
    background: none;
    border: none;
    padding: 5px 0;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
    line-height: 1.5;
}

.faq-read-more-btn{
    color: #ee5f96;
    background: none;
    border: none;
    padding: 5px 0;
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: underline;
}

.read-more-btn:hover {
    text-decoration: underline;
    color: #e91e63;
}

.auth__forgot-password {
    text-align: right;
    margin-bottom: 15px;
}

.auth__forgot-password a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.auth__forgot-password a:hover {
    color: #000;
}

.auth__text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
}

.auth__text--gray {
    color: #8f9aa7;
}

.auth__title {
    font-family: Unbounded, sans-serif;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 15px;
    color: #ee5f96;
}

.auth__block {
    max-width: 27.5rem;
    padding: 1.875rem;
    border-radius: 1rem;
    background: #fff;
    width: 100%;
}

.auth__wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.auth__field {
    width: 100%;
}

.auth__field .field__input {
    width: 100%;
}

.auth__field .field__input input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-size: 1rem;
}

.auth__button {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.article__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.article__wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.article__body {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
}

.article__header {
    margin-bottom: 30px;
}

.article__title {
    font-family: Unbounded, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin-top: 20px;
}

.article__text {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.article__aside {
    width: 300px;
    flex-shrink: 0;
}

.dmca-related-articles {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
}

.dmca-related-articles-title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
}

.dmca-related-link-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.dmca-related-link {
    color: #ee5f96;
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.4;
}

.dmca-related-link:hover {
    color: #d54d84;
}

@media (max-width: 767.98px) {
    .article__wrapper {
        flex-direction: column;
    }
}

.creator-card .item-model__body {
    position: relative;
}

.creator-card .item-model__actions {
    position: absolute;
    right: -10px;
    bottom: 1px;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 16px;
}

.creator-card .item-model__msg {
    display: inline-flex;
    position: static;
    margin: 0;
    vertical-align: middle;
}

.agency-card .item-model__body {
    margin-top: 0 !important;
    max-height: 300px !important;
    min-height: 300px !important;
}

.creator-card .item-model__actions,
.agency-card .item-model__actions {
    position: absolute;
    right: -9px;
    bottom: 1px;
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-left: 16px;
    margin-bottom: 8px;
}

.creator-card .item-model__tags,
.agency-card .item-model__tags {
    clear: both;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-top: 6px;
}

@media (max-width: 600px) {
    .creator-card .item-model__actions,
    .agency-card .item-model__actions {
        float: right;
        display: flex;
        flex-direction: row;
        gap: 8px;
        margin-left: 10px;
        margin-bottom: 6px;
    }
    .creator-card .item-model__tags,
    .agency-card .item-model__tags {
        clear: both;
        display: flex;
        flex-wrap: wrap;
        gap: 4px 6px;
        margin-top: 4px;
    }
}

.agency-card .item-model__actions, .creator-card .item-model__actions {
  box-shadow: 0 12px 64px 0 rgba(0,0,0,0.85), 0 0 0 32px rgba(0,0,0,0.5), 0 2px 8px 0 rgba(0,0,0,0.9);
  background: linear-gradient(135deg, rgba(10,10,10,0.98) 80%, rgba(40,40,40,0.85) 100%);
  border-radius: 18px;
}
/* Загальний фон сторінки */
.shop-promo-detail-bg {
  background-color: #ffeef6;
  padding: 40px 20px 60px;
  font-family: 'Inter', sans-serif;
}

/* Обгортка всього контенту */
.shop-promo-detail__container {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  padding: 40px;
  position: relative;
}
.shop_body_pink{
  background: #ffeef6;
  padding-top: 20px;
  padding-bottom: 20px;
}
/* Хедер: кнопка назад та заголовок */
.shop-promo-detail__header-row {
  max-width: 1000px;
  margin: 0 auto 24px auto;
  display: flex;
  align-items: center; /* вирівнює вертикально */
  justify-content: space-between;
  gap: 14px;
  padding: 0 12px;
  position: relative;
  height: 56px; /* зафіксована висота */
}

.shop-promo-detail__back {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #222;
  gap: 6px;
  text-decoration: none;
  background: none;
  border: none;
  font-weight: 600;
  transition: color 0.2s;
  position: static;
  padding: 0;
  margin: 0;
  line-height: 1;
}

.shop-promo-detail__title {
  font-size: 32px;
  font-weight: 600;
  color: #222;
  margin: 0 auto;
  text-align: center;
  line-height: 1.2;
  padding: 0;
  font-family: Unbounded, sans-serif;
}

.shop-promo-detail__title span {
  color: #ec4899;
}

/* Основний блок: дві колонки */
.shop-promo-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}

/* Ліва частина */
.shop-promo-detail__card--main {
  width: 50%;
  padding-right: 30px;
  box-sizing: border-box;
}

/* Зображення */
.shop-promo-detail__img {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
.shop-promo-detail__img img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

/* Права частина */
.shop-promo-detail__card--form {
  width: 50%;
  padding-left: 30px;
  box-sizing: border-box;
}

/* Назва продукту */
.shop-promo-detail__product-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #111;
  font-family: Unbounded, sans-serif;
}

/* Ціни */
.shop-promo-detail__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}
.shop-promo-detail__price {
  font-size: 20px;
  font-weight: 700;
  color: #ec4899;
}

/* Кількість */
.shop-promo-detail__qty-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 22px;
}
.shop-promo-detail__qty-label {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0;
}
.shop-promo-detail__qty-control {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 0 8px;
  min-width: 110px;
  height: 44px;
  gap: 8px;
}
.shop-promo-detail__qty-btn {
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 28px;
  font-weight: 400;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  user-select: none;
}
.shop-promo-detail__qty-btn:hover:not(:disabled) {
  background: #fce7f3;
  color: #ec4899;
}
.shop-promo-detail__qty-btn:disabled {
  color: #e5e7eb;
  cursor: not-allowed;
}
.shop-promo-detail__qty-input {
  width: 36px;
  text-align: center;
  border: none;
  background: none;
  color: #6b7280;
  font-size: 20px;
  font-weight: 500;
  outline: none;
  pointer-events: none;
  padding: 0;
}

/* Завантаження зображень */
.shop-promo-detail__upload {
  background: #fff;
  border: 2px dashed #d1d5db;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

/* Футер форми */
.shop-promo-detail__footer-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin-top: 32px;
}
.shop-promo-detail__footer-price {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  margin-bottom: 0;
  gap: 8px;
}
.shop-promo-detail__footer-price .shop-promo-detail__footer-sum {
  color: #ec4899;
  font-size: 22px;
  font-weight: 700;
  margin-left: 8px;
}
.shop-promo-detail__footer-btn {
  width: 100%;
  background-color: #ec4899;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 0;
  border-radius: 14px;
  border: none;
  margin-top: 0;
  margin-bottom: 0;
  transition: background 0.2s;
  text-align: center;
}
.shop-promo-detail__footer-btn:hover {
  background: #db2777;
}

/* Адаптація */
@media (max-width: 900px) {
  .shop-promo-detail__container {
    padding: 10px 2vw 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-radius: 10px;
  }
  .shop-promo-detail {
    flex-direction: column;
    gap: 32px;
  }
  .shop-promo-detail__card--main, .shop-promo-detail__card--form {
    width: 100%;
    padding: 0;
    border-radius: 0;
  }
  .shop-promo-detail__card--main {
    margin-bottom: 24px;
    padding-bottom: 0;
    padding-right: 0;
  }
  .shop-promo-detail__card--form {
    padding-left: 0;
    padding-top: 0;
  }
  .shop-promo-detail__img {
    border-radius: 8px;
    margin-bottom: 18px;
  }
  .shop-promo-detail__img img {
    border-radius: 8px;
  }
  .shop-promo-detail__desc {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .shop-promo-detail-bg {
    padding: 10px 0 30px;
    box-sizing: border-box;
  }
  .shop-promo-detail__container {
    padding: 0 12px 20px 12px;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
  }
  .shop-promo-detail__header-row {
    height: 50px;
    padding: 0 8px;
    gap: 8px;
    margin-bottom: 12px;
  }
  .shop-promo-detail__back {
    font-size: 15px;
  }
  .shop-promo-detail__title {
    font-size: 24px;
  }
  .shop-promo-detail__img {
    border-radius: 6px;
    margin-bottom: 12px;
  }
  .shop-promo-detail__img img {
    border-radius: 6px;
  }
  .shop-promo-detail__desc {
    font-size: 13px;
  }
  .shop-promo-detail__footer-row {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    margin-top: 24px;
  }
  .shop-promo-detail__footer-price {
    justify-content: flex-end;
    font-size: 16px;
    margin-bottom: 0;
    gap: 6px;
  }
  .shop-promo-detail__footer-price .shop-promo-detail__footer-sum {
    font-size: 20px;
    margin-left: 6px;
  }
  .shop-promo-detail__footer-btn {
    font-size: 16px;
    padding: 14px 0;
    border-radius: 10px;
  }
}

.shop-promo-detail__afterpay {
  color: #ec4899;
  font-size: 13px;
  margin-top: 18px;
  display: block;
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Shop Promotion Detail Styles */
.shop-promo-detail__container {
    padding: 1.5rem;
}

.shop-promo-detail__card--main,
.shop-promo-detail__card--form {
    padding: 1.5rem;
    border-radius: 12px;
    background: #fff;
}

.shop-promo-detail__img .image-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.shop-promo-detail__img img {
    width: 100%;
    height: auto;
    display: block;
}

.shop-promo-detail__content {
    padding: 1.5rem 0;
}

.shop-promo-detail__back {
    transform: rotate(180deg);
}

.shop-promo-detail__upload-subtitle {
    text-align: right;
    font-size: 0.8rem;
    color: #FF69B4;
}

.shop-promo-detail__footer-price {
    font-family: Unbounded, sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
}

.shop-promo-detail__footer-sum {
    font-family: Unbounded, sans-serif;
    font-weight: 500;
}

.shop-promo-detail__footer-btn {
    font-family: Unbounded, sans-serif;
    font-weight: 500;
}

.shop-promo-detail__afterpay {
    font-family: Mulish, sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .shop-promo-detail__container {
        padding: 1rem;
    }
    
    .shop-promo-detail__card--main,
    .shop-promo-detail__card--form {
        padding: 1rem;
    }
    
    .shop-promo-detail__content {
        padding: 1rem 0;
    }
}

.request-progress {
  margin-top: 20px;
  padding: 10px;
  border-radius: 4px;
  background: #f5f5f5;
}

.request-progress.hidden {
  display: none;
}

.request-progress__bar {
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
}

.request-progress__fill {
  height: 100%;
  background: #FF69B4;
  width: 0;
  transition: width 0.3s ease;
}

.request-progress__status {
  font-size: 14px;
  color: #666;
  text-align: center;
}

@keyframes progress {
  0% { width: 0; }
  100% { width: 100%; }
}

.request-progress__fill.animate {
  animation: progress 2s ease-in-out infinite;
}
.article_promo_items_preview_text{
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.article_promo_items_title{
  width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width:47.99875em) {
  .shop__items {
      max-height: none;
      overflow: visible;
    }
  }

/* === CART REDESIGN (макет з фото) === */
.cart-redesign-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    background: #ffeef6;
}
.cart-redesign-wrapper .shop-promo-detail__header-row{
  margin-top: 30px;
}
.cart-redesign-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto 2rem auto;
}
.cart-redesign-items {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.cart-redesign-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid #f21d61;
    border-radius: 12px;
    padding: 0.7rem 1rem;
    margin-bottom: 0.5rem;
}
.cart-redesign-title-col {
    flex: 2;
    font-size: 1rem;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-redesign-link-col {
    flex: 3;
    font-size: 0.95rem;
    color: #888;
    margin-left: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-redesign-qty-col { display: flex; }
.cart-redesign-qty-mobile-row { display: none; }
@media (max-width: 1000px) {
    .cart-redesign-qty-col { display: none !important; }
    .cart-redesign-qty-mobile-row {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.7rem;
        margin-top: 0.7rem;
        margin-bottom: 0.2rem;
        font-size: 1.1rem;
        width: 100%;
    }
    .cart-redesign-remove-col {
        display: none !important;
    }
}
.cart-redesign-qty-btn {
    background: #eee;
    border: none;
    border-radius: 4px;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}
.cart-redesign-qty-btn:hover {
    background: #d1d1e0;
}
.cart-redesign-qty-value {
    min-width: 28px;
    text-align: center;
    font-weight: 500;
    font-size: 1.1rem;
}
.cart-redesign-remove-col {
    flex: 0 0 40px;
    display: flex;
    justify-content: flex-end;
    margin-left: 1.2rem;
}
.cart-redesign-remove-btn {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    transition: color 0.2s;
}
.cart-redesign-remove-btn:hover {
    color: #a71d2a;
}
.cart-redesign-summary {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}
.cart-redesign-summary-label {
    font-size: 1.3rem;
    font-weight: 600;
    margin-right: 0.7rem;
}
.cart-redesign-summary-value {
    font-size: 1.5rem;
    font-weight: bold;
}
.cart-redesign-actions {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-top: 0.5rem;
}
.cart-redesign-btn {
    width: 100%;
    font-size: 1.1rem;
    border-radius: 8px;
    border: 1px solid #bbb;
    background: #fff;
    padding: 0.7rem 0;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border 0.2s;
}
.cart-redesign-btn:hover {
    background: #f7f7fa;
    border-color: #888;
}
@media (max-width: 700px) {
    .cart-redesign-card {
        min-width: 98vw;
        max-width: 98vw;
        padding: 2.5rem 1.2rem 2.5rem 1.2rem;
        border-radius: 18px;
    }
}
@media (max-width: 500px) {
    .cart-redesign-card {
        min-width: 100vw;
        max-width: 100vw;
        padding: 2.5rem 1.2rem 2.5rem 1.2rem;
        border-radius: 16px;
    }
}
.cart-redesign-item-price {
    flex: 1;
    text-align: right;
    font-weight: 600;
    color: #ee5f96;
    font-size: 1.05rem;
    margin-left: 0.7rem;
    white-space: nowrap;
}

/* === CART REDESIGN (макет з фото) === */
.cart-redesign-btn--pink {
    background: #ee5f96 !important;
    color: #fff !important;
    border: 1.5px solid #ee5f96 !important;
    text-align: center;
    font-weight: 600;
    transition: background 0.2s, border 0.2s, color 0.2s;
}
.cart-redesign-btn--pink:hover,
.cart-redesign-btn--pink:focus {
    background: #db2777 !important;
    border-color: #db2777 !important;
    color: #fff !important;
}
.cart-redesign-btn--pink:active {
    background: #c0266b !important;
    border-color: #c0266b !important;
}
.cart-redesign-btn.text-center {
    text-align: center;
}
.cart-redesign-qty-btn--pink {
    background: #eee !important;
    color: #444 !important;
    border: 1.5px solid #eee !important;
    font-weight: 700;
    transition: background 0.2s, color 0.2s, border 0.2s;
}
.cart-redesign-qty-btn--pink:hover,
.cart-redesign-qty-btn--pink:focus {
    background: #ee5f96 !important;
    color: #fff !important;
    border-color: #db2777 !important;
}
.cart-redesign-qty-btn--pink:active {
    background: #db2777 !important;
    color: #fff !important;
    border-color: #c0266b !important;
}
.cart-redesign-remove-btn--pink {
    color: #ee5f96 !important;
    font-size: 1rem;
    background: none;
    border: none;
    transition: color 0.2s;
}
.cart-redesign-remove-btn--pink:hover,
.cart-redesign-remove-btn--pink:focus {
    color: #db2777 !important;
}
@media (max-width: 1000px) {
    .cart-redesign-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
        padding: 0.5rem 0.3rem;
        position: relative;
    }
    .cart-redesign-title-col {
        margin-left: 0;
        width: 100%;
        padding-bottom: 0.5rem;
    }
    .cart-redesign-link-col {
        margin-left: 0;
        width: 100%;
        padding-bottom: 3.5rem;
    }
    .cart-redesign-qty-col {
        display: none;
    }
    .cart-redesign-qty-mobile-row {
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.7rem;
        margin-top: 0.7rem;
        margin-bottom: 0.2rem;
        font-size: 1.1rem;
        width: 100%;
    }
    .cart-redesign-qty-mobile-row .cart-item-single-price {
        color: #ee5f96;
        font-weight: 600;
        min-width: 60px;
        text-align: right;
    }
    .cart-redesign-qty-mobile-row .cart-item-total-price {
        color: #222;
        font-weight: 600;
        min-width: 70px;
        text-align: left;
    }
    .cart-redesign-remove-col {
        position: absolute;
        right: 0.3rem;
        bottom: 0.3rem;
        margin-left: 0;
        z-index: 2;
        bottom: 12px;
    }
}

.cart-fields-list {
    margin-left: 1.5rem;
    font-size: 0.97rem;
    color: #444;
}
@media (max-width: 700px) {
    .cart-redesign-row {
        flex-direction: column;
        align-items: stretch;
    }
    .cart-fields-list {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
    }
}

@media (min-width: 1001px) {
  .cart-redesign-row {
    display: flex;
    flex-direction: column;
  }
  .cart-redesign-main-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
  }
  .cart-fields-list {
    margin-left: 0;
    margin-top: 1.2rem;
    width: 100%;
  }
}

@media (min-width: 1200px) {
  .cart-redesign-card {
    width: 1200px;
    max-width: 1200px;
    min-width: 1200px;
  }
}

/* === Payment Page Centered Styles === */
.shop-promo-detail--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}
.shop-promo-detail--centered .shop-promo-detail__order-items {
  width: 100%;
  margin-bottom: 24px;
}
.shop-promo-detail--centered .shop-promo-detail__order-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 12px;
  background: #fff;
}
.shop-promo-detail--centered .shop-promo-detail__item-title {
  font-size: 1rem;
  font-weight: 500;
  flex: 1 1 auto;
  margin-right: 10px;
  word-break: break-word;
}
.shop-promo-detail--centered .shop-promo-detail__item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}
.shop-promo-detail--centered .shop-promo-detail__item-price {
  font-size: 1rem;
  font-weight: 600;
}
.shop-promo-detail--centered .shop-promo-detail__item-mult {
  font-size: 1rem;
  color: #888;
}
.shop-promo-detail--centered .shop-promo-detail__price-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 32px;
  margin-top: 8px;
}
.shop-promo-detail--centered .shop-promo-detail__price-label {
  color: #222;
}
.shop-promo-detail--centered .shop-promo-detail__price {
  color: #e94e89;
  font-size: 1.5rem;
  font-weight: 700;
}
.shop-promo-detail--centered .paymentWidgets {
  width: 100%;
  min-height: 180px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 18px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 600px) {
  .shop-promo-detail--centered {
    max-width: 98vw;
    padding: 0 2vw;
  }
  .shop-promo-detail--centered .shop-promo-detail__order-item {
    padding: 8px 6px;
    font-size: 0.95rem;
  }
  .shop-promo-detail--centered .shop-promo-detail__price-row {
    font-size: 1.1rem;
  }
}

/* Order meta styles */
.order-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
    font-size: 14px;
    color: #666;
}

.order-meta__number {
    font-weight: 600;
    color: #333;
}

.order-meta__status {
    padding: 2px 8px;
    border-radius: 4px;
    background-color: #f0f0f0;
    font-size: 12px;
    text-transform: capitalize;
}

.order-meta__date {
    color: #888;
}

/* Order details styles */
.order-details {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    font-size: 14px;
    color: #666;
}

.order-details__quantity,
.order-details__price {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Order meta row styles */
.order-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    width: 100%;
}

.order-meta-row__item {
    display: inline-flex;
    align-items: center;
}

.order-meta-row__number {
    font-weight: 600;
    color: #333;
}

.order-meta-row__status {
    padding: 2px 8px;
    border-radius: 4px;
    background-color: #f0f0f0;
    font-size: 12px;
    text-transform: capitalize;
}

.order-meta-row__date {
    color: #888;
}

/* Order details row styles */
.order-details-row {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    width: 100%;
}

.order-details-row__item {
    display: inline-flex;
    align-items: center;
}

.order-details-row__quantity,
.order-details-row__price {
    white-space: nowrap;
}

/* --- Order Item Custom Layout --- */
.order-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}
.order-item__image {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.order-item__image img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ccc;
}
.order-item__body {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.order-item__row {
    display: flex;
    width: 100%;
    align-items: center;
}
.order-item__row--top {
    justify-content: space-between;
    margin-bottom: 2px;
}
.order-item__row--meta {
    justify-content: space-between;
    margin-bottom: 2px;
}
.order-item__row--details {
    margin-top: 2px;
    font-size: 14px;
    color: #444;
}
.order-item__col--left {
    flex: 1 1 0%;
    min-width: 0;
}
.order-item__col--right {
    flex-shrink: 0;
    text-align: right;
    min-width: 60px;
}
.order-item__title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 0;
    color: #111;
    line-height: 1.2;
}
.order-item__number {
    font-weight: 600;
    font-size: 16px;
    color: #222;
}
.order-item__status {
    font-size: 15px;
    color: #444;
    font-weight: 500;
}
.order-item__date {
    font-size: 15px;
    color: #888;
    font-weight: 400;
}
.order-item__details {
    font-size: 14px;
    color: #444;
    margin-top: 2px;
}
@media (max-width: 600px) {
    .order-item {
        flex-direction: column;
        align-items: stretch;
    }
    .order-item__row--top, .order-item__row--meta {
        flex-direction: row;
        justify-content: space-between;
    }
    .order-item__col--right {
        min-width: 40px;
    }
}

.order-item__status-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 6px;
    background: #f0f0f0;
    color: #e94e89;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
    letter-spacing: 0.02em;
    min-width: 60px;
    text-align: center;
}
.order-item__col--title {
    flex: 1 1 auto;
    min-width: 0;
}
.order-item__col--number {
    flex-shrink: 0;
    max-width: 70px;
    text-align: right;
}
.order-item__title--link {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
}

@media (max-width: 1000px) {
    .orders-profile__items {
        padding-left: 12px;
        padding-right: 12px;
    }
}
.set-profile__orders{
  padding-bottom: 10px;
}
.hero-home__item:has(p) {
  flex-direction: column;
  border-radius: .75rem;
  gap: .625rem;
  align-items: start;
  flex: 0 0 100%;
}
.page--pink {
  background-color: #ffeef6;
}
.auth__image.contact__form {
  background-color: #ffeef6 !important;
  position: relative;
  z-index: 2;
}

.auth__image.contact__form::before {
  background: transparent !important;
  z-index: 2;
}

.auth__image.contact__form svg {
  position: absolute;
  right: -60%;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  pointer-events: none;
  width: 395px;
  height: 430px;
}

@media (max-width: 768px) {
  .auth__image.contact__form svg {
    right: 50%;
    top: -30%;
    transform: translateX(50%);
    width: 300px;
    height: 326px;
  }
}

.auth__image.contact__form .auth__block {
  position: relative;
  z-index: 2;
}

.contact__title {
  text-align: center;
  margin-bottom: 30px;
}

.contact__title h1 {
  font-size: 32px;
  color: #ee5f96;
  font-family: Unbounded, sans-serif;
  font-weight: 500;
}

.auth__block._contact-us {
  z-index: 100;
}

.contact-hero {
  padding: 24px 16px 18px 16px;
  border-radius: 18px;
  margin-bottom: 24px;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: 0;
}
.contact-hero h2 {
  font-family: Unbounded, sans-serif;
  font-size: 2rem;
  font-weight: 500;
  margin: 0 0 30px 0;
  color: #111;
}
.contact-hero__accent {
  color: #ee5f96;
  font-weight: 500;
}
.contact-hero__desc {
  font-size: 1rem;
  color: #222;
  margin: 0;
  font-family: inherit;
}

@media (max-width: 1000px) {
  .auth__image.contact__form svg {
    right: 50%;
    top: 20px;
    transform: translateX(50%);
    width: 300px;
    height: 326px;
  }
  .contact-hero {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

/* Breadcrumbs */
.custom-breadcrumbs {
    margin-bottom: 18px;
}
.custom-breadcrumbs ol {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #C3C7D1;
    list-style: none;
    padding: 0;
    margin: 0;
}
.custom-breadcrumbs-home {
    color: #F26AAB;
    font-weight: 600;
    text-decoration: none;
}
.custom-breadcrumbs-sep {
    margin: 0 7px;
}
.custom-breadcrumbs-current {
    color: #C3C7D1;
}

/* Related articles */
.custom-related-title {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 16px;
    color: #222;
}
.custom-related-links {
    margin-top: 24px;
}
.custom-related-columns {
    display: flex;
    gap: 30px;
}
.custom-related-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 15px;
    color: #222;
    flex: 1;
}
.custom-related-item {
    margin-bottom: 6px;
    position: relative;
    padding-left: 22px;
}
.custom-related-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  background: #F26AAB;
  border-radius: 50%;
  display: block;
}

@media (min-width: 1000px) {
  .custom-related-item::before {
    top: 0.2em;
  }
}
/* Видаляю старий стиль */
ul li.custom-related-item{
  /* list-style: disc; */
  /* color: #F26AAB; */
}

.custom-related-link {
    color: #F26AAB;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.custom-related-link:hover {
    color: #d94e8a;
}

/* Helpful block */
.custom-helpful-sep {
    margin-bottom: 20px;
    margin-top: 20px;
}
.custom-helpful-block {
    margin-top: 32px;
    margin-bottom: 0;
}
.custom-helpful-title {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 16px;
    color: #222;
}
.custom-helpful-buttons {
    display: flex;
    gap: 12px;
}
.custom-helpful-btn {
    border: none;
    border-radius: 20px;
    padding: 7px 22px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.custom-helpful-btn--yes {
    background: #F26AAB;
    color: #fff;
}
.custom-helpful-btn--no {
    background: #F3F4F6;
    color: #222;
}
.page-faq-title{
  font-size: 2rem;
  color: #111;
  margin-bottom: 20px;
  font-family: Unbounded, sans-serif;
}
.cookie-consent {
  position: fixed;
  bottom: 20px;
  right: 20px;
  max-width: 420px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  padding: 24px;
  font-family: inherit;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.cookie-consent.hidden {
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
}

.cookie-consent__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px;
  color: #1a1a1a;
}

.cookie-consent__message {
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin: 0 0 20px;
}

.cookie-consent__buttons {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-consent__link {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.cookie-consent__link:hover {
  color: #1a1a1a;
}

.cookie-consent__button {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

@media (max-width: 480px) {
  .cookie-consent {
      left: 20px;
      right: 20px;
      bottom: 20px;
      max-width: none;
  }
  
  .cookie-consent__buttons {
      flex-direction: column;
      align-items: stretch;
  }
  
  .cookie-consent__link {
      text-align: center;
      margin-bottom: 8px;
  }
}
.item-model{
  width: 100%;
}
.item-review__title.verif .username::after{
  content: '';
  background: none;
  width: 0;
}

/* Modal overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

/* Modal content */
.report-form {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  width: 90%;
  max-width: 500px;
}

.report-form__title,
.report-form__label,
.report-form__button,
.report-form__select,
.report-form__select option {
  font-family: Unbounded, sans-serif;
}

.report-form__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  padding: 4px;
  line-height: 1;
}

.report-form__title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #ee5f96;
}

.report-form__field {
  margin-bottom: 20px;
}

.report-form__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #ee5f96;
}

.report-form__select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  background-color: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.report-form__select:focus {
  border-color: #ee5f96;
  outline: none;
}

.report-form__select option {
  padding: 12px;
}

.report-form__textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  resize: vertical;
  min-height: 100px;
  font-family: system-ui, -apple-system, sans-serif;
}

.report-form__textarea:focus {
  border-color: #ee5f96;
  outline: none;
}

.report-form__actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 24px;
  width: 100%;
}

.report-form__button {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  width: calc(50% - 6px); /* half width minus half of the gap */
  text-align: center;
}

.report-form__button--cancel {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  color: #666;
}

.report-form__button--submit {
  background-color: #ee5f96;
  border: none;
  color: #fff;
}

.report-form__button:hover {
  opacity: 0.9;
}

.report-form__button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* reCAPTCHA container styles */
.report-form__field--captcha {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.report-form__field--captcha .g-recaptcha {
  width: 100% !important;
  transform-origin: left top;
  transform: scale(1);
  margin: 12px 0;
}

.report-form__field--captcha .g-recaptcha > div {
  width: 100% !important;
}

@media screen and (max-width: 500px) {
  .report-form__field--captcha .g-recaptcha {
      transform: scale(0.85);
  }
}

@media screen and (max-width: 400px) {
  .report-form__field--captcha .g-recaptcha {
      transform: scale(0.75);
  }
}
.no-more-models {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  min-height: 300px;
}

.no-more-models__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ff4d4d;
}

.no-more-models__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.5rem;
}

.no-more-models__text {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.no-more-models__button {
  margin-top: auto;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.no-more-models__button:hover {
  transform: translateY(-2px);
}

/* Role Change Modals Styles */
.role-change-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    overflow-y: auto;
}

.role-change-modal__content {
    position: relative;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
}

.role-change-modal__close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 1;
}

.role-change-modal__header {
    margin-bottom: 1.5rem;
    position: sticky;
    top: 0;
    background: white;
    padding-top: 0.5rem;
    z-index: 1;
}

.role-change-modal__title {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    color: #333;
}

.role-change-modal__separator {
    height: 1px;
    background: #e5e5e5;
    margin-bottom: 1rem;
}

.role-change-modal__body {
    margin-bottom: 2rem;
    color: #444;
    line-height: 1.6;
}

.role-change-modal__text {
    margin-bottom: 1.5rem;
}

.role-change-modal__text p {
    font-size: clamp(1rem, 3vw, 1.1rem);
}

.role-change-modal__warning {
    background: #fff5f7;
    padding: clamp(1rem, 3vw, 1.5rem);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.role-change-modal__warning p {
    font-size: clamp(1rem, 3vw, 1.1rem);
    margin-bottom: 1rem;
}

.role-change-modal__warning p:last-child {
    margin-top: 1rem;
    margin-bottom: 0;
}

.role-change-modal__list {
    font-size: clamp(0.9rem, 2.8vw, 1rem);
    margin-bottom: 1rem;
}

.role-change-modal__thank-you {
    text-align: center;
    font-size: clamp(1rem, 3vw, 1.1rem);
}

.role-change-modal__footer {
    position: sticky;
    bottom: 0;
    background: white;
    padding-top: 1rem;
    margin-top: auto;
    display: flex;
    gap: 1rem;
}

.role-change-modal__button {
    flex: 1;
    font-size: clamp(1rem, 3vw, 1.1rem);
    border-radius: 12px;
    padding: clamp(0.75rem, 2vw, 1rem) 0;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.role-change-modal__button--cancel {
    background: #e5e5e5;
    color: #333;
}

.role-change-modal__button--confirm {
    background: #d95286;
    color: #fff;
    font-weight: 600;
}

.role-change-modal__button--full {
    width: 100%;
    text-align: center;
    text-decoration: none;
    border-radius: 6px;
}

.famez-order-item {
  position: relative;
}
.famez-invoice-btn {
  position: absolute;
  right: 16px;
  bottom: 12px;
  padding: 4px 14px;
  font-size: 13px;
  border-radius: 8px;
  background: #ff5ca2;
  color: #fff !important;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: none;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
  line-height: 1.2;
}
.famez-invoice-btn:hover, .famez-invoice-btn:focus {
  background: #e94b8a;
  color: #fff !important;
  text-decoration: none;
}
/* Трохи більший відступ для мобільних, щоб не зливалась із краєм */
@media (max-width: 700px) {
.famez-invoice-btn {
  right: 8px;
  bottom: -15px;
}
}
.checkout-flex {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
  padding: 32px 24px 24px 24px;
  margin-bottom: 32px;
}
.checkout-left {
  flex: 1 1 340px;
  max-width: 400px;
  min-width: 260px;
  padding: 0 18px 0 0;
  margin-bottom: 0;
  overflow-y: auto;
  max-height: 520px;
}
.checkout-right {
  flex: 1 1 340px;
  max-width: 420px;
  min-width: 260px;
  padding: 0 0 0 24px;
  margin-bottom: 0;
}
.checkout-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #222;
}
.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checkout-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f7f7fa;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 1rem;
}
.checkout-item-title {
  font-weight: 500;
  color: #222;
  text-decoration: none;
}
.checkout-item-meta {
  color: #ee5f96;
  font-weight: 600;
  white-space: nowrap;
}
.checkout-summary {
  margin-top: 24px;
  border-top: 1px solid #eee;
  padding-top: 16px;
  font-size: 1.05rem;
}
.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}
.checkout-summary-row strong {
  font-weight: 600;
}
.checkout-form-label {
  font-weight: 500;
  margin-bottom: 4px;
  color: #222;
}
.checkout-form-label[for="user_address"] {
  margin-top: 4px;
}
.checkout-form-input, .checkout-form-select {
  width: 100%;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
  font-size: 1rem;
  margin-bottom: 16px;
  background: #fafbfc;
}
.checkout-checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.checkout-checkbox-row label {
  font-size: 1rem;
  color: #222;
  font-weight: 400;
}
.checkout-tax-hint {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 12px;
  margin-left: 2px;
}
.checkout-upload-title {
  margin-top: 16px;
}
.checkout-tax-exempt-block {
  margin-top: 16px;
}
.checkout-confirm-btn {
  display: block;
  margin-left: auto;
  margin-top: 18px;
  min-width: 160px;
}
.fancy-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 12px;
  user-select: none;
}
.fancy-checkbox input[type="checkbox"] {
  display: none;
}
.fancy-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: #fff;
  border: 1.5px solid #888;
  display: inline-block;
  position: relative;
  transition: background 0.2s, border 0.2s;
}
.fancy-checkbox input[type="checkbox"]:checked + .fancy-check {
  background: #ee5f96;
  border: none;
}
.fancy-checkbox input[type="checkbox"]:checked + .fancy-check:after {
  content: '';
  position: absolute;
  left: 7px;
  top: 2px;
  width: 7px;
  height: 13px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  border-radius: 1px;
  transform: rotate(45deg);
}
.fancy-label-text {
  color: #222;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
}
@media (max-width: 900px) {
  .checkout-flex {
      flex-direction: column;
      gap: 8px;
      padding: 12px 2px;
  }
  .checkout-left, .checkout-right {
      max-width: 100%;
      min-width: 0;
      padding: 0;
      width: 100%;
  }
  .checkout-left {
      margin-bottom: 0;
      flex: 1 1 100%;
  }
}
.checkout-confirm-btn-wide {
  width: 100%;
  max-width: 100%;
  margin: 32px 0 0 0;
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 16px 0;
}
.checkout-btn-left{
  margin-right: 80px;
}

/* Show More button with pink quotes for mobile */
@media (max-width: 800px) {
    .quotes-btn {
        position: relative;
        padding-right: 2.5rem;
    }

    .quotes-btn::after {
        content: ">>";
        color: #ee5f96;
        position: absolute;
        top: 50%;
        right: 1rem;
        transform: translateY(-50%);
        font-size: 1rem;
        pointer-events: none;
        z-index: 1;
    }
}
.no-messages.set-access::after {
  content: "";
  aspect-ratio: 160/197;
  height: 12.3125rem;
  position: absolute;
  bottom: 0;
  right: 0;
  pointer-events: none;
  background: url(../img/profile/model-set/star.png) no-repeat center/contain;
  z-index: 1
}

/* Chat status messages */
.chat-model__empty,
.chat-model__unconfirmed {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin: 20px;
}

.chat-model__empty p,
.chat-model__unconfirmed p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #ee5f96;
    font-weight: 600;
    max-width: 400px;
    margin: 0 auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chat-model__unconfirmed {
    background: rgba(238, 95, 150, 0.05);
    border: 1px solid rgba(238, 95, 150, 0.1);
}

.chat-model__unconfirmed p {
    color: #ee5f96;
}

.chat-model__unconfirmed p strong {
    color: #ee5f96;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

/* Chat send icon */
.chat-model__button._icon-send::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2.01 21L23 12L2.01 3L2 10L17 12L2 14L2.01 21Z' fill='%23ee5f96'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
}

.chat-model__button._icon-send:hover::before {
    transform: translateX(2px);
}

/* Chat confirmation styles */
.chat-model__unconfirmed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
}

.chat-model__unconfirmed-content {
    width: 100%;
}

.chat-model__confirm-form {
    width: 100%;
}

.chat-model__confirm-form .button {
    width: 100%;
    margin: 0;
}

/* Channel Creation Form Styles */
.channel-form {
    padding: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.channel-form .set-profile__field {
    margin-bottom: 12px;
}

.channel-form .field__label {
    margin-bottom: 12px;
    font-weight: 500;
}

.channel-form .select-all-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border: 1px solid #D9D9D9;
    border-radius: 4px;
    margin-bottom: 16px;
}

.channel-form .select-all-label {
    font-size: 15px;
    font-weight: 500;
}

.channel-form .toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.channel-actions-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
}
.channel-create-btn {
    background: #ee5f96;
    color: #fff;
    border-radius: 12px;
    padding: 12px 32px;
    border: none;
    font-size: 18px;
    transition: background 0.2s;
}
.channel-create-btn:hover {
    background: #d54d84;
}
.channel-clear-btn {
    background: #fff;
    color: #222;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    padding: 12px 32px;
    font-size: 18px;
    transition: background 0.2s, color 0.2s;
}
.channel-clear-btn:hover {
    background: #f7f7f7;
    color: #ee5f96;
}

.channel-form,
.channel-form label,
.channel-form .radio-label,
.channel-form textarea,
.channel-form span {
    font-family: 'Unbounded', sans-serif !important;
    font-weight: 400 !important;
    color: #8f9aa7 !important;
}
.channel-form input[type="checkbox"],
.channel-form input[type="radio"] {
    accent-color: #ee5f96;
    width: 24px;
    height: 24px;
}
.channel-form .field__radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 32px;
}
.channel-form .radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}
@media (max-width: 600px) {
    .channel-form .field__radio-group {
        gap: 10px 12px;
    }
}

.channel-form .group-checkbox {
    accent-color: #ee5f96;
    width: 24px;
    height: 24px;
}

.channel-form .toggle-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

/* Block Chat Modal Styles */
.block-chat-modal__overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
  transition: opacity 0.2s;
}
.block-chat-modal__overlay--hidden {
  display: none;
}
.block-chat-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
}
.block-chat-modal--hidden {
  display: none;
}
.block-chat-modal__content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.18);
  padding: 32px 24px 24px 24px;
  min-width: 320px;
  max-width: 420px;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.block-chat-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #222;
  cursor: pointer;
  z-index: 1;
}
.block-chat-modal__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}
.block-chat-modal__textarea {
  width: 100%;
  min-height: 90px;
  border-radius: 8px;
  border: 1px solid #d9d9d9;
  padding: 12px;
  font-size: 1rem;
  margin-bottom: 20px;
  resize: vertical;
}
.block-chat-modal__button {
  width: 100%;
  background: #ee5f96;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 0;
  font-size: 1.15rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.2s;
}
.block-chat-modal__button:hover {
  background: #d54d84;
}

/* Modern Chat Styles */
.chat-modern {
    height: calc(100vh - 200px);
    display: flex;
    flex-direction: column;
}

.chat-modern .chat-model__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
}

.chat-modern .chat-model__footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fff;
}

.chat-modern .chat-model__loading {
    text-align: center;
    padding: 10px;
    color: #666;
    display: none;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
    border-bottom: 1px solid #eee;
}

.chat-modern .chat-model__loading.active {
    display: block;
}

/* Messages container styles */
.notif-profile--messages {
  height: calc(100vh - 300px); /* Adjust this value based on your layout */
  min-height: 400px;
  max-height: 800px;
  display: flex;
  flex-direction: column;
}

.notif-profile__items--messages {
  flex: 1;
  overflow-y: auto;
  padding-right: 10px; /* Space for scrollbar */
}

.notif-profile__items--messages::-webkit-scrollbar {
  width: 6px;
}

.notif-profile__items--messages::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.notif-profile__items--messages::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.notif-profile__items--messages::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Loading indicator styles */
.loading-indicator {
  text-align: center;
  padding: 20px;
}

.loading-indicator .spinner {
  width: 30px;
  height: 30px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #ee5f96;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Chat attachments styles */
.chat-model__text p {
  word-break: break-word;
  overflow-wrap: break-word;
}

.chat-model__text img,
.chat-model__text .video-preview {
    max-width: 150px;
    max-height: 150px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.chat-model__text img:hover,
.chat-model__text .video-preview:hover {
    transform: scale(1.02);
}

.chat-model__text .video-preview {
    position: relative;
    overflow: hidden;
}

.chat-model__text .video-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-model__text .video-preview .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.chat-model__text .video-preview:hover .play-icon {
    background: rgba(0, 0, 0, 0.7);
}

.chat-model__text .video-preview .duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}
.chat-attachment-modal {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 90vh;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.chat-attachment-modal__header {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.chat-attachment-modal__header h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.chat-attachment-modal__content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.chat-attachment-modal__footer {
  padding: 1.5rem;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

.chat-attachment-modal__footer.chat-attachment-modal__footer--rename{
  padding: 1.5rem 0;
}

.chat-attachment-modal .media-model {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
  padding: 0;
}

.chat-attachment-modal .media-model__item {
  position: relative;
  aspect-ratio: 1/1;
  width: 100%;
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-attachment-modal .media-model__item.selected {
  border-color: #ff69b4;
  box-shadow: 0 0 0 2px rgba(255,105,180,0.2);
  transform: scale(1.03);
}

.chat-attachment-modal .media-model__item img,
.chat-attachment-modal .media-model__item video {
  margin: 0;
  object-fit: cover;
}

.chat-attachment-modal .media-model__item .video-preview img {
  width: 100%;
  height: 100%;
  display: block;
}

.chat-attachment-modal .media-model__item .video-preview {
  position: relative;
  width: 100%;
  height: 100%;
}

.chat-attachment-modal .media-model__item .video-preview .duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0,0,0,0.7);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  z-index: 2;
}

.chat-attachment-modal .media-model__item .video-preview .play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.chat-attachment-modal .media-model__item .video-preview .play-icon svg {
  width: 24px;
  height: 24px;
}

.chat-attachment-modal .media-model__item .selected-indicator {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #ff69b4;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 2;
}

.chat-attachment-modal .media-model__item.selected .selected-indicator {
  opacity: 1;
}

.chat-attachment-modal .button--full {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
}

.chat-attachment-modal .button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Адаптивність */
@media (max-width: 768px) {
  .chat-attachment-modal {
      max-width: 100%;
      max-height: 100vh;
      border-radius: 0;
  }

  .chat-attachment-modal .media-model {
      grid-template-columns: repeat(2, 1fr);
      max-width: 360px;
      gap: 1rem;
  }

  .chat-attachment-modal__header,
  .chat-attachment-modal__content,
  .chat-attachment-modal__footer {
      padding: 1rem;
  }
}

@media (max-width: 480px) {
  .chat-attachment-modal .media-model {
      grid-template-columns: repeat(2, 1fr);
      max-width: 100%;
      gap: 0.5rem;
      padding: 0 0.25rem;
  }

  .chat-attachment-modal__header h3 {
      font-size: 1.2rem;
  }

  .chat-attachment-modal .button--full {
      padding: 0.6rem;
      font-size: 0.9rem;
  }
}

#chatAttachmentModal .modal_content {
  max-width: 700px;
  width: 95vw;
  min-width: 320px;
  margin: 0 auto;
  border-radius: 16px;
  padding: 0;
}

@media (max-width: 768px) {
  #chatAttachmentModal .modal_content {
      max-width: 98vw;
      min-width: unset;
      border-radius: 0;
  }
}

/* Chat file input and preview styles */
.chat-file-input {
    display: none;
}

.chat-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.chat-preview-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #eee;
}

.chat-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-video-preview {
    position: relative;
    width: 100%;
    height: 100%;
}

.chat-video-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 2;
}

.chat-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.chat-play-icon svg {
    width: 24px;
    height: 24px;
}

.chat-remove-preview {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    z-index: 3;
    transition: background-color 0.2s;
}

.chat-remove-preview:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* Chat attachment modal styles */
.chat-attachment-modal .chat-preview-item {
    width: 150px;
    height: 150px;
}

.chat-attachment-modal .chat-preview-container {
    margin: 1rem 0;
}

.preview_container .video-preview {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 5px;
    overflow: hidden;
}

.preview_container .video-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview_container .video-preview .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.preview_container .video-preview .play-icon svg {
    width: 12px;
    height: 12px;
}

.preview_container .video-preview:hover .play-icon {
    background: rgba(0, 0, 0, 0.8);
}

/* Chat search results */
.chat-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    z-index: 1;
    display: none;
    margin-top: 4px;
}

.chat-search-results.active {
    display: block;
}

.chat-search-result-item {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

.chat-search-result-item:hover {
    background-color: #f5f5f5;
}

.chat-search-result-item:last-child {
    border-bottom: none;
}

.chat-search-result-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.chat-search-result-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.chat-search-result-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chat-search-result-info {
    flex-grow: 1;
}

.chat-search-result-sender {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.chat-search-result-text {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 4px;
}

.chat-search-result-date {
    color: #999;
    font-size: 12px;
}

.chat-search-result-item.highlighted {
    background-color: #e3f2fd;
}

.chat-search-result-item.highlighted .chat-search-result-text {
    color: #1976d2;
}

/* Highlight search matches */
.chat-search-highlight {
    background-color: #fff3cd;
    padding: 0 2px;
    border-radius: 2px;
}

.search-comp {
    position: relative;
}

.search-comp__field {
    position: relative;
    z-index: 2;
}

/* Story Form Styles */
.story-text-settings {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.story-text-settings__controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.story-text-settings__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.story-text-settings__group label {
    font-size: 0.875rem;
    color: #8f9aa7;
    font-weight: 500;
}

.story-text-settings__range {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: #e5e5e5;
    outline: none;
}

.story-text-settings__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ee5f96;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.story-text-settings__range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ee5f96;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.story-text-settings__range::-webkit-slider-track {
    background: linear-gradient(to right, #ee5f96 0%, #ee5f96 50%, #e5e5e5 50%, #e5e5e5 100%);
    border-radius: 3px;
    height: 6px;
}

.story-text-settings__color {
    width: 100%;
    height: 40px;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
}

.story-text-settings__select {
    padding: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.story-preview-area {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.story-preview {
    width: 300px;
    height: 533px; /* 9:16 aspect ratio */
    background: #000;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.story-preview__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    text-align: center;
    padding: 2rem;
}

.story-preview__icon {
    font-size: 3rem;
    color: #8f9aa7;
    margin-bottom: 1rem;
}

.story-preview__text {
    color: #8f9aa7;
    font-size: 0.875rem;
    line-height: 1.4;
}

.story-preview__media {
    width: 100%;
    height: 100%;
    position: relative;
}

.story-preview__media img,
.story-preview__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-preview__text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    word-wrap: break-word;
    max-width: 80%;
    pointer-events: all;
    cursor: move;
    user-select: none;
    transition: all 0.2s ease;
}

.story-preview__text-overlay:hover {
    box-shadow: 0 0 0 2px rgba(238, 95, 150, 0.5);
}

.story-preview__text-overlay.dragging {
    opacity: 0.8;
    z-index: 1000;
}

.text-overlay__content {
    padding: 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
}

.text-overlay__controls {
    position: absolute;
    top: -30px;
    right: -30px;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.story-preview__text-overlay:hover .text-overlay__controls {
    opacity: 1;
}

.text-overlay__rotate-btn,
.text-overlay__delete-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.2s ease;
}

.text-overlay__rotate-btn:hover,
.text-overlay__delete-btn:hover {
    background: #ee5f96;
}

/* Rotate icon */
._icon-rotate::before {
    content: '↻';
    font-size: 14px;
    font-weight: bold;
}

/* Delete icon */
._icon-delete::before {
    content: '×';
    font-size: 18px;
    font-weight: bold;
}

.story-form {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.story-form__input-area {
    margin-bottom: 1rem;
}

.story-form__text-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.story-form__text-input:focus {
    outline: none;
    border-color: #ee5f96;
}

.story-form__actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.story-form__button {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-form__button:hover {
    background: #ee5f96;
    color: #fff;
}

.story-form__button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.story-form__button:disabled:hover {
    background: #f5f5f5;
    color: inherit;
}

/* Send button icon styles */
.story-form__button._icon-send::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M2.01 21L23 12L2.01 3L2 10L17 12L2 14L2.01 21Z' fill='%23ee5f96'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
}

.story-form__button._icon-send:hover::before {
    transform: translateX(2px);
}

/* Picture and video button icons */
.story-form__button._icon-picture::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M19 3H5C3.9 3 3 3.9 3 5V19C3 20.1 3.9 21 5 21H19C20.1 21 21 20.1 21 19V5C21 3.9 20.1 3 19 3ZM19 19H5V5H19V19ZM15 15V13L13 11L11 13L9 11L7 13V15H15ZM9 9C9.55 9 10 8.55 10 8C10 7.45 9.55 7 9 7C8.45 7 8 7.45 8 8C8 8.55 8.45 9 9 9Z' fill='%238f9aa7'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.story-form__button._icon-video::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M17 10.5V7C17 6.45 16.55 6 16 6H4C3.45 6 3 6.45 3 7V17C3 17.55 3.45 18 4 18H16C16.55 18 17 17.55 17 17V13.5L21 17.5V6.5L17 10.5Z' fill='%238f9aa7'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Multiple texts support */
.story-texts-list {
    background: #fff;
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
}

.story-texts-list__title {
    font-size: 0.875rem;
    color: #8f9aa7;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.story-text-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.story-text-item:hover {
    border-color: #ee5f96;
    background: rgba(238, 95, 150, 0.05);
}

.story-text-item.active {
    border-color: #ee5f96;
    background: rgba(238, 95, 150, 0.1);
}

.story-text-item__preview {
    flex: 1;
    font-size: 0.875rem;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.story-text-item__delete {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: none;
    background: #ff4757;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background 0.2s ease;
}

.story-text-item__delete:hover {
    background: #ff3742;
}

.story-text-item__delete::before {
    content: '×';
    font-size: 14px;
    font-weight: bold;
}

.story-form__add-text-btn {
    background: #ee5f96;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background 0.2s ease;
    margin-bottom: 1rem;
    display: none;
}

.story-form__add-text-btn:hover {
    background: #d54d84;
}

/* === STORY MODAL (Instagram Stories style) === */
.story-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.95);
  z-index: 3000;
}
.story-modal.hidden {
  display: none !important;
}
.story-modal-content {
  background: #000;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  width: 100%;
  max-width: 420px;
  min-height: 600px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.story-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.15);
  position: absolute;
  top: 0; left: 0;
  z-index: 2;
}
.story-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ee5f96 0%, #ffb86c 100%);
  border-radius: 4px;
  transition: width 0.2s linear;
}
.story-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px 10px 18px;
  position: relative;
  z-index: 3;
}
.story-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}
.story-username {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  flex: 1;
  text-shadow: 0 1px 4px #000;
}

/* Кнопка меню сторіс */
.story-menu-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
}

.story-menu-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.story-menu-btn svg {
  width: 20px;
  height: 20px;
}

/* Дропдаун меню сторіс */
.story-dropdown {
  position: absolute;
  top: 100%;
  right: 18px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
  min-width: 120px;
  overflow: hidden;
}

.story-dropdown.hidden {
  display: none;
}

.story-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  color: #333;
  font-size: 14px;
  transition: background-color 0.2s;
}

.story-dropdown-item:hover {
  background-color: #f5f5f5;
}

.story-dropdown-item svg {
  width: 16px;
  height: 16px;
  color: #666;
}

.story-close {
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  margin-left: 8px;
  transition: color 0.2s;
}
.story-close:hover {
  color: #ee5f96;
}
.story-media-container {
  aspect-ratio: 9/16;
  width: 100%;
  max-width: 420px;
  max-height: 700px;
  background: #000;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.story-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 9/16;
  background: #000;
  border-radius: 0;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}
.story-media.active {
  display: block;
}
#storyModalVideoContainer {
  width: 100%;
  height: 100%;
  aspect-ratio: 9/16;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
}
#storyModalVideoContainer.active {
  display: flex;
}
.story-views {
  color: #fff;
  font-size: 0.98rem;
  opacity: 0.85;
  padding: 12px 18px 14px 18px;
  text-align: left;
  letter-spacing: 0.01em;
}

/* === STORY TEXTS STYLES === */
.story-texts-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.story-text {
  position: absolute;
  color: #fff;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  white-space: pre-wrap;
  word-wrap: break-word;
  max-width: 80%;
  text-align: center;
  pointer-events: none;
  user-select: none;
  transform-origin: center;
  transform: translate(-50%, -50%);
}

.story-text--outline {
  text-shadow: 
    -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000,
    2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Мобільна адаптивність */
@media (max-width: 768px) {
  .story-modal-content {
    max-width: 100vw;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    border-radius: 0;
    display: flex;
    flex-direction: column;
  }
  
  .story-header {
    padding: 16px 20px 10px 20px;
    flex-shrink: 0;
  }
  
  .story-media-container {
    flex: 1;
    max-width: 100%;
    max-height: none;
    aspect-ratio: auto;
    border-radius: 0;
  }
  
  .story-media {
    border-radius: 0;
    aspect-ratio: auto;
  }
  
  .story-views {
    padding: 12px 20px 20px 20px;
    flex-shrink: 0;
  }

  .story-text {
    font-size: clamp(14px, 4vw, 24px);
    max-width: 85%;
  }
}

@media (max-width: 480px) {
  .story-modal-content {
    max-width: 100vw;
    width: 100vw;
    height: 100vh;
  }
  
  .story-header {
    padding: 12px 16px 8px 16px;
  }
  
  .story-avatar {
    width: 36px;
    height: 36px;
  }
  
  .story-username {
    font-size: 1rem;
  }
  
  .story-close {
    font-size: 1.5rem;
  }
  
  .story-views {
    padding: 8px 16px 16px 16px;
    font-size: 0.9rem;
  }

  .story-text {
    font-size: clamp(12px, 3.5vw, 20px);
    max-width: 90%;
  }
}

/* Для дуже маленьких екранів */
@media (max-width: 360px) {
  .story-header {
    padding: 10px 12px 6px 12px;
  }
  
  .story-avatar {
    width: 32px;
    height: 32px;
  }
  
  .story-username {
    font-size: 0.9rem;
  }
  
  .story-views {
    padding: 6px 12px 12px 12px;
    font-size: 0.85rem;
  }

  .story-text {
    font-size: clamp(10px, 3vw, 18px);
    max-width: 95%;
  }
}

/* Додаємо стилі для відео контейнера */
#storyModalVideoContainer {
  width: 100%;
  height: 100%;
  aspect-ratio: 9/16;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

#storyModalVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 9/16;
  background: #000;
  border-radius: 0;
  position: absolute;
  top: 0;
  left: 0;
}

#storyModalVideoContainer {
  border-radius: 0;
  aspect-ratio: auto;
  position: relative;
}

#storyModalVideo {
  border-radius: 0;
  aspect-ratio: auto;
  position: absolute;
  top: 0;
  left: 0;
}

/* === HIGHLIGHTS STYLES === */
.highlights__item {
  overflow: hidden;
}

.highlights__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

#storyModalVideoContainer.active .story-media {
  display: block;
}

.story-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 9/16;
  background: #000;
  border-radius: 0;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}
.story-media.active {
  display: block;
}

/* === STORY MODAL INDICATORS === */
.story-indicators {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 18px 14px 18px;
  justify-content: flex-end;
  position: relative;
  z-index: 4;
}
.story-like-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  transition: color 0.2s;
  padding: 0;
}
.story-like-btn.liked {
  color: #ee5f96;
}
.story-like-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  transition: color 0.2s, fill 0.2s;
}
.story-like-btn.liked svg {
  fill: #ee5f96;
  stroke: #ee5f96;
}
#storyModalLikesCount, .story-views-indicator span {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  margin-left: 2px;
}
.story-views-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 1.1rem;
}
.story-views-indicator svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
}
@media (max-width: 768px) {
  .story-indicators {
    padding: 10px 20px 14px 20px;
    gap: 14px;
  }
  .story-like-btn svg, .story-views-indicator svg {
    width: 22px;
    height: 22px;
  }
  #storyModalLikesCount, .story-views-indicator span {
    font-size: 0.98rem;
  }
}
@media (max-width: 480px) {
  .story-indicators {
    padding: 8px 16px 12px 16px;
    gap: 10px;
  }
  .story-like-btn svg, .story-views-indicator svg {
    width: 20px;
    height: 20px;
  }
  #storyModalLikesCount, .story-views-indicator span {
    font-size: 0.92rem;
  }
}

/* === МОДАЛКА ПІДТВЕРДЖЕННЯ ВИДАЛЕННЯ СТОРІС === */
.confirmation-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  z-index: 4000;
}

.confirmation-modal.hidden {
  display: none !important;
}

.confirmation-modal-content {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.confirmation-modal-content h3 {
  margin: 0 0 16px 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}

.confirmation-modal-content p {
  margin: 0 0 24px 0;
  color: #666;
  line-height: 1.5;
}

.confirmation-modal-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.confirmation-modal-buttons .button {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  min-width: 80px;
}

.confirmation-modal-buttons .button--border {
  background: #fff;
  color: #666;
  border: 1px solid #ddd;
}

.confirmation-modal-buttons .button--border:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

.confirmation-modal-buttons .button--danger {
  background: #dc3545;
  color: #fff;
}

.confirmation-modal-buttons .button--danger:hover {
  background: #c82333;
}

@media (max-width: 480px) {
  .confirmation-modal-content {
    padding: 20px;
    margin: 20px;
  }
  
  .confirmation-modal-buttons {
    flex-direction: column;
  }
  
  .confirmation-modal-buttons .button {
    width: 100%;
  }
}

/* Poll Modal Styles */
.poll-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.poll-modal.hidden {
  display: none;
}

.poll-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.poll-modal__content {
  position: relative;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1001;
}

.poll-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e5e5;
}

.poll-modal__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.poll-modal__close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.poll-modal__close:hover {
  background-color: #f5f5f5;
  color: #666;
}

.poll-modal__body {
  padding: 24px;
}

.poll-form__field {
  margin-bottom: 20px;
}

.poll-form__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

.poll-form__input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.poll-form__input:focus {
  outline: none;
  border-color: #ff4081;
  box-shadow: 0 0 0 3px rgba(255, 64, 129, 0.1);
}

.poll-form__radio-group {
  display: flex;
  gap: 20px;
  align-items: center;
}

.poll-form__radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
}

.poll-form__radio-label input[type="radio"] {
  accent-color: #ff4081;
  width: 16px;
  height: 16px;
}

.poll-form__options {
  margin-bottom: 12px;
}

.poll-form__option-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.poll-form__option-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.poll-form__option-input:focus {
  outline: none;
  border-color: #ff4081;
}

.poll-form__remove-option {
  background: #ff4757;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.poll-form__remove-option:hover {
  background: #ff3742;
}

.poll-form__add-option {
  background: none;
  border: 1px dashed #ddd;
  color: #666;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.poll-form__add-option:hover {
  border-color: #ff4081;
  color: #ff4081;
}

.poll-form__settings {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.poll-form__checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
}

.poll-form__checkbox-label input[type="checkbox"] {
  accent-color: #ff4081;
  width: 16px;
  height: 16px;
}

.poll-form__field--end-date {
  margin-top: 16px;
}

.poll-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid #e5e5e5;
}

.poll-modal__button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.poll-modal__button--cancel {
  background: #f5f5f5;
  color: #666;
}

.poll-modal__button--cancel:hover {
  background: #e5e5e5;
}

.poll-modal__button--create {
  background: #ff4081;
  color: white;
}

.poll-modal__button--create:hover {
  background: #e91e63;
}

.poll-modal__button--create:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .poll-modal__content {
    width: 95%;
    margin: 20px;
  }
  
  .poll-modal__header {
    padding: 16px 20px;
  }
  
  .poll-modal__body {
    padding: 20px;
  }
  
  .poll-modal__footer {
    padding: 16px 20px;
    flex-direction: column;
  }
  
  .poll-modal__button {
    width: 100%;
  }
  
  .poll-form__radio-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Poll Preview Styles */
.poll-preview {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin: 15px 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.poll-preview:hover {
    border-color: #dee2e6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.poll-preview__header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e9ecef;
}

.poll-preview__icon {
    color: #6c757d;
    margin-right: 8px;
}

.poll-preview__title {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
    flex: 1;
}

.poll-preview__remove {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.poll-preview__remove:hover {
    background: #f8f9fa;
    color: #dc3545;
}

.poll-preview__content {
    padding: 16px;
}

.poll-preview__question {
    font-weight: 600;
    color: #212529;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.4;
}

.poll-preview__options {
    margin-bottom: 12px;
}

.poll-preview__option {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.poll-preview__option:hover {
    background: rgba(0,0,0,0.02);
}

.poll-preview__option-radio {
    margin-right: 12px;
    flex-shrink: 0;
}

.poll-preview__radio {
    width: 16px;
    height: 16px;
    border: 2px solid #dee2e6;
    border-radius: 50%;
    background: #fff;
    position: relative;
}

.poll-preview__radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #007bff;
    border-radius: 50%;
    opacity: 0.3;
}

.poll-preview__checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid #dee2e6;
    border-radius: 3px;
    background: #fff;
    position: relative;
}

.poll-preview__checkbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #007bff;
    border-radius: 1px;
    opacity: 0.3;
}

.poll-preview__option-text {
    color: #495057;
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
}

.poll-preview__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
}

.poll-preview__meta-item {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 12px;
    font-weight: 500;
}

.poll-preview__meta-item svg {
    margin-right: 4px;
}

@media (max-width: 768px) {
    .poll-preview__header {
        padding: 10px 12px;
    }
    
    .poll-preview__content {
        padding: 12px;
    }
    
    .poll-preview__question {
        font-size: 15px;
    }
    
    .poll-preview__meta {
        gap: 8px;
    }
    
    .poll-preview__meta-item {
        font-size: 11px;
    }
}

/* Poll Delete Modal Styles */
.poll-delete-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.poll-delete-modal.hidden {
    display: none;
}

.poll-delete-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.poll-delete-modal__content {
    position: relative;
    background: white;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.poll-delete-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e9ecef;
}

.poll-delete-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

.poll-delete-modal__close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.poll-delete-modal__close:hover {
    background: #f8f9fa;
    color: #495057;
}

.poll-delete-modal__body {
    padding: 20px 24px;
}

.poll-delete-modal__body p {
    margin: 0 0 16px 0;
    color: #495057;
    line-height: 1.5;
}

.poll-delete-modal__poll-info {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    border-left: 4px solid #ee5f96;
}

.poll-delete-modal__poll-info strong {
    color: #212529;
}

.poll-delete-modal__poll-info span {
    color: #495057;
    font-style: italic;
}

.poll-delete-modal__footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px 20px;
    border-top: 1px solid #e9ecef;
}

.poll-delete-modal__button {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.poll-delete-modal__button--cancel {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #dee2e6;
}

.poll-delete-modal__button--cancel:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.poll-delete-modal__button--delete {
    background: #ee5f96;
    color: white;
}

.poll-delete-modal__button--delete:hover {
    background: #c82333;
}

@media (max-width: 768px) {
    .poll-delete-modal__content {
        width: 95%;
        margin: 20px;
    }
    
    .poll-delete-modal__header {
        padding: 16px 20px 12px;
    }
    
    .poll-delete-modal__body {
        padding: 16px 20px;
    }
    
    .poll-delete-modal__footer {
        padding: 12px 20px 16px;
        flex-direction: column;
    }
    
    .poll-delete-modal__button {
        width: 100%;
    }
}

/* Polls Preview Container Styles */
.polls-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
    padding: 0;
}

.polls-preview-container .poll-preview {
    flex: 1;
    min-width: 270px;
    max-width: calc(50% - 7.5px);
    margin: 0;
}

@media (max-width: 768px) {
    .polls-preview-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .polls-preview-container .poll-preview {
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .polls-preview-container .poll-preview {
        min-width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .polls-preview-container .poll-preview {
        margin-bottom: 15px;
    }
}

/* Стилі для опитувань в постах */
.post-poll {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 15px 0;
    border: 1px solid #e9ecef;
}

.post-poll__question {
    font-weight: 600;
    font-size: 16px;
    color: #212529;
    margin-bottom: 15px;
    line-height: 1.4;
}

.post-poll__options {
    margin-bottom: 15px;
}

.post-poll__option {
    display: flex;
    align-items: center; /* Вирівнює radio/checkbox по центру по вертикалі */
    padding: 14px 15px 14px 0;
    margin-bottom: 12px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.post-poll__option:hover {
    border-color: #ee5f96;
    background: #fef7fa;
}

.post-poll__option.selected {
    border-color: #ee5f96;
    background: #fef7fa;
}

.post-poll__option-radio {
    display: flex;
    align-items: center;
    height: 100%;
    margin-right: 12px;
    flex-shrink: 0;
    z-index: 2;
}

.post-poll__option-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    min-width: 0;
}

.post-poll__checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #ee5f96;
    border-radius: 4px;
    background: white;
    transition: all 0.2s ease;
    position: relative;
}

.post-poll__option.selected .post-poll__checkbox {
    border-color: #ee5f96;
    background: #ee5f96;
}

.post-poll__option.selected .post-poll__checkbox::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.post-poll__option-text {
    flex: 1;
    font-size: 14px;
    color: #495057;
    line-height: 1.4;
    z-index: 2;
}

/* Progress bar тепер йде одразу після чекбоксу/радіо */
.post-poll__option-results {
    flex: 1;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    align-items: center;
    z-index: 1;
}

.post-poll__option-bar {
    width: 100%;
    min-width: 60px;
    height: 10px;
    background: #fbe3ef;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0;
    margin-top: 0;
    display: block;
    /* border: 1px dashed #ee5f96; */
}

.post-poll__option-fill {
    height: 100%;
    background: linear-gradient(90deg, #ee5f96, #fbb1d2);
    border-radius: 5px;
    transition: width 0.3s cubic-bezier(.4,2,.6,1);
    min-width: 2px; /* Діагностика */
    display: block;
}

.post-poll__option-stats {
    min-width: 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 13px;
    color: #ee5f96;
    font-weight: 600;
    margin-left: 4px;
}

.post-poll__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 14px;
    color: #6b7280;
}

.post-poll__total-votes {
    margin-left: auto;
}

.post-poll__closed-indicator {
    color: #ef4444;
    font-size: 14px;
}

.post-poll__vote-btn {
    background: #ee5f96;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: 10px;
}

.post-poll__vote-btn:hover {
    background: #e13e7a;
    transform: translateY(-1px);
}

.post-poll__vote-btn:disabled {
    background: #fbb1d2;
    cursor: not-allowed;
    transform: none;
}

.poll-radio-input,
.poll-checkbox-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.post-poll.completed .post-poll__option {
    cursor: default;
}

.post-poll.completed .post-poll__option:hover {
    border-color: #e9ecef;
    background: white;
}

.post-poll.completed .post-poll__option.selected {
    border-color: #ee5f96;
    background: #fbe3ef;
}

.post-poll.completed .post-poll__option.selected .post-poll__radio,
.post-poll.completed .post-poll__option.selected .post-poll__checkbox {
    border-color: #ee5f96;
    background: #ee5f96;
}

@media (max-width: 768px) {
    .post-poll {
        padding: 15px;
        margin: 10px 0;
    }
    .post-poll__question {
        font-size: 15px;
        margin-bottom: 12px;
    }
    .post-poll__option {
        padding: 10px 8px 10px 0;
        margin-bottom: 6px;
    }
    .post-poll__option-bar {
        min-width: 40px;
        max-width: 120px;
    }
    .post-poll__option-stats {
        font-size: 12px;
    }
    .post-poll__footer {
        padding-top: 12px;
    }
    .post-poll__vote-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .post-poll {
        padding: 12px;
    }
    .post-poll__option {
        padding: 8px 4px 8px 0;
    }
    .post-poll__option-bar {
        min-width: 20px;
        max-width: 80px;
    }
    .post-poll__option-stats {
        font-size: 11px;
    }
    .post-poll__vote-btn {
        padding: 5px 8px;
        font-size: 12px;
    }
}

.post-poll__option-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.post-poll__option-text {
    font-size: 15px;
    color: #495057;
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 1.3;
}

.post-poll__option-results {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.post-poll__option-bar {
    width: 100%;
    height: 10px;
    background: #fbe3ef;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0;
    margin-top: 0;
}

.post-poll__option-stats-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #ee5f96;
    font-weight: 600;
    margin-top: 2px;
    width: 100%;
}

.post-poll__option-count {
    text-align: left;
}

.post-poll__option-percentage {
    text-align: right;
}

/* Чітко видимі radio/checkbox */
.post-poll__radio,
.post-poll__checkbox {
    width: 22px;
    height: 22px;
    box-sizing: border-box;
    display: block;
    background: #fff;
    border: 2px solid #ee5f96;
    transition: all 0.2s;
    position: relative;
}

.post-poll__radio {
    border-radius: 50%;
}
.post-poll__checkbox {
    border-radius: 5px;
}

.post-poll__option.selected .post-poll__radio {
    background: #ee5f96;
    border-color: #ee5f96;
}
.post-poll__option.selected .post-poll__radio::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 10px; height: 10px;
    background: #fff;
    border-radius: 50%;
    display: block;
}

.post-poll__option.selected .post-poll__checkbox {
    background: #ee5f96;
    border-color: #ee5f96;
}
.post-poll__option.selected .post-poll__checkbox::after {
    content: '✓';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 15px;
    font-weight: bold;
    display: block;
}

/* Прогрес-бар завжди видно */
.post-poll__option-bar {
    width: 100%;
    min-width: 60px;
    height: 10px;
    background: #fbe3ef;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0;
    margin-top: 0;
    display: block;
}

/* Poll Actions Dropdown */
.post-poll__question {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.menu_icon {
    position: relative;
}

.dropdown_menu {
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 50;
    min-width: 150px;
}

.dropdown_menu button {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem;
    text-align: left;
    font-size: 0.875rem;
    color: #4a5568;
    transition: background-color 0.2s;
}

.dropdown_menu button:hover {
    background-color: #f7fafc;
}

.dropdown_menu button[data-action="delete"] {
    color: #e53e3e;
}

.poll-inactive {
    opacity: 0.7;
}

.poll-inactive:not([data-is-author="true"]) {
    pointer-events: none;
}

.poll-inactive .post-poll__vote-btn {
    background-color: #cbd5e0;
    cursor: not-allowed;
}

/* Delete Modal Styles (if not already styled) */
.poll-delete-modal:not(.hidden) {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
}

.poll-delete-modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

/* Poll Form Styles */
.poll-form__input.error,
.poll-form__option-input.error {
    border-color: #dc3545;
}

.poll-form__field {
    margin-bottom: 1rem;
    position: relative;
}

/* Intl-tel-input styles */
.field__input .iti {
    display: flex;
    flex-grow: 1;
}
.field__input .iti__input {
    flex-grow: 1;
    border: none;
    box-shadow: none;
    padding-left: 0.5rem;
}
.iti__country-list {
    z-index: 10;
}
.iti--separate-dial-code .iti__selected-flag {
    background-color: transparent;
}
@media (max-width: 49.9988em) {
  .footer__menu ul {
      gap: 0;
  }
  .footer {
    padding: 2.375rem .625rem .625rem;
  }
}
@media (max-width: 74.9988em) {
  .menu__body ul:not(:last-child) {
      margin-bottom: 0;
  }

  .menu__body ul {
    gap: 1rem;
  }
}
.terms-links {
  padding: 0;
}
/* Responsive adjustments for footer menu */
@media (max-width: 800px) {
  .footer__menu ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 55vw;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer__menu ul li {
    margin: 0;
  }
  
  .footer__menu ul li a {
    display: block;
    padding: 5px 0;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
  }
  
  .footer__menu ul li a:hover {
    color: #ee5f96;
  }
}

@media (max-width: 480px) {
  .footer__menu ul {
    gap: 10px 40vw;
  }
  
  .footer__menu ul li a {
    padding: 3px 0;
    font-size: 14px;
  }
}

/* Social Dropdown Styles */
.social-dropdown {
  position: relative;
  display: inline-block;
  z-index: 10;
}

.social-dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: inherit;
  transition: color 0.3s ease;
}

.social-dropdown-toggle:hover {
  color: #ee5f96;
}

.social-dropdown-text {
  font-family: Unbounded, sans-serif;
  font-size: 18px;
}

.social-dropdown-arrow {
  width: 14px;
  height: 14px;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.social-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  overflow: hidden;
  min-width: 180px;
  display: none;
  flex-direction: column;
  z-index: 10;
  margin-top: 4px;
}

.social-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s ease;
}

.social-dropdown-item:hover {
  background-color: #f8f9fa;
  color: #ee5f96;
}

.social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Показуємо меню при кліку на всіх пристроях */

/* Показуємо меню при кліку на мобільному */
.social-dropdown.open .social-dropdown-menu {
  display: flex;
}

.social-dropdown.open .social-dropdown-arrow {
  transform: rotate(180deg);
}

/* Мобільна версія - два ряди з іконками */
@media (max-width: 1200px) {
  .social-dropdown {
    display: none; /* Приховуємо дропдаун */
  }
  
  .menu__body .social-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  
  .social-mobile__title {
    font-size: 18px;
    font-family: Unbounded, sans-serif;
    margin-bottom: 8px;
  }
  
  .social-mobile__icons {
    display: flex;
    gap: 16px;
    justify-content: center;
  }
  
  .social-mobile__link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  .social-mobile__link:hover {
    background: #ee5f96;
    transform: translateY(-2px);
  }
  
  .social-mobile__icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }
}

/* Приховуємо мобільну версію на десктопі */
@media (min-width: 1201px) {
  .social-mobile {
    display: none !important;
  }
}

/* Sweden Not Available Modal Styles */
.sweden-not-available-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sweden-not-available-modal.hidden {
    display: none;
}

.sweden-not-available-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.sweden-not-available-modal__content {
    position: relative;
    background: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.sweden-not-available-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e9ecef;
}

.sweden-not-available-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #212529;
}

.sweden-not-available-modal__close {
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.sweden-not-available-modal__close:hover {
    background: #f8f9fa;
    color: #495057;
}

.sweden-not-available-modal__body {
    padding: 20px 24px;
}

.sweden-not-available-modal__body p {
    margin: 0 0 16px 0;
    color: #495057;
    line-height: 1.5;
}

.sweden-not-available-modal__info {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 6px;
    border-left: 4px solid #ee5f96;
    margin-bottom: 16px;
    color: #495057;
    line-height: 1.5;
}

.sweden-not-available-modal__info strong {
    color: #212529;
}

.sweden-not-available-modal__info a {
    color: #ee5f96;
    text-decoration: none;
}

.sweden-not-available-modal__info a:hover {
    text-decoration: underline;
}

.sweden-not-available-modal__footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px 20px;
    border-top: 1px solid #e9ecef;
}

.sweden-not-available-modal__button {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sweden-not-available-modal__button--close {
    background: #ee5f96;
    color: white;
}

.sweden-not-available-modal__button--close:hover {
    background: #c82333;
}

@media (max-width: 768px) {
    .sweden-not-available-modal__content {
        width: 95%;
        margin: 20px;
    }
    
    .sweden-not-available-modal__header {
        padding: 16px 20px 12px;
    }
    
    .sweden-not-available-modal__body {
        padding: 16px 20px;
    }
    
    .sweden-not-available-modal__footer {
        padding: 12px 20px 16px;
        flex-direction: column;
    }
    
    .sweden-not-available-modal__button {
        width: 100%;
    }
}

/* Sweden warning text styles */
.sweden-warning {
    color: #ee5f96;
    font-size: 14px;
    margin-top: 8px;
    cursor: pointer;
    text-decoration: underline;
    display: none;
}

.sweden-warning:hover {
    color: #c82333;
}

.sweden-not-available-modal__body a {
    color: #ee5f96;
    text-decoration: none;
}

.sweden-not-available-modal__body a:hover {
    text-decoration: underline;
}

.set-profile.set-profile-followers {
  padding-bottom: 10px;
}

/* Follower actions styles */
.follower-item {
  position: relative;
}

.follower-actions {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.follower-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  min-width: 60px;
  background-color: #ee5f96;
  color: white;
}

.follower-btn--remove {
  background-color: #ee5f96;
  color: white;
}

.follower-btn--block {
  background-color: #ee5f96;
  color: white;
}

/* Modal buttons styles */
.block-chat-modal__buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.block-chat-modal__button {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-family: 'Unbounded', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.block-chat-modal__button--cancel {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.block-chat-modal__button--cancel:hover {
    background-color: #e9ecef;
    color: #495057;
}

.block-chat-modal__button--delete {
    background-color: #ee5f96;
    color: white;
}

.block-chat-modal__button--delete:hover {
    background-color: #c82333;
}

@media (max-width: 768px) {
  .follower-actions {
    bottom: 8px;
    right: 8px;
    gap: 6px;
  }
  
  .follower-btn {
    padding: 5px 10px;
    font-size: 11px;
    min-width: 50px;
  }
}

.blocked-user-item {
    position: relative;
}

.blocked-user-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 8px;
}

.blocked-user-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 60px;
    text-align: center;
}

.blocked-user-btn--unblock {
    background-color: #ee5f96;
    color: white;
}

.blocked-user-btn--unblock:hover {
    background-color: #e13e7a;
}

@media (max-width: 768px) {
  .blocked-user-actions {
    bottom: 8px;
    right: 8px;
    gap: 6px;
  }
  
  .blocked-user-btn {
    padding: 5px 10px;
    font-size: 11px;
    min-width: 50px;
  }
}
.select__scroll{
  max-height: 120px;
}
.earnings-stats__field .select__scroll{
  max-height: 150px;
}
.set-profile__submit{
  margin-top: 15px;
}
.field__input textarea{
  min-height: 7.2rem;
}

/* Mark All as Read Modal Styles */
.mark-all-read-modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mark-all-read-modal__overlay--hidden {
    display: none;
}

.mark-all-read-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.mark-all-read-modal--hidden {
    display: none;
}

.mark-all-read-modal__content {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    text-align: center;
    box-shadow: 0 4px 32px rgba(0,0,0,0.18);
}

.mark-all-read-modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.mark-all-read-modal__close:hover {
    background-color: #f0f0f0;
}

.mark-all-read-modal__title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.mark-all-read-modal__warning {
    margin-bottom: 30px;
    color: #666;
}

.mark-all-read-modal__warning p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.mark-all-read-modal__warning p:last-child {
    margin-bottom: 0;
}

.mark-all-read-modal__buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.mark-all-read-modal__button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 120px;
}

.mark-all-read-modal__button--cancel {
    background-color: #f0f0f0;
    color: #666;
}

.mark-all-read-modal__button--cancel:hover {
    background-color: #e0e0e0;
}

.mark-all-read-modal__button--confirm {
    background-color: #ee5f96;
    color: white;
}

.mark-all-read-modal__button--confirm:hover {
    background-color: #d94a85;
}

@media (max-width: 768px) {
    .mark-all-read-modal__content {
        width: 95%;
        margin: 20px;
        padding: 20px;
    }
    
    .mark-all-read-modal__title {
        font-size: 20px;
    }
    
    .mark-all-read-modal__buttons {
        flex-direction: column;
    }
    
    .mark-all-read-modal__button {
        width: 100%;
    }
}

/* Selected Users Display Styles */
.selected-users-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
    min-height: 40px;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    align-items: center;
}

.selected-users-label {
    font-size: 15px;
    color: #8f9aa7 !important;
    font-weight: 400;
    margin-bottom: 8px;
    margin-left: 2px;
    display: block;
}

.selected-user-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background-color: #ee5f96;
    color: #fff !important;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: none;
    transition: all 0.2s ease;
    border: none;
}

.selected-user-item:hover {
    background-color: #d94a7f;
    transform: translateY(-1px);
}

#selected-users-display .selected-user-name {
    color: #fff !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.selected-user-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: none;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff !important;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    line-height: 1;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.selected-user-remove:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

#selected-users-display .remove-icon {
    display: block;
    line-height: 1;
    color: #fff !important;
}

/* Empty state */
.selected-users-container:empty::before {
    content: "No participants selected";
    color: #999;
    font-style: italic;
    display: block;
    padding: 10px;
    text-align: center;
    width: 100%;
}

@media (max-width: 768px) {
    .selected-users-container {
        gap: 6px;
        padding: 6px 12px;
    }
    .selected-user-item {
        padding: 5px 10px;
        font-size: 13px;
    }
    .selected-user-name {
        max-width: 120px;
    }
    .selected-user-remove {
        width: 16px;
        height: 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .selected-user-name {
        max-width: 100px;
    }
}

/* Message edit/delete modals */
#editMessageModal,
#deleteMessageModal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(0, 0, 0, 0.4);
	z-index: 1000;
}

#editMessageModal.hidden,
#deleteMessageModal.hidden {
	display: none;
}

#editMessageModalOverlay,
#deleteMessageModalOverlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

#editMessageModalContent,
#deleteMessageModalContent {
	position: relative;
	background: white;
	padding: 20px;
	width: 100%;
	max-width: 500px;
	border-radius: 25px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
	z-index: 1001;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

#editMessageModalContent h2,
#deleteMessageModalContent h2 {
	font-size: 1.2rem;
	font-weight: bold;
	margin-bottom: 15px;
}

#deleteMessageModalContent p {
	color: #666;
	margin-bottom: 20px;
	line-height: 1.5;
}

#editMessageBody {
	width: 100%;
	padding: 10px;
	border: 1px solid #8f9aa7;
	outline-color: #8f9aa7;
	border-radius: 5px;
	resize: vertical;
	margin-bottom: 15px;
	min-height: 100px;
}

#editMessageModalClose,
#deleteMessageModalClose {
	position: absolute;
	top: 10px;
	right: 15px;
	background: none;
	border: none;
	font-size: 1.2rem;
	cursor: pointer;
	color: #666;
}

#editMessageModalClose:hover,
#deleteMessageModalClose:hover {
	color: #000;
}

.modal-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
}

.modal-actions .button {
	padding: 10px 20px;
	min-width: 100px;
}

.button--danger {
	background-color: #e13e7a;
	color: white;
}

.button--danger:hover {
	background-color: #c82333;
	border-color: #bd2130;
}

/* Message dropdown menu */
.chat-model__item {
	position: relative;
}

.chat-model__dropdown {
	position: absolute;
	top: 0;
	left: 0;
	background: white;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 100;
	min-width: 120px;
	display: none;
}

.chat-model__dropdown.show {
	display: block;
}

.chat-model__dropdown-item {
	padding: 8px 12px;
	cursor: pointer;
	border: none;
	background: none;
	width: 100%;
	text-align: left;
	font-size: 14px;
	color: #333;
}

.chat-model__dropdown-item:hover {
	background-color: #f5f5f5;
}

.chat-model__dropdown-item.delete {
	color: #dc3545;
}

.chat-model__dropdown-item.delete:hover {
	background-color: #f8d7da;
}

.chat-model__more-btn {
	position: absolute;
	top: 5px;
	left: 5px;
	background: rgba(255, 255, 255, 0.9);
	border: none;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.2s;
	z-index: 10;
}

.chat-model__item:hover .chat-model__more-btn {
	opacity: 1;
}

.chat-model__more-btn svg {
	width: 16px;
	height: 16px;
	fill: #666;
}

.chat-model__more-btn:hover svg {
	fill: #333;
}

/* For sent messages, position dropdown on the right */
.chat-model__item--sent .chat-model__more-btn {
	left: auto;
	right: 5px;
}

.chat-model__item--sent .chat-model__dropdown {
	left: auto;
	right: 0;
}
.chat-model__item--sent .chat-model__date {
  justify-content: end
}
.chat-model__date{
  justify-content: start;
}

.chat-model__date {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.chat-model__date-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-model__edited {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    font-size: 12px;
    color: #8F9AA7;
}
.chat-model__edited svg {
    vertical-align: middle;
    margin-right: 2px;
}
.chat-model__edited-time {
    font-size: 12px;
    color: #8F9AA7;
}

/* Schedule Post Modal Styles */
.schedule-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule-modal.hidden {
  display: none;
}

.schedule-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.schedule-modal__content {
  position: relative;
  background: white;
  border-radius: 12px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.schedule-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
}

.schedule-modal__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.schedule-modal__close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6b7280;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule-modal__close:hover {
  color: #374151;
}

.schedule-modal__body {
  padding: 24px;
}

.schedule-form__field {
  margin-bottom: 20px;
}

.schedule-form__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #374151;
  font-size: 14px;
}

.schedule-form__input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.schedule-form__input:focus {
  outline: none;
  border-color: #ec4899;
  box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
}

.schedule-form__note {
  margin-top: 8px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.4;
}

.schedule-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid #e5e7eb;
}

.schedule-modal__button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.schedule-modal__button--cancel {
  background-color: #f3f4f6;
  color: #374151;
}

.schedule-modal__button--cancel:hover {
  background-color: #e5e7eb;
}

.schedule-modal__button--save {
  background-color: #ec4899;
  color: white;
}

.schedule-modal__button--save:hover {
  background-color: #db2777;
}

/* Scheduled Post Info Block */
.scheduled_post_info {
  background-color: #fdf2f8;
  border: 1px solid #ec4899;
  border-radius: 8px;
  padding: 12px 16px;
  margin: 16px 0;
}

.scheduled_post_info__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #831843;
  font-size: 14px;
}

.scheduled_post_info__remove {
  background: none;
  border: none;
  color: #831843;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s;
}

.scheduled_post_info__remove:hover {
  background-color: rgba(236, 72, 153, 0.1);
}

/* Statistics Styles */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner__content {
    text-align: center;
}

.loading-spinner__spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #EE5F96;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

.loading-spinner__text {
    color: #666;
    font-size: 14px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    text-align: center;
    padding: 20px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    color: #721c24;
    margin: 20px 0;
}

.error-message p {
    margin: 0;
    font-size: 14px;
}

/* Chart height fixes */
.stats__chart {
    height: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

.traffic-stats__chart {
    height: 100% !important;
    max-height: 100% !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

.traffic-stats__chart-container {
    height: 300px !important;
    max-height: 300px !important;
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

/* Ensure chart containers don't expand infinitely */
.stats__earnings {
    position: relative;
    overflow: hidden;
}

.stats__body {
    position: relative;
    overflow: hidden;
}

/* Additional chart container fixes */
canvas {
    max-height: 100% !important;
    max-width: 100% !important;
}

/* Prevent chart.js from expanding beyond container */
.chart-container {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: block;
}

/* Metrics stats styles */
.metrics-stats {
    padding: 20px 0;
}

.metrics-stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

.metrics-stats__item {
    background: linear-gradient(135deg, #fff 70%, #f8f9fa 100%);
    padding: 28px 20px 22px 20px;
    border-radius: 18px;
    text-align: center;
    border: 1.5px solid #e9ecef;
    box-shadow: 0 4px 24px 0 rgba(238,95,150,0.07);
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    overflow: hidden;
}

.metrics-stats__item:hover {
    box-shadow: 0 8px 32px 0 rgba(238,95,150,0.18);
    transform: translateY(-4px) scale(1.03);
    z-index: 2;
}

.metrics-stats__label {
    font-size: 15px;
    color: #EE5F96;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.metrics-stats__value {
    font-size: 32px;
    font-weight: 800;
    color: #2C2341;
    margin-bottom: 7px;
    letter-spacing: 0.01em;
}

.metrics-stats__change {
    font-size: 13px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 14px;
    display: inline-block;
    margin-top: 4px;
}

.metrics-stats__change--positive {
    background: rgba(53, 208, 99, 0.13);
    color: #35D063;
}

.metrics-stats__change--negative {
    background: rgba(238, 95, 150, 0.13);
    color: #EE5F96;
}

/* Traffic stats styles */
.traffic-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.traffic-stats__sources {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 10px;
}

.traffic-stats__source {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 260px;
    flex: 1 1 260px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #fff 70%, #f8f9fa 100%);
    border-radius: 16px;
    border: 1.5px solid #e9ecef;
    box-shadow: 0 4px 24px 0 rgba(44,149,255,0.07);
    transition: box-shadow 0.2s, transform 0.2s;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.traffic-stats__source:hover {
    box-shadow: 0 8px 32px 0 rgba(44,149,255,0.18);
    transform: translateY(-3px) scale(1.025);
    z-index: 2;
}

.traffic-stats__source-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.traffic-stats__source-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.07);
}

.traffic-stats__source-icon._icon-telegram {
    background: #0088cc;
}

.traffic-stats__source-icon._icon-direct {
    background: #EE5F96;
}

.traffic-stats__source-icon._icon-instagram {
    background: #E4405F;
}

.traffic-stats__source-icon._icon-twitter {
    background: #1DA1F2;
}

.traffic-stats__source-icon._icon-other {
    background: #6c757d;
}

.traffic-stats__source-icon._icon-north-america {
    background: #2E8B57;
}

.traffic-stats__source-icon._icon-europe {
    background: #4169E1;
}

.traffic-stats__source-icon._icon-asia {
    background: #FF6B35;
}

.traffic-stats__source-icon._icon-oceania {
    background: #20B2AA;
}

.traffic-stats__source-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.traffic-stats__source-name {
    font-weight: 700;
    color: #495057;
    font-size: 17px;
    letter-spacing: 0.01em;
}

.traffic-stats__source-count {
    font-size: 15px;
    color: #6c757d;
    font-weight: 500;
}

.traffic-stats__source-percentage {
    font-weight: 800;
    font-size: 20px;
    color: #EE5F96;
    letter-spacing: 0.01em;
}

.stats-table {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 24px 0 rgba(44,149,255,0.07);
    margin-top: 28px;
    border: 1.5px solid #e9ecef;
}

.stats-table__header {
    background: linear-gradient(90deg, #f8f9fa 60%, #fff 100%);
    padding: 18px 24px;
    border-bottom: 1.5px solid #e9ecef;
}

.stats-table__title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    color: #2C2341;
    letter-spacing: 0.01em;
}

.stats-table__content {
    overflow-x: auto;
}

.stats-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 17px;
}

.stats-table th, .stats-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #f1f1f1;
}

.stats-table th {
    background: #f8f9fa;
    font-weight: 700;
    color: #495057;
    font-size: 16px;
    letter-spacing: 0.01em;
}

.stats-table tr:last-child td {
    border-bottom: none;
}

.stats-table td.positive {
    color: #35D063;
    font-weight: 700;
}

.stats-table td.negative {
    color: #EE5F96;
    font-weight: 700;
}

.platform-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.platform-item__icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.country-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.country-flag {
    width: 20px;
    height: 15px;
    border-radius: 2px;
}

.traffic-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.traffic-source {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.traffic-source__name {
    font-weight: 600;
    color: #495057;
}

.traffic-source__count {
    color: #EE5F96;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .metrics-stats__grid {
        grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
        gap: 16px;
    }
    .traffic-stats__sources {
        gap: 12px;
    }
    .traffic-stats__source {
        min-width: 170px;
        padding: 12px 10px;
    }
    .traffic-stats__source-icon {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

/* --- CLEANUP: Remove unused/old styles --- */
/* Remove old .metric-icon backgrounds */
.metric-icon {
    font-size: 22px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    vertical-align: middle;
    /* background: none; */
    box-shadow: none;
    background: none !important;
}
.metric-icon--views,
.metric-icon--followers,
.metric-icon--session,
.metric-icon--likes,
.metric-icon--comments,
.metric-icon--reviews {
    background: none !important;
}
.category-stats__percent.metrics-percent--positive { color: #35D063 !important; }
.category-stats__percent.metrics-percent--negative { color: #EE5F96 !important; }

/* Statistics Navigation */
.stats-navigation {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stats-nav-item {
    padding: 12px 20px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #6c757d;
    text-decoration: none;
    display: inline-block;
}

.stats-nav-item:hover {
    border-color: #EE5F96;
    color: #EE5F96;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(238, 95, 150, 0.15);
}

.stats-nav-item.active {
    background: #EE5F96;
    border-color: #EE5F96;
    color: #fff;
    box-shadow: 0 4px 12px rgba(238, 95, 150, 0.3);
}

.stats-nav-item.active:hover {
    background: #d64a7f;
    border-color: #d64a7f;
    color: #fff;
}

@media (max-width: 768px) {
    .stats-navigation {
        gap: 8px;
    }
    
    .stats-nav-item {
        padding: 10px 16px;
        font-size: 14px;
    }
}
.earnings-stats__filter:not(:last-child){
  padding-left: 1.25rem;
}
.earnings-stats__field:not(:last-child){
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}
.platform-metrics-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 1.5em;
}
.platform-metrics-table {
  min-width: 500px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(44,149,255,0.06);
  font-size: 1.04em;
}
.platform-metrics-table thead tr {
  background: #f7f7fa;
}
.platform-metrics-table th, .platform-metrics-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
  white-space: nowrap;
}
.platform-metrics-table th {
  font-weight: 600;
  color: #2C2C2C;
  font-size: 1.01em;
}
.platform-metrics-table td:first-child {
  text-align: left;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.platform-metrics-table tr:last-child td {
  border-bottom: none;
}
.platform-metrics-table tr:hover {
  background: #f3f6ff;
  transition: background 0.2s;
}
.platform-metrics-table .platform-icon {
  font-size: 1.25em;
  margin-right: 4px;
}
@media (max-width: 700px) {
  .platform-metrics-table {
      font-size: 0.97em;
      min-width: 400px;
  }
  .platform-metrics-table th, .platform-metrics-table td {
      padding: 8px 5px;
  }
}
@media (max-width: 500px) {
  .platform-metrics-table {
      font-size: 0.93em;
      min-width: 350px;
  }
  .platform-metrics-table th, .platform-metrics-table td {
      padding: 7px 3px;
  }
}
.platform-chart-container {
  max-width: 600px;
  margin: 0 auto 18px auto;
  width: 100%;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(44,149,255,0.04);
  padding: 16px 12px 8px 12px;
}
.platform-chart-canvas {
  width: 100% !important;
  height: 320px !important;
  display: block;
}
@media (max-width: 700px) {
  .platform-chart-container {
      max-width: 100%;
      padding: 10px 2px 4px 2px;
  }
  .platform-chart-canvas {
      height: 220px !important;
  }
}
.device-breakdown-badge {
  margin-top: 4px;
  display: flex;
  gap: 8px;
  font-size: 0.97em;
  color: #888;
}
.device-breakdown-badge span {
  background: #f7f7fa;
  border-radius: 6px;
  padding: 2px 8px;
  font-weight: 500;
}
.metrics-percent--positive {
  color: #35D063;
  font-weight: 600;
  margin-left: 8px;
}
.metrics-percent--negative {
  color: #EE5F96;
  font-weight: 600;
  margin-left: 8px;
}
.country-metrics-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 1.5em;
}
.country-metrics-table {
  min-width: 400px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(44,149,255,0.06);
  font-size: 1.04em;
}
@media (max-width: 700px) {
  .country-metrics-table {
      font-size: 0.97em;
      min-width: 320px;
  }
}
@media (max-width: 500px) {
  .country-metrics-table {
      font-size: 0.93em;
      min-width: 220px;
  }
}
.country-metrics-table thead tr {
  background: #f7f7fa;
}
.country-metrics-table th, .country-metrics-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
  white-space: nowrap;
}
.country-metrics-table th {
  font-weight: 600;
  color: #2C2C2C;
  font-size: 1.01em;
}
.country-metrics-table td:first-child {
  text-align: left;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.country-metrics-table tr:last-child td {
  border-bottom: none;
}
.country-metrics-table tr:hover {
  background: #f3f6ff;
  transition: background 0.2s;
}
.country-metrics-table .flag {
  font-size: 1.35em;
  margin-right: 4px;
}
@media (max-width: 700px) {
  .country-metrics-table th, .country-metrics-table td {
      padding: 8px 5px;
  }
}
@media (max-width: 500px) {
  .country-metrics-table th, .country-metrics-table td {
      padding: 7px 3px;
  }
}

.platform-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px;
    border-radius: 4px;
}

/* Підказки для статистики */
.stats-timezone-hint {
    margin-top: 8px;
    margin-bottom: 16px;
}

.stats-timezone-hint__text {
    color: #6c757d;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 1.25rem;
}

.stats-timezone-hint__text i {
    font-size: 0.75rem;
    color: #007bff;
}

.stats-ctr-hint {
    margin-top: 12px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #e13e7a;
}

.stats-ctr-hint__text {
    color: #495057;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.stats-ctr-hint__text i {
    font-size: 0.75rem;
    color: #007bff;
    flex-shrink: 0;
}
.contract-section {
  margin-bottom: 40px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  border-left: 4px solid #EE5F96;
}

.contract-section__title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9ecef;
}

.contract-section__description {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
  padding: 15px;
  background: white;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.contract-section__subtitle {
  font-size: 16px;
  font-weight: 500;
  color: #EE5F96;
  margin: 20px 0 15px 0;
  padding-left: 10px;
  border-left: 3px solid #EE5F96;
}

.contract-section__text {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  margin-bottom: 15px;
}

.contract-section__list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.contract-section__list-item {
  position: relative;
  padding: 8px 0 8px 25px;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.contract-section__list-item:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #EE5F96;
  font-weight: bold;
  font-size: 16px;
}

.contract-section__highlight {
  background: linear-gradient(135deg, #EE5F96 0%, #ff7eb3 100%);
  color: white;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 15px 0;
  font-size: 14px;
  font-weight: 500;
}

.contract-section__disclaimer {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;
  font-size: 13px;
  color: #856404;
}

.contract-section__signature-area {
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}

.contract-section__signature-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.contract-section__signature-line {
  width: 200px;
  height: 2px;
  background: #333;
  margin: 10px auto;
  position: relative;
}

.contract-section__signature-line:after {
  content: "Signature";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #999;
}

/* Додаткові стилі для кращого контролю відступів */
.set-profile__fields-block {
  margin-bottom: 20px;
}

.set-profile__fields-block:last-child {
  margin-bottom: 0;
}

.contract-section .set-profile__fields-block {
  margin-bottom: 15px;
}

.contract-section .set-profile__fields-block:last-child {
  margin-bottom: 0;
}

.status-indicator {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.status-indicator.draft {
  background-color: #e9ecef;
  color: #6c757d;
}

.status-indicator.signed_by_one {
  background-color: #fff3cd;
  color: #856404;
}

.status-indicator.fully_signed {
  background-color: #d4edda;
  color: #155724;
}

.status-indicator.finalized {
  background-color: #cce5ff;
  color: #004085;
}

.notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 20px;
  border-radius: 5px;
  color: white;
  font-weight: 500;
  z-index: 1001;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  animation: slideIn 0.3s ease;
}

.notification-success {
  background-color: #28a745;
}

.notification-error {
  background-color: #dc3545;
}

.notification-info {
  background-color: #17a2b8;
}

.notification-warning {
  background-color: #ffc107;
  color: #212529;
}

@keyframes slideIn {
  from {
      opacity: 0;
      transform: translateX(-50%) translateY(-20px);
  }
  to {
      opacity: 1;
      transform: translateX(-50%) translateY(0);
  }
}

/* Form states */
form[data-contract-form] input:disabled,
form[data-contract-form] textarea:disabled,
form[data-contract-form] select:disabled {
  background-color: #f8f9fa;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Signature buttons */
.signature-buttons {
  display: flex;
  gap: 10px;
  margin: 20px 0;
}

.btn-sign {
  background-color: #28a745;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-sign:hover {
  background-color: #218838;
}

.btn-remove-sign {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.btn-remove-sign:hover {
  background-color: #c82333;
}

/* Contract header */
.contract-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  margin-bottom: 20px;
}

.contract-status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contract-participants {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #6c757d;
}

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* Contract status indicators row */
.contract-status-indicators {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    margin-bottom: 32px; /* зовнішній відступ, фон сторінки видно */
    border-radius: 16px;
    border: none !important;
    background-color: #fff !important;
    transition: box-shadow 0.2s, border 0.2s;
    padding: 20px 32px;
}
.contract-status-indicators:hover {
    border: none !important;
}
@media (max-width: 600px) {
    .contract-status-indicators {
        flex-direction: column;
        gap: 10px;
        padding: 12px 8px;
        border-radius: 10px;
    }
}

.status-indicator.draft {
  background-color: #ffe066 !important;
  color: #856404 !important;
}
.status-indicator.signed_by_one {
  background-color: #ff6f6f !important;
  color: #fff !important;
}
.status-indicator.fully_signed {
  background-color: #51cf66 !important;
  color: #fff !important;
}
.status-indicator.finalized {
  background-color: #339af0 !important;
  color: #fff !important;
}

/* Lock indicator styles */
.lock-indicator {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 3px;
  font-weight: 500;
  font-size: 15px;
  margin-left: 8px;
  transition: background 0.2s, color 0.2s;
}
.lock-indicator.ready {
  background: #51cf66; /* зелений */
  color: #fff;
}
.lock-indicator.editing {
  background: #339af0; /* синій */
  color: #fff;
}
.lock-indicator.locked {
  background: #ff6f6f; /* червоний */
  color: #fff;
}
.lock-indicator.fully-signed {
  background: #51cf66; /* зелений */
  color: #fff;
}

/* Відступ і розділення між статусами і деталями контракту */
.agreement__content.set-profile {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  padding: 32px 32px 24px 32px;
  margin-top: 0;
}

@media (max-width: 600px) {
  .agreement__content.set-profile {
    padding: 12px 4px 12px 4px;
    border-radius: 10px;
  }
  .contract-status-indicators {
    margin-bottom: 18px !important;
  }
}

/* Video Frame Selection Modal Styles */
.video-frame-selection {
    margin: 20px 0;
}

.video-frame-preview {
    margin-bottom: 20px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    background: #f9f9f9;
}

.video-frame-preview img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 4px;
}

.video-frames-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
}

.video-frame-item {
    width: 80px;
    height: 80px;
    border: 2px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.video-frame-item:hover {
    border-color: #d95286;
    transform: scale(1.05);
}

.video-frame-item.selected {
    border-color: #d95286;
    box-shadow: 0 0 10px rgba(217, 82, 134, 0.3);
}

.video-frame-upload {
    margin-top: 15px;
}

.video-frame-upload .upload__input {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.video-frame-upload .upload__input:hover {
    border-color: #d95286;
    background-color: #f8f9fa;
}

.video-frame-upload .input-upload__title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.video-frame-upload .input-upload__label {
    color: #666;
    font-size: 14px;
}

/* Responsive styles for video frame modal */
@media (max-width: 768px) {
    .video-frames-grid {
        max-height: 200px;
        gap: 8px;
    }
    
    .video-frame-item {
        width: 60px;
        height: 60px;
    }
    
    .video-frame-upload .upload__input {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .video-frames-grid {
        max-height: 150px;
        gap: 5px;
    }
    
    .video-frame-item {
        width: 50px;
        height: 50px;
    }
}

/* Custom thumbnail indicator styles */
.video-frame-item.custom-thumbnail {
    border-color: #d95286;
    box-shadow: 0 0 10px rgba(217, 82, 134, 0.3);
}

.video-frame-item.custom-thumbnail div {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #d95286;
    color: white;
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: bold;
    z-index: 1;
}

/* Video play icon in posts */
.post-block__media .video-preview {
    position: relative;
    width: 100%;
    height: 100%;
}

.post-block__media .video-preview .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background-color: #EE5F96;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background-color 0.2s ease;
}

.post-block__media .video-preview .play-icon svg {
    width: 24px;
    height: 24px;
}

.post-block__media .video-preview:hover .play-icon {
    background: rgba(0, 0, 0, 0.8);
}

/* Стилі для статистики моделей агентств */
.models-stats-no-data-state {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
    margin: 20px 0;
}

.models-stats-no-data-state__icon {
    font-size: 48px;
    color: #6c757d;
    margin-bottom: 20px;
}

.models-stats-no-data-state__icon i {
    opacity: 0.6;
}

.models-stats-no-data-state__title {
    font-size: 24px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 16px;
}

.models-stats-no-data-state__description {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.models-stats-no-data-state__hint {
    background: #e3f2fd;
    border: 1px solid #bbdefb;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 20px auto;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1976d2;
    font-size: 14px;
}

.models-stats-no-data-state__hint i {
    font-size: 16px;
}

.models-stats-no-data-state__reasons {
    text-align: left;
    max-width: 400px;
    margin: 20px auto;
    padding-left: 20px;
    color: #6c757d;
}

.models-stats-no-data-state__reasons li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.models-stats-no-data-state__actions {
    margin-top: 24px;
}

.models-stats-no-data-state__actions .button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.models-stats-no-data-state__actions .button._icon-plus {
    background: #007bff;
    color: white;
}

.models-stats-no-data-state__actions .button._icon-plus:hover {
    background: #0056b3;
    transform: translateY(-1px);
}

.models-stats-no-data-state__actions .button._icon-calendar {
    background: #6c757d;
    color: white;
}

.models-stats-no-data-state__actions .button._icon-calendar:hover {
    background: #545b62;
    transform: translateY(-1px);
}

.models-stats-no-data-state__actions .button i {
    font-size: 14px;
}

/* Анімація появи */
.models-stats-no-data-state {
    animation: modelsStatsFadeInUp 0.5s ease-out;
}

@keyframes modelsStatsFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивність */
@media (max-width: 768px) {
    .models-stats-no-data-state {
        padding: 40px 16px;
    }
    
    .models-stats-no-data-state__title {
        font-size: 20px;
    }
    
    .models-stats-no-data-state__description {
        font-size: 14px;
    }
    
    .models-stats-no-data-state__icon {
        font-size: 36px;
    }
}

/* Стилі для таблиць статистики моделей агентств */
.models-stats-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}

.models-stats-table th,
.models-stats-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}

.models-stats-no-data-state__hint i {
    margin-right: 8px;
    color: #2196F3;
}

/* Анімація появи */
.models-stats-no-data-state {
    animation: modelsStatsFadeInUp 0.5s ease-out;
}

/* New Post Processing Block Styles */
.post-processing-block-new {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
}

/* Processing row layout */
.post-processing-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Error row layout */
.post-processing-error-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Preview image */
.post-processing-preview {
  flex-shrink: 0;
}

.post-processing-preview-img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.post-processing-preview-placeholder {
  width: 50px;
  height: 50px;
  background: #e9ecef;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 18px;
  border: 2px solid #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Processing content */
.post-processing-content {
  flex: 1;
  min-width: 0;
}

.post-processing-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #495057;
  margin-bottom: 8px;
}

.post-processing-status i {
  color: #ee5f96;
}

/* Progress bar */
.post-processing-progress {
  height: 6px;
  background-color: #e9ecef;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 4px;
}

.post-processing-progress-bar {
  height: 100%;
  background-color: #ee5f96;
  transition: width 0.3s ease;
  border-radius: 3px;
}

.post-processing-progress-text {
  font-size: 12px;
  color: #6c757d;
  text-align: left;
  font-weight: 500;
}

/* Error state */
.post-processing-error-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.post-processing-error-text {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #dc3545;
  font-size: 14px;
  font-weight: 500;
}

.post-processing-error-text i {
  color: #dc3545;
}

/* Retry button */
.post-processing-retry-btn {
  background: #ff69b4;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 10px;
  transition: background-color 0.3s ease;
  vertical-align: middle;
}

.post-processing-retry-btn:hover {
  background: #ff1493;
}

.post-processing-retry-btn i {
  color: white;
  font-size: 14px;
}

/* Responsive design */
@media (max-width: 480px) {
  .post-processing-row,
  .post-processing-error-row {
    gap: 10px;
  }
  
  .post-processing-preview-img,
  .post-processing-preview-placeholder {
    width: 40px;
    height: 40px;
  }
  
  .post-processing-error-content {
    gap: 10px;
  }
  
  .post-processing-error-text {
    font-size: 13px;
  }
}
.media-load-more-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  background-color: #fff;
  margin-top: 20px;
  border-radius: 8px;
}

.media-load-more-button {
  min-width: 200px;
  padding: 12px 24px;
  background-color: #fff;
  border: 2px solid #e0e0e0;
  border-radius: .75rem;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.media-load-more-button:hover {
  background-color: #f8f9fa;
  border-color: #ee5f96;
  color: #ee5f96;
}

.media-load-more-button:active {
  transform: translateY(1px);
}
.cart-redesign-summary.cart-summary-vertical-layout {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.5rem;
}

.cart-redesign-summary .cart-summary-order-total-row,
.cart-redesign-summary .cart-summary-vat-row,
.cart-redesign-summary .cart-summary-discount-row,
.cart-redesign-summary .cart-summary-final-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0.3rem 0;
}

.cart-redesign-summary .cart-summary-final-row {
  border-top: 1px solid #eee;
  padding-top: 0.5rem;
  margin-top: 0.3rem;
  font-weight: 700;
}
.discount-price-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shop-promo-detail__price--discounted {
  color: #ec4899;
  font-size: 20px;
  font-weight: 700;
}

.shop-promo-detail__price--original {
  color: #999;
  font-size: 16px;
  font-weight: 400;
  text-decoration: line-through;
}

.discount-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.discount-badge--special {
  background-color: #ff6b6b;
  color: white;
}

.discount-badge--tiered {
  background-color: #4ecdc4;
  color: white;
}

.discount-badge--regular {
  background-color: #feca57;
  color: #333;
}
.duplicated-fields-container {
  margin-top: 2rem;
  border-top: 2px solid #feeff5;
  padding-top: 2rem;
}

.duplicated-field-group {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #feeff5;
}

.duplicated-field-title {
  margin: 0 0 1.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  text-align: center;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #feeff5;
}

.duplicated-field-group .set-profile__field,
.duplicated-field-group .set-profile__pass {
  margin-bottom: 1.5rem;
}

.duplicated-field-group .set-profile__field:last-child,
.duplicated-field-group .set-profile__pass:last-child {
  margin-bottom: 0;
}

/* Стилі для окремих контейнерів превью */
.duplicated-field-group .preview_container {
  margin-top: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px dashed #dee2e6;
  min-height: 60px;
}

.duplicated-field-group .preview_container:empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-style: italic;
}

.duplicated-field-group .preview_container:empty::before {
  content: "No files selected";
}

/* Стилі для контейнерів превью оригінальних полів */
.original.preview_container {
  margin-top: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px dashed #dee2e6;
  min-height: 60px;
}

.original.preview_container:empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-style: italic;
}

.original.preview_container:empty::before {
  content: "No files selected";
}

.cart-item-title {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #feeff5;
}

.cart-fields-list {
  margin-bottom: 1.5rem;
}

.cart-fields-list:last-child {
  margin-bottom: 0;
}

.cart-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #feeff5;
}

.cart-item-header .cart-item-title {
  margin: 0;
  padding-bottom: 0;
  border-bottom: none;
  flex: 1;
}

.cart-item-price {
  color: #ee5f96;
  font-weight: 600;
  margin-right: 1rem;
}

.cart-item-header .cart-item-remove-form {
  margin: 0;
}
.ai-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6b9d 0%, #ff8fab 100%);
  color: white;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 6px 12px;
  border-radius: 16px;
  margin-right: 8px;
  box-shadow: 0 3px 8px rgba(255, 107, 157, 0.3);
  position: relative;
  overflow: hidden;
  min-width: 32px;
}

.ai-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.ai-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 107, 157, 0.4);
  transition: all 0.3s ease;
} 

/* Comment error and success messages */
.comment-error,
.comment-success {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.comment-error {
  background-color: #fee;
  border: 1px solid #fcc;
  color: #c33;
}

.comment-success {
  background-color: #efe;
  border: 1px solid #cfc;
  color: #3c3;
}
/* Унікальний контейнер для кастомного періоду */
.earnings-stats__field:has(input[type="date"]) .field__input {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding-right: 1.25rem;
}

/* Стилі для інпутів дати в кастомному періоді */
.earnings-stats__field:has(input[type="date"]) .field__input input[type="date"] {
  flex: 0 0 37.5%; /* 75% / 2 = 37.5% для кожного інпута */
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: .75rem;
  font-size: 14px;
  background: white;
  min-width: 0; /* Дозволяє flex-basis працювати правильно */
}

/* Стилі для кнопки Get Info в кастомному періоді */
.earnings-stats__field:has(input[type="date"]) .field__input #get-info-btn {
  flex: 0 0 25%;
  padding: 12px 16px;
  background-color: #EE5F96;
  color: white;
  border: none;
  border-radius: .75rem;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.earnings-stats__field:has(input[type="date"]) .field__input #get-info-btn:hover {
  background-color: #d04a7f;
}

.earnings-stats__field:has(input[type="date"]) .field__input #get-info-btn:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}

.like-dislike-buttons{
  display: flex;
  align-items: center;
  gap: 10px;
}
.rate-text {
  color: white;
  margin-right: 10px;
  font-family: 'Unbounded', sans-serif;
}

.like-btn,
.dislike-btn {
  /* Загальні стилі для кнопок лайк/дизлайк */
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.like-btn {
  /* Специфічні стилі для кнопки лайк */
  margin-right: 15px;
}

.like-btn img,
.dislike-btn img {
  /* Стилі для іконок */
  width: 24px;
  height: 24px;
}

.like-btn.active img {
  filter: brightness(0) saturate(100%) invert(51%) sepia(96%) saturate(2108%) hue-rotate(305deg) brightness(101%) contrast(87%);
}

.dislike-btn.active img {
  filter: brightness(0) saturate(100%) invert(51%) sepia(96%) saturate(2108%) hue-rotate(305deg) brightness(101%) contrast(87%);
}

.likes-count,
.dislikes-count {
  /* Стилі для лічильників */
  color: white;
  margin-left: 5px;
  font-weight: 500;
}
#tagUsersBtn{
  color: gray;
  font-size: 21px;
}
.youtube-preview-container {
  margin: 10px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.youtube-preview-container iframe {
  border-radius: 8px;
  width: 100%;
  height: 200px;
}

.youtube-cropper-wrapper {
  margin: 15px 0;
}

.youtube-cropper-image-container {
  text-align: center;
  margin-bottom: 15px;
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 10px;
  background: #f9f9f9;
}

.youtube-cropper-actions {
  text-align: center;
}

.youtube-cropper-actions .button {
  padding: 8px 20px;
  font-size: 14px;
}
.flex-block.button-container{
  width: 50% !important;
  position: relative;
}

@media (max-width: 400px) {
  .flex-block.button-container{
    bottom: -20px;
  }
}

@media (max-width: 400px) {
  .flex-block.button-container{
    bottom: -20px;
  }
}
/* Container Responsive Styles - matching the reference HTML */
@media (max-width: 400px) {
    
  .set-profile__body {
      width: 90% !important;
      box-sizing: border-box !important;
  }
.set-profile__title, .agreement__title .title {
  font-size: 0.875rem !important;
}

.contract-status-indicators {
  width: 90% !important;
  box-sizing: border-box !important;
}
}
.famez-message-count {
  background: #ff4757;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  margin-left: 8px;
}
@media (max-width: 768px) {
  .date-range-input {
      display: flex;
      flex-direction: column;
      gap: 10px;
  }
  
  .date-range-input input[type="date"] {
      width: 100%;
      margin-bottom: 0;
  }
  
  .date-range-input button {
      width: 100%;
      margin-top: 5px;
  }
}

.create_post_body-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  position: relative;
}

.post-textarea {
  resize: vertical !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 60px;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}

@media (max-width: 768px) {
  .post-textarea {
    min-height: 120px;
    resize: vertical !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
    
  .post-textarea::-webkit-resizer {
    width: 30px !important;
    height: 30px !important;
    background-color: rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    border-radius: 4px 0 0 0 !important;
  }
}
