.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: black;
    border-radius: 10px;
    overflow: hidden;
}

.custom-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fullscreen-icon {
    width: 24px !important;
    height: 24px !important;
    cursor: pointer;
}

.video-controls {
    position: absolute;
    bottom: 10px;
    left: 2%;
    right: 2%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(0, 0, 0, 0.25);
    padding: 5px 10px;
    border-radius: 8px;
    width: 96%;
    gap: 4px;
}

.video-controls input[type="range"] {
    flex: 1;
    margin: 0 10px;
}

.progress {
    --progress: 0%;
    --height: 6px;
    --thumb-size: 10px;

    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: var(--height);
    background: var(--dark-gray);
    border-radius: 3px;
    outline: none;
    position: relative;
    cursor: pointer;
}

.progress::before {
    content: "";
    position: absolute;
    height: var(--height);
    width: var(--progress);
    background: var(--base-purple);
    border-radius: 3px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.progress::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    background: var(--base-purple);
    border-radius: 50%;
    top: 50%;
    left: var(--progress);
    transform: translate(-50%, -50%);
    transition: width 0.15s ease, height 0.15s ease;
}

.progress:hover::after {
    width: var(--thumb-size);
    height: var(--thumb-size);
}

.progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 0;
    height: 0;
}


.video-controls .time {
    color: white;
    font-size: 12px;
    min-width: 60px;
    text-align: center;
}

.video-play-icon {
    width: 24px !important;
    height: 24px !important;
    cursor: pointer;
    transition: 0.5s;
}

.file-item {
    display: flex;
    gap: 8px;
    align-items: center;
    background-color: var(--accent-purple);
    padding: 8px;
    width: fit-content;
    border-radius: 9px;
    position: relative;
}

.file-download-btn {
    border: none;
    width: fit-content;
    height: fit-content;
    padding: 0;
    background: none;
    position: relative;
    cursor: pointer;
}

.file-download-btn.downloading img {
    animation: arrow-down 0.6s ease-in-out 1 forwards;
}

@keyframes arrow-down {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(6px); }
    100% { transform: translateY(0); }
}

.file-download-btn img {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.dowanload-text {
    color: var(--base-purple);
    cursor: pointer;
    transition: text-decoration 0.2s ease;
}

.dowanload-text:hover {
    text-decoration: underline;
}

.file-size {
    display: flex;
    gap: 6px;
    font-family: 'Nunito Sans';
    font-size: 12px;
    color: var(--dark-gray);
}

.file-name {
    font-size: 14px;
    font-weight: 350;
}

.file-delete-btn {
    background: none;
    border: none;
    position: absolute;
    top: -5px;
    right: -12px;
}

.file-delete-icon {
    width: 18px;
    height: 18px;
    box-shadow: 0 0 1px rgba(0,0,0,0.1);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-item:hover .file-delete-icon {
    opacity: 1;
    transform: scale(1);
}
.post-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  overflow-y: auto;
}

.post-modal-wrapper {
  position: relative;
  padding: 0;
}

.post-modal {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.post-modal-close {
    position: fixed;
    top: 24px;
    left: calc(50% + 320px);
    border: none;
    background: none;
    cursor: pointer;
}

.post-modal-close img {
  width: 28px;
  height: 28px;
}

.post-modal-content {
    padding: 16px;
    width: fit-content;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 600px;
}

.post-modal-post {
  margin-bottom: 16px;
}

.comments-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-list-root {
    background: var(--base-white);
    width: 100%;
    padding: 13px 22px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.no-comments-text {
    display: none;
    width: 100%;
    height: 100%;
    font-size: 16px;
    color: var(--dark-gray);
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.show-no-comms {
    display: flex;
}
.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.comment-item {
    display: flex;
    gap: 8px;
}

.comment-content {
    font-size: 16px;
    color: var(--text-black);
    width: 100%;
}

.comment-data {
    font-size: 14px;
    color: var(--dark-gray);
}

.comment-devider {
    width: 100%;
    height: 1px;
    border-radius: 1px;
    background-color: var(--light-border);
    margin-top: 4px;
}

.comment-text {
    font-weight: 350;
}
.emoji-picker {
    width: 300px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: absolute;
    right: 50px;
    bottom: 32px;
    background-color: var(--base-white);
    padding: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    border-radius: 14px;
    gap: 8px;
}

.emoji-picker-grid {
    overflow-y: scroll;
    height: 196px;
}

.emoji-picker-grid::-webkit-scrollbar {
    display: none;
}

.hidden {
    display: none;
}

.emoji-item {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 22px;
}

.emoji-btn {
    position: absolute;
    right: 40px;
    bottom: 18px;
    transform: translateY(50%);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-result-text {
    font-family: 'Nunito Sans';
    font-size: 16px;
    color: var(--dark-gray);
    justify-self: center;
    padding: 14px;
}
.navbar-search-modal {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    max-height: none;
    background: var(--base-white);
    border-radius: 16px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
    padding: 16px 0;
    display: none;
    overflow: hidden;
    z-index: 2500;
}

.navbar-search-modal--open {
    display: block;
}

.navbar-search-modal__content {
    max-height: none;
    overflow-y: visible;
}

.navbar-search-modal__section {
    padding: 0 20px 12px;
}

.navbar-search-modal__title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 12px;
}

.navbar-search-modal__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.navbar-search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
    cursor: pointer;
    border-radius: 8px;
}

.navbar-search-item:hover {
    background: rgba(0, 0, 0, 0.03);
}

.navbar-search-item__left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-search-item__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar-search-item__name {
    font-size: 14px;
}

.navbar-search-item__action {
    background: none;
    border: none;
    color: var(--base-purple);
    font-size: 14px;
    cursor: pointer;
}

.navbar-search-item__action--muted {
    color: var(--dark-gray);
    cursor: default;
}

.navbar-search-modal__more {
    margin: 8px auto 0;
    display: block;
    background: none;
    border: none;
    color: var(--base-purple);
    cursor: pointer;
    font-size: 14px;
}

.support-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.support-widget__iframe {
    width: 544px;
    height: 731px;
    border: none;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.support-widget__button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: var(--base-purple);
    color: #fff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.support-widget__button:hover {
    filter: brightness(1.05);
}

@media (max-width: 768px) {
    .support-widget {
        display: none;
    }
}

.header-card {
    position: relative;
    width: 100%;
}

.header-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.header-card__content {
    display: flex;
    align-items: center;
    padding: 16px;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info-container {
    margin-left: 16px;
}

.user-name {
    font-size: 20px;
    font-weight: 600;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-toggle-btn {
    cursor: pointer;
}

.user-infromation {
    font-size: 20px;
    font-weight: 600;   
}

@media (max-width: 768px) {
    .user-infromation {
        font-family: 'Nunito Sans';
        font-size: 16px;
        color: var(--base-black);
    }
}

.community-page {
  position: fixed;
  top: 80px;
  bottom: 20px;
  display: flex;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

.community-page__left {
  width: 600px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: calc(100vh - 80px - 20px);
}

.community-search-block {
  flex-shrink: 0;
}

.community-list-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--base-white);
  border-radius: 14px;
  padding: 10px;
  overflow: hidden;
}

.community-page__tabs {
  flex-shrink: 0;
  display: flex;
  gap: 16px;
  padding: 6px 12px;
}

.community-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.community-list::-webkit-scrollbar {
  display: none;
}

.community-search-input-wrapper {
  width: 100%;
  height: 48px;
  background: var(--base-white);

  border: 1px solid var(--light-border);
  border-radius: 12px;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 0 14px;
  box-sizing: border-box;
}

.community-search-icon {
  width: 20px;
  height: 20px;
  opacity: 0.6;
}

.community-search-input {
  flex: 1;
  height: 100%;

  border: none;
  background: none;

  font-size: 15px;
  outline: none;
}

.community-search-input::placeholder {
  color: #b4b4b4;
}

.community-tab {
  font-size: 18px;
  background: none;
  border: none;
  padding: 4px 10px;
  cursor: pointer;
  color: var(--text-black);
  font-weight: 400;
  font-family: 'Nunito Sans';
}

.community-tab--active {
  background: #f4ecff;
  border-radius: 8px;
  color: var(--text-black);
  font-weight: 400;
  font-family: 'Nunito Sans';
}

.community-empty {
  padding: 20px;
  text-align: center;
  color: var(--dark-gray);
}

.community-sidebar {
  width: 330px;
  background: var(--base-white);
  border-radius: 14px;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: flex-start;
  font-size: 16px;
}

.community-sidebar__create-btn {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--base-purple);
  background: var(--base-white);
  color: var(--base-purple);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
  height: 38px;
}

.community-sidebar__create-btn:hover {
  background: var(--accent-purple);
}

.community-sidebar__title {
  color: var(--text-black);
  margin-top: 4px;
}

.community-sidebar__created-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.community-created {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.community-created__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.community-created__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-created__name {
  font-size: 14px;
  color: #161616;
  text-align: left;
}

.community-page__main-contet {
  display: flex;
  align-items: flex-start;
  height: calc(100vh - 80px - 16px);
}


@media (max-width: 768px) {
  
  .community-page {
    position: static;
    flex-direction: column; 
    gap: 8px !important;
    padding: 0;
    min-height: auto;
    top: 70px !important;
  }

  .community-page__left {
    width: 100% !important;
    height: auto;
    order: 2;
    gap: 8px !important; 
  }

  .community-page__main-contet {
    flex-direction: column;
    height: auto;
  }

  .community-sidebar {
    width: 100% !important;
    max-width: 100%;
    position: static;
    order: 1;
  }

  .community-page[data-page="base"] {
    top: 70px !important;
  }
}

.create-community-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito Sans', sans-serif;
}

.create-community-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.create-community-modal__window {
    position: relative;
    z-index: 1;
    width: 420px;
    max-width: calc(100% - 32px);
    background: var(--base-white);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0px;
    gap: 14px;
}

.create-community-modal__header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.create-community-modal__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--base-purple);
}

.create-community-modal__close {
  position: absolute;
  right: 0px;
  top: 18px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.create-community-modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 380px;
}

.create-community-modal__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.create-community-modal__label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.create-community-modal__label,
.create-community-modal__counter {
  font-size: 16px;
  color: var(--dark-gray);
}

.create-community-modal__input {
  height: 35px;
  border-radius: 6px;
  border: 1px solid var(--light-border);
  background-color: var(--light-gray);
  padding: 4px 12px;
  font-size: 14px;
  outline: none;
}

.create-community-modal__input:focus {
  border: 1px solid var(--base-purple);
}

.create-community-modal__input::placeholder {
  color: var(--dark-gray);
  font-family: inherit;
}

.create-community-modal__textarea {
  resize: vertical;
  min-height: 64px;
  border-radius: 10px;
  border: 1px solid var(--light-border);
  padding: 8px 10px;
  font-size: 14px;
  outline: none;
}

.create-community-modal__textarea::placeholder {
  color: #b4b4b4;
}

.create-community-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.create-community-modal__btn {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
}

.create-community-modal__btn--secondary {
  border-color: var(--base-purple);
  color: var(--base-purple);
  background: #ffffff;
}

.create-community-modal__btn--secondary:hover {
  background: rgba(132, 94, 247, 0.06);
}

.create-community-modal__btn--primary {
  border-color: var(--base-purple);
  background: var(--base-purple);
  color: #ffffff;
}

.create-community-modal__btn--primary:hover {
  opacity: 0.95;
}

.create-modal-container {
  width: 460px;
  height: fit-content;
  position: relative;
}

.create-community-modal__devider {
  height: 1px;
  background-color: var(--light-border);
  width: 100%;
}

@media (max-width: 768px) {
  .create-community-modal {
    align-items: flex-end;
    justify-content: center;
    padding: 0;
  }

  .create-community-modal__window {
    width: 100%;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform 0.35s ease;
  }

  .create-community-modal.open .create-community-modal__window {
    transform: translateY(0);
    transform: translateY(0);
    height: 500px;
    justify-content: flex-start;
  }

  .create-community-modal__form {
    width: 90%;
  }

  .create-community-modal__input,
  .create-community-modal__textarea {
    width: 100%;
    height: 35px;
  }

  .create-community-modal__close {
    display: none;
  }
}


.community-card {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 10px 12px 10px 12px;
  background: var(--base-white);
  box-sizing: border-box;
}

.community-card__main-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  cursor: pointer;
}

