.inputList__form{
    border: none !important;
}

.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.9);display:none;align-items:center;justify-content:center;padding:4vh 4vw;z-index:10000}
.lightbox.is-open{display:flex}
.lightbox__img{max-width:100%;max-height:100%;width:auto;height:auto}
.lightbox__close,.lightbox__prev,.lightbox__next{position:fixed;top:16px;background:rgba(0,0,0,.6);color:#fff;border:0;border-radius:10px;width:44px;height:44px;font-size:22px;cursor:pointer}
.lightbox__close{right:16px}
.lightbox__prev{left:16px;top:50%;transform:translateY(-50%)}
.lightbox__next{right:16px;top:50%;transform:translateY(-50%)}
.lightbox__hit{position:absolute;top:0;bottom:0;width:40%;cursor:pointer}
.lightbox__hit--left{left:0}
.lightbox__hit--right{right:0}


.post__item-infoTop-rate-wrapper{
    margin-left:auto;
}

a.ideas__post._no-click {
  pointer-events: none;
}
.post__top-number {
    text-align: center;
}

.ideas__metrics-top {
    cursor: pointer;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter18pt-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter18pt-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter24pt-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fredoka One';
  src: url('../fonts/FredokaOne-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.login-hidden {
  height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
  border: none !important;
}



.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #111;
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-size: 14px;
  z-index: 9999;
  display: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.change-name-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.change-name-modal.hidden {
  display: none;
}

.change-name-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.change-name-modal__window {
  position: relative;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  max-width: 400px;
  width: 90%;
  z-index: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.3s ease;
}

.change-name-modal__title {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
}

.change-name-modal__input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  margin-bottom: 16px;
}

.change-name-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.change-name-modal__btn {
  padding: 8px 16px;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.change-name-modal__btn.save {
  background-color: #38b000;
  color: white;
}

.change-name-modal__btn.cancel {
  background-color: #eee;
  color: #333;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.change-photo-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.change-photo-modal.hidden {
  display: none;
}

.change-photo-modal__window {
  background: white;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  position: relative;
}

.change-photo-modal__title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.change-photo-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.change-photo-modal__btn {
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
}

.change-photo-modal__btn.cancel {
  background-color: #ddd;
}

.change-photo-modal__btn.save {
  background-color: #99ca4f;
  color: white;
}

.faq{
    padding: 19px;
    min-height: 96vh;
}

.faq__title{
    font-size: 28px;
    text-align: center;
}

.faq__quest{
    margin-top: 30px;
    font-size: 18px;
}

.faq__p{
    margin-top: 10px;
    font-size: 16px;
}

.notFound{
    font-size: 40px;
display: flex;
justify-content: center;
align-items: center;
min-height: 96vh;
text-align: center;
}

.post__item-container {
    width: 100%;
}

.post__item-infoTop-rate{
    margin-left: auto;
}

.post__item-photo img {
  border-radius: 12px; 
}

.inputList__form{
    flex-direction: column;
    align-items: center;
}

#imageUploadInput {
  display: none !important;
}

.idea__delete-button {
  background: none;
  border: 1px solid #ccc;
  color: #d00;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.idea__delete-button.draft{
  color: #353535;
}

.image-preview-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}

.image-preview {
	border-radius: 6px;
	overflow: hidden;
}

.image-preview img {
	max-height: 100px;
	border-radius: 6px;
	display: block;
}

.tag-input-field[value]:not(:focus) {
  color: transparent;
}

.deleteDraft{
    align-self: center;
}

.inputList {
    flex-direction: column;
    display: flex;
}

.inputList__DeleteDraft {
  padding: 10px 16px;
  background-color: #f44336;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-left: 10px;
}

.inputList__DeleteDraft:hover {
  background-color: #d32f2f;
}

.ideas{
    min-height: 96vh;
}

.svg-post-img{
    border-radius: 12px;
}

.comments__form.reply-form {
    margin: 10px 0 0 40px;
    padding: 12px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    width: 100%;
}

.comments__form.reply-form textarea {
    width: 100%;
    min-height: 60px;
    padding: 8px;
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid #ccc;
    resize: vertical;
}