.community-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.community-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-card__info {
  display: flex;
  flex-direction: column;
}

.community-card__name {
  font-family: 'Nunito Sans';
  font-size: 16px;
  font-weight: 500;
  color: var(--text-black);
}

.community-card__desc, .community-card__subscribers {
  font-family: 'Nunito Sans';
  font-size: 13px;
  color: var(--dark-gray);
}

.community-card__actions {
  display: flex;
  align-items: center;
}

.community-card__btn {
  padding: 4px 8px;
  border-radius: 8px;
  border: 0px;
  color: var(--base-purple);
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}


.community-card__btn--active {
  background: var(--base-purple);
  color: #ffffff;
}

.community-created {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.community-created__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.community-created__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-created__name {
  font-size: 16px;
  color: var(--text-black);
  text-align: left;
  font-weight: 330;
  font-family: 'Nunito Sans';
}

@media (max-width: 768px) {
  .community-sidebar__title {
    display: none;
  }

  .community-sidebar__created-list {
    display: none !important;
  }
}
.form-input {
  position: relative;
}

.input-inner {
  position: relative;
}

.input-field {
    width: 100%;
    height: 40px;
    background-color: var(--base-white);
    border: 1px solid var(--dark-gray);
    border-radius: 8px;
    padding: 0px 10px;

    font-family: "Nunito Sans";
    font-size: 14px;
    color: var(--text-black);
    transition: border-color 0.2s;
}

.input-field::placeholder{
    color: var(--dark-gray);
    transition: color 0.2s ease;
}

.input-field:focus::placeholder{
  color: transparent;
}

.input-field:focus{
    border-color: var(--base-purple);
    outline: none;
}

.input-floating-label {
  position: absolute;
  top: -8px;
  left: 10px;
  background: var(--base-white);
  padding: 0 3px;
  font-family: "Nunito Sans";
  font-size: 10px;
  color: var(--base-purple);

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, color 0.2s ease;
}

.input-field:focus + .input-floating-label,
.input-field.invalid + .input-floating-label {
  opacity: 1;
  visibility: visible;
}

.input-field:focus ~ .input-floating-label,
.input-field.invalid ~ .input-floating-label {
  display: block;
}

.input-field.invalid {
  border-color: var(--base-red);
}

.input-field.invalid:focus {
  border-color: var(--base-purple);
}

.input-field.invalid ~ .input-floating-label {
  color:  var(--base-red);
}

.pwd-control {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  align-items: center;
}

.icon-eye {
  width: 20px;
  height: 20px;
}

.eye-closed {
  display: none;
}

.pwd-control.show .eye-open {
  display: none;
}

.pwd-control.show .eye-closed {
  display: inline;
}

.friends-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 38px;
}

.friends-stats__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 6px;
    border: none;
    border-radius: 8px;
    background: var(--base-white);
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    height: 38px;
    box-sizing: border-box;
    border: none;
    text-align: left;
}

.friends-stats__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 6px;
    border: none;
    border-radius: 8px;
    background: var(--base-white);
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    height: 38px;
    box-sizing: border-box;
    border: none;
    text-align: left;
}

.friends-stats__item--active,
.friends-stats__item--active:hover {
    background-color: var(--accent-purple) !important;
    color: var(--base-white);
}


.friends-stats__item:hover {
    background-color: var(--base-gray);
}

.friends-stats__label {
    font-size: 14px;
    color: var(--text-black);
    font-weight: 500;
    font-family: 'Nunito Sans';
}

.friends-stats__count {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-gray);
}
.friend-card {
    width: 100%; 
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 0;    
    background: #FFFFFF;
    border-radius: 8px;
    box-sizing: border-box;
}

.friend-card__main-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.friend-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.friend-card__name {
    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    color: #333333;
}

.friend-card__age {
    font-family: "Nunito Sans", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: #666666;
}



.navbar-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.friend-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.friend-actions-container {
    position: absolute;
    right: 0;
    width: 190px;
    top: 100%;
    z-index: 3000;
}

.friend-card__actions {
    position: relative;
}

.fiend-actions-button{
    width: 24px;
    height: 24px;
    cursor: pointer;
}


.friend-status-text {
    width: fit-content;
    height: fit-content;
    padding: 4px 8px;
    background: none;
    border: none;
    font-size: 14px;
    border-radius: 6px;
    color: var(--base-purple);
    font-weight: 400;
}
.friends-list__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.friends-list__grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
}

.friends-page {
    position: fixed;
    top: 80px;
    bottom: 20px;
    display: flex;
    box-sizing: border-box;
    align-items: flex-start;
    gap: 16px;
}


.friends-page__content {
  order: 2;
  flex: 1;
  background-color: var(--base-white);
  border-radius: 14px;
  border: none;
  padding: 16px 12px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 600px;
  height: 100%;
  box-sizing: border-box;
  overflow-y: auto;
}

.friends-page__content::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}


.friends-page__sidebar {
  order: 3;
  width: 330px;
  height: 140px;
  background-color: var(--base-white);
  border-radius: 14px;
  border: none;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 10px;
}


.friends-page__title {
    font-family: 'Nunito Sans';
    font-weight: 450;
    font-size: 20px;
    color: var(--text-black);
}

.search-block input {
  width: 100%;
  padding: 10px 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #fafafa;
  font-size: 14px;
}



.friend-card__actions button {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: 0.2s;
}

.friend-card__actions .remove {
  color: #e63946;
  border-color: #e63946;
}

.friend-card__actions .remove:hover {
  background: var(--light-border);
  color: var(--base-gray);
}

.friend-card__actions .block {
  color: var(--base-gray);
  border-color: var(--base-gray);
}

.friend-card__actions .block:hover {
  background: var(--base-gray);
  color: #fff;
}

@media (max-width: 768px) {
  .friends-page {
    flex-direction: column;
  }

  .friends-page__menu,
  .friends-page__sidebar {
    width: 100%;
  }

  .friends-page__content {
    padding: 15px;
  }
}

.search-input-container{
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.search-input {
    width: 100%;
    height: 34px;
    padding-left: 36px;
    background: var(--light-border);
    border-radius: 8px;
    font-size: 16px;
    border: 1px solid transparent;
    transition: border 0.2s;
}
.search-input{
    width: 602px;
    height: 34px;
    background: var(--light-border);
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
}
.navbar-input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
}
.dropdownf-button{
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dropdownf-button-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s 
    cubic-bezier(0.72, 0.34, 0.37, 0.93);
}
.dropdownf-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--base-white);
    border: 1px solid var(--base-white);
    border-radius: 8px;
    display: none;
    flex-direction: column;
    min-width: 160px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    padding: 8px;
}


.friends-list__grid {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
}


.search-settings {
    position: relative;
}

.search-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--base-white);
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    padding: 0;
    width: 178px;
    height: 185px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.2s ease;
    margin-top: 8px;
    overflow: hidden;
}

.search-dropdown-menu--open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdownf-button--open .dropdownf-button-icon {
    transform: rotate(90deg);
}


@media (max-width: 768px) {
  .friends-page {
    top: 70px !important;
    bottom: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    position: relative;
  }

  .friends-page__sidebar {
    order: 1;
    width: 100%;
    height: 140px;
    position: fixed;
  }

  .friends-page__content {
    order: 2;
    width: 100%;
    padding: 14px 10px;
    background: var(--base-white);
    border-radius: 12px;
    height: calc(100vh - 290px) !important;
    position: fixed;
    margin-top: 150px;
  }
}



.help-page {
    position: fixed;
    top: 80px;
    bottom: 20px;
    display: flex;
    box-sizing: border-box;
    align-items: flex-start;
}

.help-page__content {
    width: 860px;
    max-width: 100%;
    height: 100%;
    background-color: var(--base-white);
    border-radius: 14px;
    padding: 16px 24px 20px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}

.help-page__content::-webkit-scrollbar {
    width: 0;
    background: transparent;
}

.help-page__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.help-page__title {
    font-family: 'Nunito Sans';
    font-weight: 450;
    font-size: 20px;
    color: var(--text-black);
}

.help-page__table-wrapper {
    background: var(--base-white);
    border-radius: 12px;
    overflow: visible;
}

.help-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.help-table__th {
    text-align: left;
    padding: 10px 16px;
    font-weight: 500;
    color: var(--text-secondary, #777);
    background: #fafafa;
    border-bottom: 1px solid var(--light-border);
    white-space: nowrap;
}

.help-table__empty-row--hidden {
  display: none;
}

.help-table__th--id {
    width: 120px;
}

.help-table__th--topic {
    width: 100%;
}

.help-table__th--date {
    width: 140px;
}

.help-table__th--status {
    width: 120px;
}

.help-table__th--actions {
    width: 40px;
}

.help-table__sort-indicator {
    font-size: 12px;
    color: #b3b3b3;
    margin-left: 4px;
}

.help-table__row {
    border-bottom: 1px solid var(--light-border);
}

.help-table__cell {
    padding: 10px 16px;
    vertical-align: middle;
    font-size: 14px;
    color: var(--text-black);
}

.help-table__cell--topic {
    max-width: 380px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.help-table__cell--status {
    font-weight: 500;
    min-width: 60px;
}

/* цвета статусов */
.help-status--closed {
    color: #26a65b; /* зелёный */
}

.help-status--in-progress {
    color: #007bff; /* синий */
}

.help-status--canceled {
    color: #e63946; /* красный */
}

.help-status--new {
    color: #f39c12;
}


.help-table__actions-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.help-table__actions-dots {
    font-size: 18px;
    line-height: 1;
    color: #b3b3b3;
}


.help-row-menu {
    position: absolute;
    background: var(--base-white);
    border-radius: 8px;
    border: 1px solid var(--light-border);
    padding: 6px 0;
    display: flex;
    flex-direction: column;
    min-width: 150px;
    z-index: 3000;
}

.help-row-menu__item {
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.help-row-menu__item:hover {
    background: #f4f4ff;
}

.help-row-menu__item--danger {
    color: #e63946;
}

.help-page__pagination {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    position: absolute;
    bottom: 16px;
}

.help-page__page-btn {
    min-width: 28px;
    height: 28px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    background: transparent;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
}

.help-page__page-btn--active {
    background: rgba(121, 80, 242, 0.12);
    color: var(--base-purple);
    font-weight: 600;
}

.help-page__page-btn:hover:not(.help-page__page-btn--active) {
    background: var(--light-border);
}

@media (max-width: 1024px) {
    .help-page {
        left: 220px;
        right: 20px;
    }
}

.help-table__row {
    cursor: pointer;
}


.application-modal {
    position: fixed;
    inset: 0;
    background: rgba(23, 23, 23, 0.35);
    backdrop-filter: brightness(0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.application-container {
    width: 544px;
    max-height: 80vh;
    background: white;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.application-container::-webkit-scrollbar {
    width: 0;
}

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

.application-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--base-purple);
}

.application-subtitle {
    font-size: 16px;
    color: var(--text-black);
}

.application-info-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.field-label {
    font-size: 16px;
    color: var(--dark-gray);
}

.field-value {
    font-size: 16px;
    font-weight: 400;
}

.application-images {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.application-image-item {
    position: relative;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-radius: 8px;
}

.application-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.application-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 12px;
}

.btn-default {
    padding: 8px 14px;
    background: #eee;
    border-radius: 6px;
    cursor: pointer;
}

.btn-primary {
    padding: 8px 14px;
    background: var(--base-purple);
    color: white;
    border-radius: 6px;
    cursor: pointer;
}

.application-status-select .select-list {
    position: absolute !important;
    z-index: 1000 !important;
    top: 75px;
}


.image-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.image-viewer.hidden {
    display: none;
}

.image-viewer-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    cursor: zoom-out;
}


.support-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 23, 23, 0.35);
    backdrop-filter: brightness(0.9);
    -webkit-backdrop-filter: brightness(0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.support-container {
    width: 544px;           
    height: 731px;         
    max-width: 544px;
    max-height: 731px;

    background-color: var(--base-white);
    border-radius: 16px;
    padding: 24px 24px 20px;

    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
    overflow-y: auto;      
}

.support-title {
    font-size: 20px;
    font-weight: 500;
    text-align: left;
    color: var(--base-purple);
}

.support-subtitle {
    font-size: 16px;
    font-weight: 350;
    color: var(--text-black);
}

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

.support-label {
    font-size: 16px;
    color: var(--dark-gray);
}

.support-input,
.support-select,
.support-textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid var(--light-border);
    padding: 10px 12px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    background-color: var(--base-bg, #fafafa);
    box-sizing: border-box;
}

.support-input:focus,
.support-select:focus,
.support-textarea:focus {
    border-color: var(--base-purple);
}

.support-textarea {
    min-height: 96px;
    resize: vertical;
}

.support-textarea::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.support-select-wrapper {
    position: relative;
}

.support-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 8px;
    padding-right: 32px;
}

.support-screenshot-block {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.support-contacts-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.support-contacts-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.support-contacts-subtitle {
    font-size: 13px;
    margin: 0;
    color: var(--text-secondary, #777);
}

.support-contacts-grid {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.support-contacts-grid .support-group {
    flex: 1;
    min-width: 200px;
}

.support-actions__container {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    margin-left: auto;
}

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

.about-problem-container{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-select-wrapper {
  position: relative;
}

.support-select-wrapper .select-list {
  position: absolute !important;
  z-index: 1000 !important;
  top: 75px;
}

.reg-email-input .baseinput-field {
  height: 40px !important;
}

.reg-email-input{
    width: 100%;
}

.about-problem-input {
    width: 100%;
}

.support-contacts-container{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-contacts-container .baseinput-field {
    height: 40px !important;
}

.divider-create-report{
    width: 100%;
    height: 1px;
    background-color: var(--light-border);
}

.support-container {
    overflow-y: auto;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.support-container::-webkit-scrollbar {
    width: 0;
    height: 0;
}
.community-page {
  width: 100%;
  height: 100%;
  display: flex;
  box-sizing: border-box;
  align-items: flex-start;
  overflow: auto;
}

.community-page__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  width: 100%;
}

.community-header-card {
  width: 880px;
  background: var(--base-white);
  border-radius: 20px;
  padding: 10px;
  overflow: visible;
}

.community-header-card__cover {
  width: 100%;
  height: 180px;
  border-radius: 14px;
  object-fit: cover;
}

.community-header-card__content {
  margin-top: -50px;
  padding: 0 0px 16px 16px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-end;
}

.community-header-card__left {
  display: flex;
  gap: 14px;
  align-items: flex-end;
}

.community-header-card__avatar-wrapper {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 4px solid var(--base-white);
  background: var(--base-white);
  overflow: hidden;
}

.community-header-card__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-header-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.community-header-card__name {
  font-size: 20px;
  color: var(--text-black);
}

.community-header-card__subscribers {
  font-size: 14px;
  color: var(--dark-gray);
}

.community-subscribe-btn,
.community-subscribe-btn--active {
  width: fit-content;
  height: 28px;
  padding: 4px 8px;
  background-color: var(--light-gray);
  border: none;
  font-size: 14px;
  border-radius: 6px;
  color: var(--base-purple);
  margin-left: auto;
  margin-top: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.community-subscribe-btn:hover,
.community-subscribe-btn--active:hover {
  background-color: var(--base-gray);
}

.community-subscribe-btn-icon {
  width: 24px;
  height: 24px;
  display: none;
}

.community-subscribe-btn--active .community-subscribe-btn-icon {
  display: inline-flex;
}

.community-owner-actions {
    position: relative;
    display: flex;
    align-items: center;
}

.owner-menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.owner-menu-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 3000;
    width: 250px;
}

.community-page__down {
  display: flex;
  gap: 16px;
}

.community-page__feed {
  width: 602px;
}

.community-page__sidebar {
  width: 260px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.community-about-card {
  background: var(--base-white);
  border-radius: 14px;
  padding: 10px 13px;
  width: 256px;
  gap: 6px;
  display: flex;
  flex-direction: column;
}

.community-about-card__title {
  font-weight: 350;
  font-size: 18px;
}

.community-about-card__row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.community-about-card__icon {
  width: 24px;
  height: 24px;
}
.community-about-card__text-wrapper {
  overflow: hidden;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.community-about-card__text-wrapper {
  overflow: hidden;
  max-width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 330;
}

.community-about-card__text--empty {
  color: #a0a0a0;
}

.community-about-card__more-btn {
  border: none;
  background: none;
  color: var(--base-purple);
  cursor: pointer;
  font-size: 13px;
  padding: 0;
  font-weight: 350;
  font-family: inherit;
}

.community-about-card__created {
  margin-top: 8px;
  font-size: 12px;
  color: var(--dark-gray);
}

.community-about-card__created span {
  color: var(--text-black);
}

.community-subscribers-card {
    background: var(--base-white);
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 14px;
    width: 256px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.community-subscribers-card__header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.community-subscribers-card__count {
  font-size: 14px;
  color: var(--dark-gray);
}

.community-subscribers-card__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.community-subscribers-card__empty {
  font-size: 13px;
  color: #969696;
}

.community-about-card__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.community-about-card__created-title {
  font-family: inherit;
  font-size: 14px;
  font-weight: 330;
}

.community-about-card__created-date {
  font-size: 14px;
  color: var(--dark-gray);
  font-family: inherit;
  font-weight: 330;
}

.community-subscribers-card__title {
  font-family: inherit;
  font-size: 18px;
  font-weight: 350;
}

.community-header-card__right {
  position: relative;
  margin-bottom: 20px;
}

.community-page--list {
  position: fixed;
  top: 80px;
  bottom: 20px;
  display: flex;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
  align-items: stretch;
}

.community-page__left {
  width: 600px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: calc(100vh - 80px - 20px);
}

.community-search-block {
  flex-shrink: 0;
}

.community-list-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--base-white);
  border-radius: 14px;
  padding: 10px;
  overflow: hidden;
}

.community-page__tabs {
  flex-shrink: 0;
  display: flex;
  gap: 16px;
  padding: 6px 12px;
}

.community-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.community-list::-webkit-scrollbar {
  display: none;
}

.community-search-input-wrapper {
  width: 100%;
  height: 48px;
  background: var(--base-white);

  border: 1px solid var(--light-border);
  border-radius: 12px;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 0 14px;
  box-sizing: border-box;
}

.community-search-icon {
  width: 20px;
  height: 20px;
  opacity: 0.6;
}

.community-search-input {
  flex: 1;
  height: 100%;

  border: none;
  background: none;

  font-size: 15px;
  outline: none;
}

.community-search-input::placeholder {
  color: #b4b4b4;
}

.community-tab {
  font-size: 18px;
  background: none;
  border: none;
  padding: 4px 10px;
  cursor: pointer;
  color: var(--text-black);
  font-weight: 400;
  font-family: 'Nunito Sans';
}

.community-tab--active {
  background: #f4ecff;
  border-radius: 8px;
  color: var(--text-black);
  font-weight: 400;
  font-family: 'Nunito Sans';
}

.community-empty {
  padding: 20px;
  text-align: center;
  color: var(--dark-gray);
}

.community-sidebar {
  width: 330px;
  background: var(--base-white);
  border-radius: 14px;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-self: flex-start;
  font-size: 16px;
}

.community-sidebar__create-btn {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--base-purple);
  background: var(--base-white);
  color: var(--base-purple);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
  height: 38px;
}

.community-sidebar__create-btn:hover {
  background: var(--accent-purple);
}

.community-sidebar__title {
  color: var(--text-black);
  margin-top: 4px;
}

.community-sidebar__created-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.community-created {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 2px 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.community-created__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.community-created__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-created__name {
  font-size: 14px;
  color: #161616;
  text-align: left;
}

.community-page__main-contet {
  display: flex;
  align-items: flex-start;
  height: calc(100vh - 80px - 16px);
}

@media (max-width: 768px) {
  .community-page {
    position: relative;
    top: 0 !important;
    bottom: 0 !important;
    flex-direction: column;
    padding: 0;
    gap: 12px;
  }

  .community-page__content,
  .community-page__down,
  .community-page__main-contet {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .community-page__down {
    flex-direction: column-reverse;
  }

  .community-header-card,
  .community-about-card,
  .community-page__feed,
  .community-page__sidebar,
  .community-page__left,
  .community-sidebar {
    width: 100%;
    max-width: 100%;
  }

  .community-subscribers-card {
    display: none;
  }

  .community-header-card__content {
    flex-direction: row;
    align-items: flex-end;
    margin-top: -40px;
    padding: 0 10px 16px 10px;
    gap: 12px;
  }

  .community-header-card__left {
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .community-header-card__avatar-wrapper {
    width: 90px;
    height: 90px;
  }

  .community-header-card__name {
    font-size: 18px;
  }

  .community-header-card__subscribers {
    font-size: 12px;
  }

  .community-subscribe-btn,
  .community-subscribe-btn--active {
    height: 26px;
    font-size: 13px;
    padding: 4px 6px;
    margin-top: 0;
    margin-left: 0;
  }

  .community-page__tabs {
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px 0;
  }

  .community-list {
    max-height: 400px;
  }

  .community-search-input-wrapper {
    height: 40px;
    padding: 0 10px;
  }

  .community-search-input {
    font-size: 14px;
  }

  .community-tab,
  .community-tab--active {
    font-size: 16px;
    padding: 4px 8px;
  }

  .community-sidebar__create-btn {
    height: 36px;
    padding: 6px 10px;
  }

  .community-about-card__title,
  .community-subscribers-card__title {
    font-size: 16px;
  }

  .community-header-card__info {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 30px;
  }
}

.community-subscriber-row {
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 2px 0;
}

.community-subscriber-row__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.community-subscriber-row__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-subscriber-row__name {
  font-size: 16px;
  font-family: 'Nunito Sans';
  font-weight: 350;
}

.edit-community-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito Sans', sans-serif;
}

.edit-community-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

.edit-community-modal__window {
    position: relative;
    z-index: 1;
    width: 420px;
    max-width: calc(100% - 32px);
    background: var(--base-white);
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0px;
    gap: 14px;
}

.edit-community-modal__header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.edit-community-modal__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--base-purple);
}

.edit-community-modal__close {
  position: absolute;
  right: 0px;
  top: 18px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.edit-community-modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 380px;
}

.edit-community-modal__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.edit-community-modal__label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.edit-community-modal__label,
.edit-community-modal__counter {
  font-size: 16px;
  color: var(--dark-gray);
}

.edit-community-modal__input {
  height: 35px;
  border-radius: 6px;
  border: 1px solid var(--light-border);
  background-color: var(--light-gray);
  padding: 4px 12px;
  font-size: 14px;
  outline: none;
}

.edit-community-modal__input:focus {
  border: 1px solid var(--base-purple);
}

.edit-community-modal__input::placeholder {
  color: var(--dark-gray);
  font-family: inherit;
}


.edit-community-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}

.edit-community-modal__btn {
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid transparent;
  background: transparent;
}

.edit-community-modal__btn--secondary {
  border-color: var(--base-purple);
  color: var(--base-purple);
  background: var(--base-white);
}

.edit-modal-container {
  width: 460px;
  height: fit-content;
  position: relative;
}

.edit-community-modal__devider {
  height: 1px;
  background-color: var(--light-border);
  width: 100%;
}

.community-avatar-upload {
    display: flex;
    justify-content: center;
}

.community-avatar-preview {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.community-avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-avatar-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .2s;
}

.community-avatar-preview:hover .community-avatar-overlay {
    opacity: 1;
}

.community-avatar-menu {
    position: absolute;
    z-index: 20;
    top: 125px;
    left: 48px;
}

.community-avatar-section {
    display: flex;
    flex-direction: row;
    gap: 22px;
    height: 80px;
}

@media (max-width: 768px) {
  .edit-community-modal {
    align-items: flex-end;
    justify-content: center;
    padding: 0;
  }

  .edit-community-modal__window {
    width: 100%;
    max-width: 100%;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
    transition: transform 0.35s ease;
  }

  .edit-community-modal.open .edit-community-modal__window {
    transform: translateY(0);
    transform: translateY(0);
    height: 500px;
    justify-content: flex-start;
  }

  .edit-community-modal__form {
    width: 90%;
  }

  .edit-community-modal__input,
  .edit-community-modal__textarea {
    width: 100%;
    height: 35px;
  }

  .edit-community-modal__close {
    display: none;
  }
}
@font-face {
  font-family: 'Nunito Sans';
  src: url('/public/fonts/NunitoSans-VariableFont_YTLC\,opsz\,wdth\,wght.woff2');
  font-weight: 100 900;
  font-style: normal;
}

body {
    margin: 0;
    font-family: "Nunito Sans";
    background-color: var(--base-background);
    overflow-x: hidden;
    display: flex;
}

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectable {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.main-container {
  display: flex;
  gap: 16px;
  padding: 0 5%;
  box-sizing: border-box;
  align-items: flex-start;
  margin: 0px calc(5%);
}

.feed-page{
    width: 100%;
    height: 100%;
    display: flex;
    gap: 16px;
    box-sizing: border-box;
    align-items: flex-start;
}

.header{
  height: 60px;
  width: 100%;
  color: var(--base-white);
}

.layout-wrapper {
  margin: 70px calc(10%);
  display: flex;
  gap: 16px;
}

@media (max-width: 768px) {
  .layout-wrapper {
    margin: 0;
    padding: 0;
    column-gap: 0;
    flex: 1 1 100%;
  }

  .feed-page {
    margin-top: 70px;
  }

  .page-content {
    flex: 1 1 100%;
  }
}

:root {
    --base-background: #EDEEF0;
    --base-white: #FFFFFF;
    --light-border: #E4E5E9;
    --text-black: #171717;
    --dark-gray: #99A2AD;
    --accent-purple: #FBF8FF;
    --base-purple: #6A42AB;
    --base-red: #FF0909;
    --base-gray: #EDEEF0;
    --light-gray: #F5F6F7;
    --base-green: #09C26F;
    --light-purple: #F6F0FF;
}
.post-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background-color: var(--base-white);
    border-radius: 18px;
    border: 1px solid var(--light-border);
    position: relative;
}

.post-file-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.post-content {
    padding: 13px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.post-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.community-info{
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

.community-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden; 
    flex-shrink: 0;  
    cursor: pointer; 
}

.community-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-name {
    font-family: 'Nunito Sans';
    font-weight: 500;
    font-size: 16px;
    color: var(--text-black);
    cursor: pointer;
}

.post-text-container{
    display: flex;
    flex-direction: column;
}

.post-text {
    font-family: 'Nunito Sans';
    font-weight: 400;
    font-size: 16px;
    color: var(--text-black);

    overflow: hidden;
    max-height: 2.5em;
    transition: max-height 0.3s ease;

    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}
.post-text.expanded {
    max-height: none;
}

.js-toggle-btn{
    background: none;
    border: none;
    display: flex;
    font-family: 'Nunito Sans';
    font-weight: 400;
    font-size: 16px;
    padding: 0px;
    color: var(--base-purple);
    cursor: pointer;
}

.js-toggle-btn:hover{
    text-decoration: underline;
}

.post-footer{
    display: flex;
    height: 35px;
    border-top: 1px solid var(--light-border);
    margin: 0px -22px;
    align-items: flex-end;
}

.post-actions-container{
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin: 0px 22px;
}

.post-details-actions-container {
    width: 24px;
    height: 24px;
}

.post-actions-menu {
    position: absolute;
    right: 0;
    top: 28px;
}

@media (max-width: 768px) {
    .post-container {
        width: 100% !important;
    }

    .post-content {
        margin: 0px;
        gap: 12px;
        padding: 12px;
    }

    .post-header {
        flex-direction: row;
        gap: 8px;
    }

    .community-info {
        gap: 8px;
    }

    .community-avatar {
        width: 32px;
        height: 32px;
    }

    .community-name {
        font-size: 14px;
    }

    .post-text {
        font-size: 14px;
    }

    .js-toggle-btn {
        font-size: 14px;
    }

    .post-footer {
        margin: 0 -12px;
    }

    .post-actions-container {
        gap: 8px;
        margin: 0 12px;
    }

    .post-details-actions-container {
        width: 20px;
        height: 20px;
    }

    .post-actions-menu {
        top: 24px;
    }

    .post-photo {
        width: 100%;
        height: auto;
    }

    .post-photo img,
    .photo-slider img {
        width: 100%;
        height: auto;
    }
}


.nav-button {
    pointer-events: auto;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    background: none;
    cursor: pointer;
    display: flex;
    opacity: 0;
    transition: opacity 0.2s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    align-items: center;
    justify-content: center;
}

.photo-buttons .nav-button .nav-arrow {
    width: 30px;
    height: 30px;
}

.nav-button:hover img {
    filter: brightness(0.9);
}

.post-photo:hover .nav-button {
  opacity: 1;
}

.nav-button.prev {
  left: 10px;
}

.nav-button.next {
  right: 10px;
}
.photo-buttons{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.post-photo {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 10px;
    overflow: hidden;
}

.post-video {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.post-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    display: block;
}

.photo-slider video {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    display: block;
}

.photo-slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

.photo-slider img,
.photo-slider video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.video-container {
    width: 100%;
    height: 100%;
}


@media (max-width: 768px) {
    .post-photo {
        width: 100%;
        max-width: 100%;
        height: 358px;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        background-color: #f0f0f0;
    }

    .post-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
    }

    .photo-slider {
        width: 100%;
        height: 100%;
        display: flex;
        transition: transform 0.5s ease-in-out;
        will-change: transform;
    }

    .photo-slider img {
        width: 100%;
        height: 100%;
        flex-shrink: 0;
        object-fit: cover;
    }
}


.icon-button{
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-black);
}

.icon-button .icon {
    width: 24px;
    height: 24px;
}

.icon-button-counter{
    font-family: 'Nunito Sans';
    color: var(--dark-gray);
    font-size: 16px;
    font-weight: 400;
}

.icon-button .icon:hover{
    filter: brightness(0.9);
}

.icon-button .icon,
.icon-button-counter {
    transition:
        transform 0.18s ease-out,
        color 0.18s ease-out,
        filter 0.18s ease-out;
}

.icon-button--liked .icon {
    filter: drop-shadow(0 0 4px rgba(255, 105, 180, 0.4));
}

.icon-button--liked .icon-button-counter {
    color: var(--accent-color, #ff4b81);
    font-weight: 500;
}
.icon-button .icon,
.icon-button-counter {
    transition: transform 0.15s ease-out, color 0.15s ease-out;
}

@keyframes like-bump {
    0% {
        transform: translateY(0) scale(1);
    }
    35% {
        transform: translateY(-4px) scale(1.1);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

.icon-button--bump .icon {
    animation: like-bump 0.22s ease-out;
}

@keyframes counter-spin-up {
    0% {
        transform: translateY(6px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes counter-spin-down {
    0% {
        transform: translateY(-6px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.icon-button-counter--spin-up {
    animation: counter-spin-up 0.18s ease-out;
}

.icon-button-counter--spin-down {
    animation: counter-spin-down 0.18s ease-out;
}
.menu-item{
    display: flex;
    border-radius: 8px;
    background-color: none;
    gap: 6px;
    padding: 6px 8px;
    cursor: pointer;
    align-items: center;
}

.menu-item:hover{
    background-color: var(--light-border);
}

.menu-item-icon{
    width: 24px;
    height: 24px;
}

.menu-item-label{
    font-family: 'Nunito Sans';
    font-weight: 450;
    font-size: 16px;
    color: var(--text-black);
}

.menu-item.active{
    background-color: var(--accent-purple);
}

.menu-item.active .menu-item-label{
    color: var(--base-purple);
}

@media (max-width: 768px) {
        .menu-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 4px 0;
        font-size: 12px;
        cursor: pointer;
    }

    .menu-item-icon {
        width: 28px;
        height: 28px;
    }

    .menu-item-label {
        font-size: 10px;
        text-align: center;
    }
}
.sidebar-container{
    width: 190px;
}

.sidebar-menu {
    width: 190px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.menu-items-container{
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 190px;
    position: fixed;
}

.menu-hidden {
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s ease;
}

@media (max-width: 768px) {
    .sidebar-container {
        width: 100%;
        height: 70px;
        position: fixed;
        bottom: 0;
        left: 0;
        display: flex;
        flex-direction: row;
        justify-content: space-around; 
        align-items: center;
        padding: 0;
        z-index: 1000;
    }

    .sidebar-menu{
        flex-direction: row;
        width: 100%;
        gap: 0;
        justify-content: space-around;
    }

    .menu-items-container {
        flex-direction: row;
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        justify-content: space-around;
        padding: 4px 0;
        background-color: var(--base-white);
        border-top: 1px solid var(--light-border);
    }

    .menu-item[data-view="/help"] {
        display: none;
    }
}

.feed-container{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feed-posts-container{
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feed-post-button{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 600px;
    height: 55px;
    background-color: var(--base-white);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    gap: 6px;
}

.button-content{
    font-family: 'Nunito Sans';
    font-size: 18px;
    font-weight: 600;
    color: var(--base-purple);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.button-content img{
    width: 24px;
    height: 24px;
}

.end-feed-header {
    margin-bottom: 85px;
    width: 100%;
    margin-top: 5px;
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: 16px;
    font-family: 'Nunito Sans';
    color: var(--dark-gray);
}

@media (max-width: 768px) {
    .feed-container {
        padding: 0px;
        gap: 8px;
        display: flex;
        flex: 1 1 100%;
    }

    .feed-posts-container {
        width: 100%;
        gap: 8px;
        display: flex;
        flex: 1 1 100%;
    }

    .feed-post-button {
        width: 100%;
        max-width: 100%;
        height: 50px;
        border-radius: 10px;
        gap: 6px;
    }

    .button-content {
        font-size: 16px;
        gap: 12px;
    }

    .button-content img {
        width: 20px;
        height: 20px;
    }
}

.settings-container{
    width: 250px;
}

.settings-menu{
    width: 250px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.settings-menu-container{
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 250px;
    position: fixed;
    color: var(--base-white);
    padding: 6px;
    border-radius: 10px;
}
.form-button--base{
    width: 322px;
    height: 40px;
    padding: 0px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--base-purple);
    background: var(--base-white);
    border-radius: 8px;
    cursor: pointer;
}

.form-button--base:hover {
    background-color: var(--accent-purple);
}

.button-text--base{
    font-family: 'Nunito Sans';
    font-size: 16px;
    color: var(--base-purple);
}

.form-button--accent{
    width: 322px;
    height: 40px;
    padding: 0px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    background: var(--base-purple);
    border-radius: 8px;
    cursor: pointer;
}

.form-button--accent:hover{
    filter: brightness(95%);
}

.button-text--accent{
    font-family: 'Nunito Sans';
    font-size: 16px;
    color: var(--base-white);
}
.login-form{
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 322px;
}

.input-container{
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 322px;
}

.button-container{
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.profile-actions{
    display: flex;
    width: 322px;
    align-items: center;
    justify-content: space-between;
}

.foget-password{
    display: flex;
    align-items: center;
    font-family: "Nunito Sans";
    font-size: 14px;
    color: var(--base-purple);
    cursor: pointer;
    font-weight: 400;
    text-decoration: none;
}

.foget-password:hover{
    text-decoration: underline;
}

.remember-me{
    font-family: "Nunito Sans";
    font-size: 14px;
    color: var(--base-purple);
    display: flex;
    width: 140px;
    gap: 8px;
    align-items: center;
}

.remember-me input[type="checkbox"] {
  display: none;
}

.custom-checkbox {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 1.3px solid var(--base-purple);
    border-radius: 16px;
    transition: all 0.2s;
    cursor: pointer;
    position: relative;
}

.remember-me input[type="checkbox"]:checked + .custom-checkbox::after {
    transform: translate(-50%, -50%) scale(1);
}

.custom-checkbox::after {
    content: "";
    width: 12px;
    height: 12px;
    background-color: var(--base-purple);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.2s ease-in-out;
}
@font-face {
  font-family: 'Nunito Sans';
  src: url('/public/fonts/NunitoSans-VariableFont_YTLC\,opsz\,wdth\,wght.woff2');
  font-weight: 100 900;
  font-style: normal;
}

body {
    margin: 0;
    font-family: "Nunito Sans";
    background-color: var(--base-background);
    overflow-x: hidden;
    display: flex;
}

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.selectable {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.main-container {
  display: flex;
  gap: 16px;
  padding: 0 5%;
  box-sizing: border-box;
  align-items: flex-start;
  margin: 0px calc(5%);
}

.feed-page{
    width: 100%;
    height: 100%;
    display: flex;
    gap: 16px;
    box-sizing: border-box;
    align-items: flex-start;
}

.header{
  height: 60px;
  width: 100%;
  color: var(--base-white);
}

.layout-wrapper {
  margin: 70px calc(10%);
  display: flex;
  gap: 16px;
}

@media (max-width: 768px) {
  .layout-wrapper {
    margin: 0;
    padding: 0;
    column-gap: 0;
    flex: 1 1 100%;
  }

  .feed-page {
    margin-top: 70px;
  }

  .page-content {
    flex: 1 1 100%;
  }
}

.login-page {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-image: url('/public/globalImages/backgroud.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}


#login-form-container {
    background-color: var(--base-white);
    padding: 40px;
    border-radius: 18px;
    display: flex;
}

.login-form-info{
    width: 322px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-logo{
    width: 204px;
    height: 34px;
}

.form-text{
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.info-text-big{
    font-family: "Nunito Sans";
    font-size: 28px;
    color: var(--text-black);
}

.info-text-small{
    font-family: "Nunito Sans";
    font-size: 19px;
    color: var(--dark-gray);
}


@media (max-width: 738px) {
    .form-logo {
        display: none;
    }

    .login-page {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        min-height: 100vh;
        background: white;
        overflow-x: hidden;
        justify-content: flex-start;
    }

    #login-form-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 16px;
        border-radius: 0;
        height: auto;
    }

    .login-form-info {
        width: 100%;
        text-align: center;
        margin-bottom: 16px;
    }
}

.reg-page {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-image: url('/public/globalImages/backgroud.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}


#reg-form-container {
    max-width: 750px;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    align-items: center;
    background-color: var(--base-white);
    border-radius: 18px;
}

.reg-form-info{
    width: 322px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 738px) {
    .reg-page {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
        min-height: 100vh;
        background: white;
        overflow-x: hidden;
        justify-content: flex-start;
    }

    #reg-form-container {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 16px;
        border-radius: 0;
        height: auto;
    }

    .reg-form-info {
        width: 100%;
        text-align: center;
        margin-bottom: 16px;
    }

}
.gender-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.small-lable{
    font-size: 14px;
    color: var(--dark-gray);
}

.reg-bth-container{
    display: flex;
    gap: 6px;
}

.reg-bth-day{
    width: 80px;
}

.reg-bth-month
.reg-bth-year {
    width: 126px;
}

.reg-bth-day .select,
.reg-bth-month .select,
.reg-bth-year .select {
   gap: 0px !important;
}
.navbar{
    width: 100%;
    height: 60px;
    background-color: var(--base-white);
    position: fixed;
    z-index: 1000;
    padding: 0 10%;
    display: flex;
    gap: 16px;
}

.navbar-logo{
    width: 128px;
    height: 34px;
    object-fit: contain;
}

.navbar-input{
    width: 602px;
    height: 34px;
    background: var(--light-border);
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
}

.navbar-input-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.navbar-input {
    width: 100%;
    height: 34px;
    padding-left: 36px;
    background: var(--light-border);
    border-radius: 8px;
    font-size: 16px;
    border: 1px solid transparent;
    transition: border 0.2s;
}

.navbar-input:focus{
    border: 1px solid var(--base-purple);
    outline: none;
}

.navbar-input-icon {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.navbar-left{
    display: flex;
    align-items: center;
    height: 100%;
    width: 190px;
}

.navbar-center{
    display: flex;
    align-items: center;
    height: 100%;
    width: 602px;
}

.navbar-right{
    display: flex;
    align-items: center;
    height: 100%;
    width: 190px;
    justify-content: flex-end;
}


.navbar-profile-photo{
    height: 45px;
    width: 45px;
    border: none;
    border-radius: 40px;
}

.dropdown-button{
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown-button-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s 
    cubic-bezier(0.72, 0.34, 0.37, 0.93);
}

.dropdown-button-icon--open {
    transform: rotate(-180deg);
}

.navbar-dropdown {
    position: relative;
}

.navbar-profile-actions {
    position: absolute;
    top: 100%;
    z-index: 3000;
    right: 0;
}

@media (max-width: 768px) {
    .navbar-left,
    .navbar-logo {
        display: none;
    }

    .navbar-profile-photo {
        width: 40px;
        height: 40px;
    }

    .navbar {
        padding: 0 8px;
    }
}

@media (max-width: 1400px) and (min-width: 769px) {
    .navbar {
        padding: 0 5%; /* уменьшаем отступы */
        gap: 12px;
    }

    .navbar-left {
        width: 150px; /* уменьшаем блок с логотипом */
    }

    .navbar-logo {
        width: 100px;
        height: 28px;
    }

    .navbar-center {
        width: 400px; /* уменьшаем ширину поиска */
    }

    .navbar-input {
        font-size: 14px;
        height: 30px;
        padding-left: 32px;
    }

    .navbar-right {
        width: 150px;
    }

    .navbar-profile-photo {
        width: 40px;
        height: 40px;
    }
}

.profile-page{
    width: 100%;
    height: 100%;
    display: flex;
    gap: 16px;
    box-sizing: border-box;
    align-items: flex-start;
}

.profile-info {
    width: 880px;
    background: var(--base-white);
    border-radius: 20px;
    padding: 10px;
    overflow: hidden;
    transition: max-height 0.7s linear;
    max-height: 260px;
}

.profile-info.expanded {
    max-height: 600px;

}

.profile-content{
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.header-image{
    width: 100%;
    height: 180px;
    border-radius: 14px;
    object-fit: cover;
}

.profile-header{
    position: relative;
}


.profile-avatar{
    width: 130px;
    height: 130px;
    object-fit: cover;
    border: 4px solid var(--base-white);
    border-radius: 50%;
    margin-top: -80px;
    margin-left: 30px;
    background: var(--base-white);
}

.profile-header-content{
    display: flex;
    gap: 14px
}


.user-info-container{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-name{
    font-size: 20px;
    color: var(--text-black);
}

.user-info{
    font-size: 14px;
    color: var(--dark-gray);
    font-family: inherit;
    font-weight: 400;
}

.profile-extra {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 16px;
    padding: 20px;
    padding-top: 30px;
}

.profile-info.is-open {
    display: block;
}

.base-text {
    color: var(--text-black) !important;
    all: unset;
    display: flex;
    gap: 4px;
}

.text-accent{
    color: var(--base-purple);
}

.about-text{
    font-size: 16px;
    color: var(--dark-gray);
}

.about-user{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.user-counts-info{
    display: flex;
    gap: 45px;
}

.user-counts-info a{
    all: unset;
    cursor: pointer;
    color: var(--base-purple);
    display: flex;
    gap: 4px;
}

.profile-toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--blue);
    font-size: 14px;
    font-family: inherit;
    padding: 0;
}

.edit-open,
.add-friend-btn,
.message-btn {
    width: fit-content;
    height: fit-content;
    padding: 4px 8px;
    background-color: var(--light-gray);
    border: none;
    font-size: 14px;
    border-radius: 6px;
    color: var(--base-purple);
    margin-left: auto;
    margin-top: 5px;
    cursor: pointer;
}

.edit-open:hover,
.add-friend-btn:hover,
.message-btn:hover { 
    background-color: var(--base-gray);
}

.profile-down-container{
    display: flex;
    gap: 16px;
}

.request-text {
    width: fit-content;
    height: fit-content;
    padding: 4px 8px;
    border: none;
    font-size: 14px;
    color: var(--base-purple);
    margin-left: auto;
    margin-top: 5px;
    background: none;
}

.unblock-user-btn {
        width: fit-content;
    height: fit-content;
    padding: 4px 8px;
    background-color: var(--light-gray);
    border: none;
    font-size: 14px;
    border-radius: 6px;
    color: var(--base-red);
    margin-left: auto;
    margin-top: 5px;
    cursor: pointer;
}

.unblock-user-btn:hover {
    background-color: var(--base-gray);
}

.profile-feed-container {
    width: 602px;
}

@media (max-width: 768px) {

    .profile-page {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .profile-info {
        width: 100%;
        max-height: 310px;
        padding: 10px;
        border-radius: 16px;
    }

    .profile-info.expanded {
        max-height: 500px;
    }

    .header-image {
        height: 150px;
        border-radius: 12px;
    }

    .profile-avatar {
        width: 100px;
        height: 100px;
        margin-top: -65px;
        margin-left: 0;
    }

    .profile-header-content {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: center;
    }

    .user-name {
        font-size: 18px;
    }

    .user-info {
        font-size: 12px;
        width: fit-content;
        gap: 4px;
    }

    .user-info-container {
        width: fit-content;
        margin: 0;
        align-items: center;
    }

    .profile-extra {
        padding: 10px;
        padding-top: 20px;
        font-size: 14px;
        gap: 10px;
    }

    .about-text {
        font-size: 14px;
    }

    .user-counts-info {
        gap: 20px;
        flex-wrap: wrap;
        font-size: 14px;
    }

    .edit-open,
    .add-friend-btn,
    .message-btn,
    .unblock-user-btn,
    .request-text {
        font-size: 14px;
        padding: 3px 6px;
        margin-top: 2px;
        margin-right: auto;
        height: 32px;
        width: 100%;
        align-items: center;
        display: flex;
        justify-content: center;
    }

    .profile-down-container {
        flex-direction: column;
        gap: 12px;
    }

    .profile-feed-container {
        width: 100%;
    }

    .profile-content {
        gap: 8px;
    }
}

.edit-profile-modal{
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(23, 23, 23, 0.35);
    backdrop-filter:brightness(0.9); 
    -webkit-backdrop-filter: brightness(0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-container{
    width: fit-content;
    height: 480px;
    background-color: var(--base-white);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    position: relative;
}

.edit-close{
    position: absolute;
    top: 16px;
    right: 16px; 
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.user-name{
    display: flex;
    gap: 16px;
}

.bth-day{
    width: 56px;
}

.bth-month,
.bth-year{
    width: 86px;
}

.bth-container{
    display: flex;
    gap: 6px;
}

.details-info{
    display: flex;
    gap: 16px;
}

.gender-container{
    width: 240px;
}

.bth-header{
    font-family: inherit;
    font-size: 16px;
    color: var(--dark-gray);
}

.about-user{
    width: 100%;
}

.avatar-upload {
  position: relative;
  display: inline-block;
  width: 80px;
  height: 80px;
}

.avatar-upload__input {
  display: none;
}

.avatar-upload__preview {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
}

.avatar-upload__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-upload__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s;
}

.avatar-upload__preview:hover .avatar-upload__overlay {
  opacity: 1;
}

.avatar-upload__icon {
  width: 32px;
  height: 32px;
  z-index: 2;
}

.user-name{
    font-family: inherit;
    font-size: 20px;
    font-weight: 400;
}

.edit-header{
    display: flex;
    align-items: center;
    font-family: inherit;
    font-size: 20px;
    gap: 22px;
}

.edit-avatar-menu{
    position: absolute;
    margin-top: -21px;
    margin-left: 25px;
    z-index: 3;
}

.form-actions-container{
    display: flex;
    position: absolute;
    bottom: 0;
    margin: 16px;
    right: 0;
    gap: 16px;
}

.modal-container {
    transform: translateY(0);
    transition: transform 0.35s ease;
}

@media (max-width: 768px) {
    .modal-container {
        transform: translateY(100%);
    }

    .modal-container.open {
        transform: translateY(0);
        height: 620px;
    }

    .edit-profile-modal {
        align-items: flex-end;
        justify-content: center;
        padding: 0;
    }

    .modal-container {
        width: 100%;
        max-width: 100%;
        border-radius: 16px 16px 0 0;
        height: 500px;
        padding: 16px;
        transform: translateY(100%);
        transition: transform 0.35s ease;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .edit-profile-modal.open .modal-container {
        transform: translateY(0);
    }

    .edit-close {
        display: none;
    }

    .avatar-upload,
    .user-name,
    .details-info,
    .bth-container,
    .about-user,
    .gender-container,
    .form-actions-container {
        width: 100%;
    }

    .avatar-upload {
        width: 72px;
        height: 72px;
    }

    .user-name {
        font-size: 18px;
    }

    .bth-day {
        width: 50px;
    }

    .bth-month,
    .bth-year {
        width: 70px;
    }

    .gender-container {
        width: 100%;
    }

    .form-actions-container {
        justify-content: flex-end;
    }

    div[data="info-user-name"] {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
}

.baseinput{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.baseinput-field{
    min-height: 35px;
    min-width: 240px;
    background-color: var(--light-gray);
    border: 1px solid var(--light-border);
    border-radius: 6px;
    padding-left: 16px;

    font-size: 16px;
    font-weight: 400;
    color: var(--text-black);
    transition: border-color 0.2s;
    box-sizing: border-box;
    font-family: inherit;
}

.baseinput-field.big{
    width: 100%;
    height: 65px;
    padding: 12px 8px;
    resize: none;
    background-color: var(--base-white);
}

.baseinput-field::placeholder{
    font-family: inherit;
    font-size: 15px;
    color: var(--dark-gray);
    opacity: 1;
}

.baseinput-field:focus{
    border: 1px solid var(--base-purple);
    outline: none;
}

.baseinput-header{
    font-size: 16px;
    color: var(--dark-gray);
}
.select {
  position: relative;
  width: 100%;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.select-control {
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    border: 1px solid var(--light-border);
    border-radius: 6px;
    background: var(--light-gray);
    cursor: pointer;
    padding: 4px 7px;
    box-sizing: border-box;
    padding-right: 2px;
    justify-content: space-between;
    transition: transform 0.5s ease;
}

@keyframes select-press {
    0%   { transform: scale(1); }
    50%  { transform: scale(0.97); }
    100% { transform: scale(1); }
}

.select-control.pressed {
    animation: select-press 300ms ease;
}


.select-input {
  border: none;
  background: var(--light-gray);
  width: 100%;
  outline: none;
  cursor: pointer;
  font-family: inherit;
}

.select-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;

    background: var(--base-white);
    border: 1px solid var(--light-border);
    border-radius: 6px;

    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 120px;
    overflow-y: auto;

    display: none;
    flex-direction: column;

    z-index: 10;
}

.select-list::-webkit-scrollbar{
    width: 2.5px;
}

.select-list::-webkit-scrollbar-thumb {
    background-color: var(--dark-gray);
    border-radius: 4px;
}

.select-list::-webkit-scrollbar-track {
    background: none; 
}

.select-list.active {
  display: flex;
}

.select-option {
    padding: 6px 2px 6px 6px;
    cursor: pointer;
    border: 5px solid var(--base-white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
}

.select-option:hover {
  background: var(--base-gray);
}

.select-option.active{
    background-color: var(--light-gray);
}

.select-arrow {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.2s 
    cubic-bezier(0.72, 0.34, 0.37, 0.93);
}

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

.active-icon{
    width: 16px;
    height: 16px;
}

.select-header{
    font-family: inherit;
    font-size: 16px;
    color: var(--dark-gray);
}


.dropdown-menu {
    position: relative;
    background: var(--base-white);
    border: 1px solid var(--base-white);
    border-radius: 8px;
    display: none;
    flex-direction: column;
    min-width: 160px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    padding: 8px;
}

.dropdown-menu--open {
    display: flex;
}

.dropdown-item{
    padding: 6px 6px;
    background-color: none;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.dropdown-item:hover{
    background-color: var(--base-gray);
}

.dropdown__icon{
    height: 20px;
    width: 20px;
}

.base-button {
    font-size: 16px;
    font-family: inherit;
    font-weight: 300;
    padding: 4px 10px;
    border-radius: 8px;
    cursor: pointer;
}

.base-button.big {
    width: 100%;
    height: 36px;
    font-size: 14px;
    font-weight: 500;
}

.base-button.primary {
    border: none;
    background: var(--base-purple);
    color: var(--base-white);
}

.base-button.default {
    border: 1px solid var(--base-purple);
    background: var(--base-white);
    color: var(--base-purple);
    font-weight: 400;
}


.base-button.normal {
    width: fit-content;
    height: fit-content;
    padding: 4px 8px;
    background-color: var(--light-gray);
    border: none;
    font-size: 14px;
    border-radius: 6px;
    color: var(--base-purple);
    font-weight: 400;
}

.base-button.normal.red {
    color: var(--base-red);
}

.base-button.normal:hover{
    background-color: var(--base-gray);
}

.base-button.normal.red:hover{
    background-color: var(--base-gray);
}



.communities-list{
    display: flex;
    flex-direction: column;
    background-color: var(--base-white);
    border-radius: 14px;
    width: 258px;
    padding: 10px 12px;
    gap: 10px;
}


.communities-list-header{
    font-family: inherit;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.communities-list-count{
    font-family: inherit;
    font-size: 16px;
    color: var(--dark-gray);
}

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

.communities-list__item{
    display: flex;
    gap: 8px;
    padding: 4px 0px;
    align-items: center;
}

.communities-list__avatar{
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.communities-list__name{
    font-family: inherit;
    font-size: 16px;
    color: var(--base-black);
}

.communities-list__name__nosubs {
    font-family: inherit;
    font-size: 16px;
    color: var(--dark-gray);
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    display: flex;
}

@media (max-width: 768px) {
    .communities-list {
        display: none;
    }
}

.new-post-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(23, 23, 23, 0.35);
    backdrop-filter: brightness(0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.new-post-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.new-post-container{
    width: 550px;
    height: fit-content;
    background-color: var(--base-white);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    position: relative;

    transform: translateY(0);
    transition: transform 0.35s ease;
}

.input-image__block{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.new-post__header{
    color: var(--base-purple);
    font-family: inherit;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-post-input{
    width: 100%;
    height: 80px;
}


.divider{
    width: 100%;
    height: 1px;
    background-color: var(--light-border);
}

.post-text__input{
    width: 100%;
    height: 80px;
    border: none;
    outline: none;
    resize: none;
    font-family: inherit;
    font-size: inherit;
    background: transparent;
    padding: 0;
}

.post-text__input::-webkit-scrollbar {
    display: none;
}

.new-post-actions__container{
    display: flex;
    gap: 20px;
    margin-left: auto;
}

.post-text-block{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

@media (max-width: 768px) {
    .new-post-modal {
        align-items: flex-end;
        justify-content: center;
    }

    .new-post-container {
        width: 100%;
        border-radius: 16px 16px 0 0;
        transform: translateY(100%);
    }

    .new-post-modal.open .new-post-container {
        transform: translateY(0);
    }

    .input-image__container {
        height: 400px !important;
    }

    .remove-button {
        width: 34px !important;
    }

    .input-image__custom {
        height: 400px;
    }
}
.input-image-wrapper{
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-image__container {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    border-radius: 10px;
}

.border-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.input-image__container:hover{
    background-color: var(--light-gray);
}

.input-image__container.hidden{
    border: 1px solid var(--light-border);
}

.input-image__container.drag-over {
    background-color: var(--accent-purple);
}

.input-image__input{
    display: none;
}

.input-image__custom{
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    justify-content: center;

}

.input-image__icon{
    width: 100px;
    height: 100px;
}

.input-image__text{
    font-family: inherit;
    font-size: 20px;
    color: var(--dark-gray);
}

.input-image__button{
    display: flex;
    align-items: center;
    padding: 4px 14px;
    border-radius: 6px;
    background-color: var(--base-white);
    color: var(--base-purple);
    font-family: inherit;
    font-size: 16px;
}

.add-new-image__button{
    display: flex;
    background-color: var(--light-gray);
    border: none;
    font-size: 16px;
    font-family: inherit;
    padding: 2px 6px;
    color: var(--base-purple);
    width: fit-content;
    align-items: center;
    border-radius: 6px;
    margin-left: auto;
    cursor: pointer;
}

.add-new-image__button:hover{
    background-color: var(--base-gray);
}

.add-image-icon{
    width: 24px;
    height: 24px;
}

.image-input-wrapper{
    display: flex;
    flex-direction: column;
    gap: 10px;
}



.input-image__preview {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--base-white);
}

.input-image__preview.active {
    display: block;
}

.input-image__original.active {
    display: none;
}

.input-image__preview:hover .nav-button {
  opacity: 1;
}

.slide-image{
    width: 550px;
    height: 480px;
    object-fit: cover;
    flex-shrink: 0;
}

.slider-track{
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}


.remove-button-container{
    position: absolute;
    margin: 12px;
    right: 0;
    z-index: 3000;
}

.slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    flex: 0 0 100%;
}

.slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(30px);
    transform: scale(1.1);
    opacity: 0.8;
    z-index: 1;
}

.slide-fg {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.slide-video-wrapper {
    position: absolute;
    height: 100%;
}
.remove-button{
    display: flex;
    align-items: center;
    padding: 6px 6px;
    background-color: var(--base-white);
    border-radius: 10px;
    gap: 6px;
    width: 20px;
    overflow: hidden;
    transition: all 0.4s ease 0.1s;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    width: 34px;
}

.remove-button:hover {
    width: 104px;
}

.remove-button-text{
    font-size: 16px;
    font-family: inherit;
    color: var(--base-red);
    opacity: 0;
    transition: opacity ease 0.3s;
    white-space: nowrap;
}

.remove-button:hover .remove-button-text {
    opacity: 1;
}

.remove-button-icon{
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.remove-button:hover .remove-button-text {
    opacity: 1;
    width: fit-content;
}
.messenger-page {
    position: fixed;
    top: 80px;
    bottom: 20px;
    display: flex;
    box-sizing: border-box;
    align-items: flex-start;
    gap: 16px;
}


.chats-container {
    display: flex;
    flex-direction: column;
    gap: 0px;
    width: 330px;
    height: 100%;

    background-color: var(--base-white);
    border-radius: 14px;
    padding: 12px;
    box-sizing: border-box;
}

.chat-block{
    width: 570px;
    height: 100%;
    background-color: var(--base-white);
    border-radius: 14px;
}


.chats-sreach-container{
    padding-bottom: 12px;
}

.chat-items-block {
    display: flex;
    flex-direction: column;
    position: relative;
}

.no-chat-placeholder {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.no-chat-logo {
    width: fit-content;
    height: fit-content;
}

.no-chat-placeholder-text {
    font-family: inherit;
    font-size: 20px;
    color: var(--dark-gray);
}

@media (max-width: 768px) {
  .messenger-page {
    display: block;
    position: relative;
    top: 0;
    bottom: 0;
    height: 100vh;
    margin: 0;
    overflow: hidden;
  }

  .chats-container,
  .chat-block {
    width: 100%;
    height: 100%;
    border-radius: 0;
    margin: 0;
  }

  .messenger-page {
    display: block;
    position: relative;
    top: 0;
    bottom: 0;
    height: 100vh;
  }

  .chats-container {
    width: 100%;
    height: 100%;
    border-radius: 0;
    transition: transform 0.35s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: var(--base-white);
  }

  .chats-container.hide {
    transform: translateX(-100%);
  }

  .chat-block {
    width: 100%;
    height: 100%;
    border-radius: 0;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--base-white);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 2;
  }

  .chat-block.open {
    transform: translateX(0);
  }

  .back-btn {
    display: block;
    padding: 10px 16px;
    margin-bottom: 12px;
    border: none;
    background-color: var(--base-purple);
    color: #fff;
    border-radius: 8px;
    cursor: pointer;
  }
}


.user-photo-item {
    position: relative;
    width: 40px;
    height: 40px;
    overflow: hidden;
}

.user-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.online-flag {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 8px;
    height: 8px;
    background-color: var(--base-green);
    border: 2px solid var(--base-white);
    border-radius: 50%;
    display: none;
}

.user-photo-item.online .online-flag {
    display: block;
}

.chat-item{
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    gap: 8px;
    cursor: pointer;
}

.chat-item:hover{
    background-color: var(--light-gray);
}

.chat-item.active{
    background-color: var(--light-purple);
}


.last-messege {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 210px;
    font-family: 'Nunito Sans';
    font-size: 14px;
    color: var(--dark-gray);
}

.user-name{
    font-family: 'Nunito Sans';
    font-size: 16px;
    color: var(--base-black);
    font-weight: 400;
}

.new-mess-counter{
    width: 14px;
    height: 14px;
    color: var(--base-white);
    border-radius: 50%;
    background-color: var(--base-purple);
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: 12px;
    transform: scale(1);
    opacity: 1;
    transition: transform 0.25s ease-out, opacity 0.25s ease-out;
    justify-self: flex-end;
    align-self: center;
    margin-left: auto;
    
}

.new-mess-counter.hide{
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.chats-info-block{
    display: flex;
    gap: 10px;
}

.chat-item {
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.chat-item-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.chat-header{
    display: flex;
    padding: 12px;
    gap: 10px;
    border-bottom: 1px solid var(--light-border);
    align-items: center;
}

.chat-name{
    font-family: 'Nunito Sans';
    font-size: 16px;
    color: var(--text-black);
}

.user-status{
    font-family: 'Nunito Sans';
    font-size: 14px;
    color: var(--dark-gray);
}

.chat-back-btn {
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: none;
}

@media (max-width: 768px) {
    .chat-back-btn {
        display: flex;
    }
}

.message-container{
    width: 100%;
    display: flex;
    padding-top: 4px;
}

.message {
    max-width: 45%;
    display: flex;
    padding: 6px 8px;
    align-items: flex-end;
    gap: 4px;
    border-radius: 10px;
    background-color: var(--light-gray);
    opacity: 0;
    animation: messageLeft 0.25s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    will-change: transform, opacity;
    flex-wrap: wrap; 
}

.message.my-message {
    background-color: var(--light-purple);
    margin-left: auto;
    opacity: 0;
    animation: messageRight 0.25s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.message.emoji {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: no-repeat;
}

.message.emoji .message-text {
    font-size: 80px;
    padding: 0;
    height: 94px;
    margin-right: 8px;
}

.message.emoji .messege-info-container {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    background: rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(6px);
    padding: 1px 4px;
    border-radius: 10px;
}


.messege-info-container {
    display: flex;
}

@keyframes messageLeft {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes messageRight {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.last-in-group .message {
    border-bottom-right-radius: 0px;
}

.last-not-mine .message {
    border-bottom-left-radius: 0px;
}

.no-anim .message {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

.message-text {
    color: var(--text-black);
    font-family: 'Nunito Sans';
    font-size: 15px;

    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

.messege-time {
    font-family: inherit;
    font-size: 10px;
}

.is-read-icon {
    width: 16px;
    height: 16px;
}


.message-attachments {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.message-attachments-images {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.message-attachment-img {
  max-width: 240px;
  max-height: 240px;
  border-radius: 10px;
  object-fit: cover;
}

.message-attachments-files {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.chat-container{
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}


.chat-messeges {
    display: flex;
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
    height: 100%;
    flex-direction: column;
    justify-content: flex-end; 
}


.chat-messeges::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.chat-messeges {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.messege-input{
    height: fit-content;
    padding: 0px 12px 12px 12px;
}


.scroll-to-bottom-btn {
    position: absolute;
    align-self: flex-end;
    background: none;
    border: none;
    bottom: 80px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
    z-index: 999;
}

.scroll-to-bottom-btn.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.scroll-bottom-icon{
    width: 30px;
    height: 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border-radius: 50%;
}
.message-input-container { 
    position: relative;
    display: flex;
    align-items: flex-end;
}

.input-message {
    width: 100%;
    min-height: 36px;
    height: 37px;
    max-height: 120px;
    padding: 8px 40px 8px 44px;
    border: none;
    background-color: var(--light-gray);
    border-radius: 10px;
    box-sizing: border-box;
    border: 1px solid transparent;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    resize: none;
    overflow-y: auto;
    line-height: 1.4;
    font-size: 15px;
    font-family: 'Nunito Sans';
    color: var(--text-black);
    vertical-align: middle;
    align-items: flex-end;
}

.input-message:focus{
    outline: none;
}


.input-message::placeholder {
    font-family: 'Nunito Sans';
    font-size: 15px;
    color: var(--dark-gray);
    line-height: 1.4;
}

.input-message::-webkit-scrollbar {
    display: none;
}

.message-send-btn{
    position: absolute;
    right: 10px;
    bottom: 18px;
    transform: translateY(50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-send-btn img {
  width: 24px;
  height: 24px;
}

.message-send-btn img:hover{
    filter: brightness(0.9);
}

.message-attach-btn {
  position: absolute;
  left: 10px;
  bottom: 18px;
  transform: translateY(50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-attach-btn img {
  width: 24px;
  height: 24px;
}

.message-file-input {
  display: none;
}
.search-input-icon{
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.search-input-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-input {
    width: 100%;
    height: 34px;
    padding-left: 36px;
    background: var(--base-gray);
    border-radius: 8px;
    font-size: 16px;
    border: 1px solid transparent;
    transition: border 0.2s;
}

.search-input:focus{
    border: 1px solid var(--base-purple);
    outline: none;
}
.modal-confirm-overflow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 23, 23, 0.35);
    backdrop-filter: brightness(0.9);
    -webkit-backdrop-filter: brightness(0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
}

.modal-confirm-overflow.visible {
    opacity: 1;
    pointer-events: auto;
}

.modal-confirm {
    width: fit-content;
    height: fit-content;
    background-color: var(--base-white);
    transform: translateY(-10px);
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0;
    align-self: flex-start;
    margin-top: 20px;
    justify-self: center;
    position: relative;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 310px;
}

.modal-confirm-overflow.visible .modal-confirm {
    transform: translateY(0);
    opacity: 1;
}

.close-modal-confirm-icon{
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.modal-confirm-text-main{
    font-family: inherit;
    font-size: 16px;
    color: var(--text-black);
    font-weight: 500;
}

.modal-confirm-text{
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
    justify-content: center;
    height: fit-content;
}

.modal-confirm-text-small{
    font-family: inherit;
    font-size: 14px;
    color: var(--dark-gray);
}

.modal-confirm-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-direction: column;
}

.modal-confirm-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
}
.notification-container {
    position: fixed;
    bottom: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
}

.notification {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 280px;
    padding: 0;
    background-color: var(--base-white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 8px 8px 0px 8px;
    box-sizing: border-box;

    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
    

    transition:
        opacity 0.6s ease,
        max-height 0.6s ease,
        margin-bottom 0.6s ease,
        padding 0.6s ease;
}

.notification.show {
    opacity: 1;
    margin-bottom: 8px;
    max-height: 36px;
}

.notification.expanded {
    max-height: 80px;
}

.notification.expanded .notification-details {
    max-height: 80px;
}

.notification.hide {
    opacity: 0;
    margin-bottom: 0;
    padding: 0;
    max-height: 0;
}


.notification-main-content{
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.notification-details {
    font-family: inherit;
    font-size: 12px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out;
    margin-top: 8px;
    margin-bottom: 8px;
    color: var(--dark-gray);
    align-self: flex-start;
}

.notification-info {
    display: flex;
    gap: 4px;
}

.notification-header {
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-black);
    align-self: center;
}

.notification-close-icon{
    width: 16px;
    height: 16px;
    cursor: pointer;
    align-self: center;
}

.notification-icon{
    width: 20px;
    height: 20px;
    align-self: center;
}
.single-image-input {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: fit-content;
}

.single-image-box {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
    position: relative;
}

.single-image-box:hover {
    background-color: var(--light-gray);
}

.single-border-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}


.placeholder-icon {
    width: 32px;
    height: 32px;
}

.single-image-preview {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
}

.single-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.25);
    opacity: 0;
    transition: opacity 0.25s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    pointer-events: none;
    width: 90px;
    height: 90px;
    margin: 5px;
}

.single-image-box.has-image:hover .single-overlay {
    opacity: 1;
    pointer-events: auto;
}

.delete-icon {
    width: 28px;
    height: 28px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.single-image-box.has-image:hover .delete-icon {
    opacity: 1;
}

.small-image-input__header{
    font-size: 14px;
    color: var(--text-black);
    font-weight: 400;
    margin-left: 6px;
}



/*# sourceMappingURL=main.css.map*/