.comments__form.reply-form .comments__form-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.comments__form.reply-form .comments__form-actions button {
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.comments__form.reply-form .comments__form-actions-send {
    background-color: #c5deaa;
    border: none;
}

.comments__form.reply-form .comments__form-actions-cancel {
    background-color: #eee;
    border: none;
}

.comment__menu {
    position: relative;
    display: inline-block;
}

.comment__menu-toggle {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

.comment__menu-actions {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 5px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 100;
    min-width: 100px;
    padding: 5px 0;
}

.comment__menu-actions button {
    display: block;
    width: 100%;
    background: none;
    border: none;
    padding: 8px 12px;
    text-align: left;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
}

.comment__menu-actions button:hover {
    background: #f0f0f0;
}

.comment__menu.open .comment__menu-actions {
    display: block;
}

.comment__edit-form {
    margin-top: 10px;
}
.comment__edit-form textarea {
    width: 100%;
    min-height: 60px;
    padding: 6px;
}
.comment__edit-actions {
    margin-top: 6px;
    display: flex;
    gap: 10px;
}
.comment__edit-actions button {
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.rated-success {
    background-color: #4CAF50 !important;
    color: #fff !important;
    cursor: default;
    pointer-events: none;
    transition: all 0.3s;
}
.comment__children:not(.visible) {
    display: none;
}
.comment__action.toggle-replies-btn.active::after {
    content: " (show)";
}
.comment__like.liked {
    color: orange;
    font-weight: bold;
}

.active-tag {
    background-color: #464646;
}

.post__item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.buttons__manageIdea{
  display: flex;
  gap: 40px;
}

.comment__avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: #d4ffc0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	font-size: 16px;
	color: #333;
	overflow: hidden;
	flex-shrink: 0;
}

.comment__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

.comment__avatar span {
	text-transform: uppercase;
}

.comment__text {
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.post__item-info-tags {
    flex-wrap: wrap;
}

.metrics__sort{
  width: 100%;
  display: flex;
  flex-direction: column;
}

.metrics__sort-top{
  display: flex;
}

.ideas__mobile-sort{
  display: flex;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}
.inputList__container {
    align-items: center;
}

.idea-error-message {
    background: #fff3f3;
    color: #E32636;
    border: 1px solid #ffc4c4;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
}
.post__item-infoTop-rate{
    border: 1px solid #dddddd;
    border-radius: 11px;
    width: 50px;
    padding-top: 5px;
    flex-shrink:0;
}

@media (max-width: 1200px) {
    .mobile-metrics {
        gap: 20px;
        flex-direction: column-reverse;
    }
    .ideas{
      padding: 20px;
    }
}
@media (max-width: 1050px) {
        .post__top{
          flex-wrap: wrap;
        }
}
@media (max-width: 768px) {
    .mobile-metrics {
        gap: 20px;
        flex-direction: row;
    }
    .ideas__metrics{
      flex-direction: row-reverse;
      align-items: end;
      gap: 10px;
    }
    .post__container{
      gap: 10px;
    }
    .post__top{
      margin-top: 70px;
      margin-left: 0;
    }
    .post__top-title{
      line-height: 20px;
    }
    .post__top-number{
      line-height: 26px;
    }
}
@media (max-width: 650px) {
    .mobile-metrics {
        flex-direction: column-reverse;
        gap: 0;
    }
    .adaptive {
      margin-top: 5px;
    }
    .ideas__tags{
      justify-content: end;
    }
    .signInInput{
      display: none;
    }
}
@media (max-width: 576px) {
  .mobile--menu{
    height: 100%;
  }
  .post__item-infoTop-rate-wrapper{
    margin-left:unset;
}
    .mobile-metrics {
        margin-left: auto;
        flex-direction: column-reverse;
    }
    .ideas__mobile-sort{
      gap: 10px;
      align-items: center;
    }
    .ideas__metrics-top{
      height: 50px;
      flex-shrink:0;
    }
    .ideas__metrics-top-num{
      line-height: unset;
    }
    .main__container{
      padding: 0;
    }
    .ideas {
        padding: 10px;
    }
    .post__item-infoTop{
      gap: 10px;
    }
    
}
@media (max-width: 400px) {
  .post__item-photo{
    align-self: flex-start;
  }
  .post__item--hero{
    flex-direction: column;
  }
}
@media (max-width: 380px) {
  .ideas__tags{
      gap: 5px;

    }
    .inputList__status{
      margin-left: 30px;
    }
}