* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    position: relative;
}

body {
    width: 100%;
    height: auto;
    background-color: #f1f4f9;
    display: flex;
    justify-content: center;
    overflow: auto;
    position: relative;
}

.right-side {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    z-index: 9999 !important;
}

.right-side {
  display: none;
}

.right-side.show {
  display: block;
}

#loginForm, #registerForm {
    background-color: rgba(51, 51, 51, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); 
    margin: 0 !important;
    border-radius: 12px !important;
}

.forming {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

.cls-1 {
	fill: #fff;
	stroke-width: 0px;
}

.input {
    display: flex;
    flex-direction: column;
    gap: 17px;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, roboto, Helvetica Neue, helvetica, arial, sans-serif;
}

.inp, .reg-inp {
    width: 295px;
    height: 60px;
    border-radius: 12px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1) !important;
    background-color: #000000;
    outline: 0;
    box-shadow: none;
    border: 0;
    overflow: hidden;
    padding-left: 13px;
    padding-top: 20px;
    font-size: 15px;
    color: white;
}

.inp:focus, .reg-inp:focus {
    outline: 1px solid rgb(221, 224, 226, 0.6);
}

.inp:focus + .label,
.inp.has-value + .label {
    top: -10px;
    font-size: 12px;
}

.form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo {
    padding: 69px;
}

.logo svg {
    width: 72px;
}

.st1 {
    fill: rgb(111, 169, 46) !important;
}

.st0 {
    fill:#FFFFFF;
}

.label {
    color: #dde0e2;
    position: absolute;
    opacity: 0.75;
    left: 13px;
    line-height: 56px;
    font-size: 15px;
    transition: 0.2s all;
    pointer-events: none;
}

.login-inp, .registry-inp {
    position: relative;
}

#loginErrorBlock, #passwordErrorBlock {
    font-size: 15px;
    line-height: 18px;
    color: #fff;
    max-width: 295px;
    position: absolute;
    z-index: 2;
    transition: .2s ease-in-out;
    padding-top: 10px;
}

.valid {
    background-color: rgb(252, 72, 72);
    width: 100%;
    padding: 8px 20px 12px 13px;
    position: relative;
}

.valid::after {
    content: '';
    font-size: 8px;
    position: absolute;
    width: 8px;
    height: 8px;
    clip-path: polygon(50% 12%, 100% 87%, 0% 87%);
    top: -9px;
    left: 12px;
    background-color: rgb(252, 72, 72);
}

.rememberMe {
    color: #dde0e2;
    font-size: 15px;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, roboto, Helvetica Neue, helvetica, arial, sans-serif;
}

.rememberMe span:hover{
    text-decoration: underline;
    cursor: pointer;
}

.remember {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#rememberMe {
  appearance: none;
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border: 1px solid rgb(221, 224, 226, 0.6);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  background-color: #ffffff00;
  transition: background-color 0.2s, border-color 0.2s;
}

#rememberMe:checked {
  background-color: #2195f300;
}

#rememberMe:checked::after {
  content: "✔"; 
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.8);
  font-size: 14px;
  color: white;
}

.check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 25px auto 21px;
}

.btnessss {
    display: block;
    background: rgb(0, 0, 0);
    color: #fff;
    font-size: 16px;
    padding: 11px 0 12px;
    width: 160px;
    text-align: center;
    border-radius: 12px;
    cursor: pointer;
    margin: 0 auto;
    white-space: pre;
    -webkit-transition: all 250ms ease;
    -moz-transition: all 250ms ease;
    -o-transition: all 250ms ease;
    -ms-transition: all 250ms ease;
    transition: all 250ms ease;
    box-shadow: none;
    border: none;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, roboto, Helvetica Neue, helvetica, arial, sans-serif;
}

.btnessss:hover {
    background-color: rgb(221, 224, 226, 0.6);
    text-decoration: underline;
}

.reset {
    margin-top: 25px;
    margin-bottom: 65px;
    text-align: center;
    position: relative;
    color: rgb(221, 224, 226, 0.7);
    background-color: #474b5b00;
    border: 0;
    box-shadow: none;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, roboto, Helvetica Neue, helvetica, arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
}

.reset:hover {
    text-decoration: underline;
}

.lds-ripple,
.lds-ripple div {
    box-sizing: border-box;
}

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 160px;
    height: 160px;
}

.lds-ripple div {
    position: absolute;
    border: 4px solid gray;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes lds-ripple {
    0% {
        top: 72px;
        left: 72px;
        width: 16px;
        height: 16px;
        opacity: 0;
    }
    4.9% {
        top: 72px;
        left: 72px;
        width: 16px;
        height: 16px;
        opacity: 0;
    }
    5% {
        top: 72px;
        left: 72px;
        width: 16px;
        height: 16px;
        opacity: 1;
    }
    100% {
        top: 0;
        left: 0;
        width: 160px;
        height: 160px;
        opacity: 0;
    }
}

#preloader {
    z-index: 9999;
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #53586b;
    top: 0;
    left: 0;
    backdrop-filter: blur(10px); /* размытие фона */
}

#preloaderes {
    z-index: 9999;
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #53586b;
    top: 0;
    left: 0;
    backdrop-filter: blur(10px); /* размытие фона */
}

#preloaderform {
    z-index: 9999;
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #53586b;
    top: 0;
    left: 0;
    backdrop-filter: blur(10px); /* размытие фона */
}

:-internal-autofill-selected {
    appearance: auto !important;
    background-image: inherit !important;
    background-color: inherit !important;
    color: inherit !important;
    outline: 1px solid rgb(221, 224, 226, 0.6);
}

@media (max-width:1000px) {

    .left-side {
        display: none !important;
    }

    .form {
        width: 100%;
    }

    .images {
        display: grid;
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 10px; 
    }

    body {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 95% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

}

.elll {
    width: 80px;
    height: 21px !important;
    display: flex;
    align-content: center;
    justify-content: center;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.ell {
    position: absolute;
    width: 80px;
    height: 80px;
}

.lds-ellipsis {
    color: white;
}

.lds-ellipsis, .lds-ellipsis div {
    box-sizing: border-box;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ellipsis div {
    position: absolute;
    top: 7.083332625000001px;
    width: 13.33333px;
    height: 13.33333px;
    border-radius: 50%;
    background: currentColor;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }

}

.toggle-visibility {
    position: absolute;
    right: 10px;
    top: 55%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    user-select: none;
}

.toggle-visibility svg {
    width: 25px;
    height: 25px;
}


/**                  ----------------------------------                           **/

main {
    width: 900px;
}

header {
    border-bottom: 1px solid rgba(229,231,235);
    height: 60px;
    display: flex;
    padding: 15px 0 15px 0;
    align-items: center;
}

@media (max-width:900px) {
    main {
        width: 80%;
    }
}

.rightn {
    width: 100%;
}

.rightn {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.sun, .avatar {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border: none;
    outline: none;
}

.avatar svg {
    width: 48px !important;
    height: 48px !important;
}

.avatar {
    background-color: rgba(59, 130, 246, 0.5) !important;
}

.url{
    width: 100% !important;
    color: rgba(0, 0, 0, 0.733) !important;
}

.url:focus,
.url:active {
    outline: none;
}

.form {
    border: 1px solid rgba(229,231,235);
    margin-top: 15px;
    padding: 15px;
    flex-direction: column;
    gap: 10px;
}

.leftn button {
    width: 70px;
}

.rightn button, .leftn button, .url, .submit button, #toggleForm, .create, #backToLogin {
    border-width: 1px;
    border-radius: 1rem;
    place-items: center;
    height: 2.5rem;
    cursor: pointer;
    font-family: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    gap: .5rem;
    display: inline-flex;
    border: 1px solid rgba(229,231,235);
    font-weight: 600;
    line-height: 130%;
    font-size: 100%;
    padding: 20px 20px 20px 20px;
    box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(0 0 #0000);
    color: white;
}

#backToLogin {
    margin-top: 20px;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
}

.create {
    color: black !important;
}

.rightn button:hover, .leftn button:hover {
    opacity: .7;
}

.logo {
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
}

.add {
    background-color: rgba(79, 70, 229);
}

.registry {
    background-color: black;
}

.logo {
    width: 2.5rem;
    display: flex;
    justify-content: center;
    background-color: rgba(59, 130, 246, 0.5);
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.tox-toolbar__primary button {
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1) !important;
    border-radius: 8px !important;
}

#imageUpload {
    display: none;
}

.custom-button {
    display: inline-block;
    padding: 5px 10px;
    background-color: black;
    color: white;
    cursor: pointer;
    border-radius: 12px;
    font-size: 13px;
}

.custom-button:hover {
    opacity: .8;
}

#file-label {
    margin-left: 10px;
    font-size: 14px;
    color: #333;
}

#preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.img-container {
    flex: 1 1 calc(33.333% - 10px);
    box-sizing: border-box;
    position: relative;
    aspect-ratio: 16 / 9;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 1px solid #ccc;
    border-radius: 12px;
}

.images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px; 
}

.images img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
}

.remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.87);
    border: none;
    color: black;
    cursor: pointer;
    font-size: 14px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 31px;
    text-align: center;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1) !important;
    transform: rotate(45deg);
    font-size: 20px;
}

.copy-btn {
    position: absolute;
    top: 10px;
    right: 2.5rem;
    background: rgba(255, 255, 255, 0.87);
    border: none;
    color: black;
    cursor: pointer;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    line-height: 31px;
    text-align: center;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1) !important;
    font-size: 20px;
}

.modal-img {
    border-width: 1px;
    border-radius: 1rem;
    place-items: center;
    cursor: pointer;
    font-family: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    gap: .5rem;
    display: inline-flex;
    border: 1px solid rgba(229,231,235);
    font-weight: 600;
    line-height: 130%;
    font-size: 100%;
    padding: 20px 20px 20px 20px;
    box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(0 0 #0000);
    color: white;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    position: relative;
}

#pasteBtn {
    display: inline-block;
    padding: 5px 10px;
    background-color: black;
    color: white;
    cursor: pointer;
    border-radius: 12px;
    font-size: 13px;
    border: none;
    font-weight: 600;

}

#pasteBtn:hover {
    opacity: .8;
}

#drop-area {
    padding: 20px;
    text-align: center;
    transition: border 0.3s, box-shadow 0.3s;
    cursor: default;
    border-radius: 1rem;
}

#drop-area.drag-over {
    border: 2px dashed #ccc;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-style: dashed;
    cursor: crosshair;
}

.img-container.dragging {
    outline: 2px dashed #000;
    outline-offset: -2px;
    border-radius: 12px;
}

#drop-area.drag-over::after {
    content: '+';
    position: absolute;
    font-size: 24px;
    color: #333;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.placeholder {
    height: 4px;
    background-color: blue;
    margin: 2px 0;
}

.drop-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pr-block {
    position: relative;
    width: 100%;
}

.pr-bloc span {
    position: absolute;
    left: 15px;
    right: 15px;
}

.custom-button {
    position: absolute;
    right: 15px;
    top: 0;
}

.submit {
    display: flex;
    width: 100%;
    gap: 10px;
}

.altflex {
    flex: 7 !important;
    display: flex !important;
    justify-content: center !important;
    background-color: rgb(76, 0, 255);
}

.altflex:hover {
    opacity: .8;
}

.clean {
    flex: 3 !important;
    display: flex !important;
    justify-content: center !important;
    background-color: white;
    color: black !important;
}

.clean:hover {
    opacity: .4;
}

.btn-cccc {
    display: flex;
    position: relative;
    padding: 20px;
    align-items: center;
}

.btn-cccc button {
    position: absolute;
    right: 20px;
    line-height: 2 !important;
    font-weight: 500 !important;
    background-color: white !important;
    color: black !important;
}

.btn-cccc span{
    display: flex;
}

.btn-cccc p {
    color: #adadad;
    margin-left: 5px;
}

.logout button {
    background-color: black !important;
}

.usernamebar {
    display: flex;
    gap: 10px;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, roboto, Helvetica Neue, helvetica, arial, sans-serif;
    font-weight: 500;
    position: relative;
}

.usernamebar p, .usernamebar span {
    margin-top: 5px;
}

.post {
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    border: 1px solid rgba(192, 192, 192, 0.247);
}

.post-cont {
    display: block;
}

.preloaderrrr {
  width: 100%;
  text-align: center;
  padding: 10px 0;
  background: #f0f0f0; 
  display: none; 
}

.contentx {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0 20px 0;
}

.data-cr {
    color: #adadad !important;
}

.urlx {
    display: flex;
    justify-content: center;
    color: white !important;
    background-color: rgb(76, 0, 255) !important;
}

.urlx:hover {
    opacity: .8;
}

.content {
    font-family: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.content a {
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline !important;
}

.modal {
    display: none;
    position: fixed;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-images {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.modal-images img {
    max-width: 100%;
    max-height: 80vh;
    display: none; 
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    user-select: none;
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

#charCountDisplay {
    font-family: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
    font-weight: 600;
}

#editPostForm {
    width: 900px;
    margin-top: 50px;
}

.form-ed {
    background-color: #f1f4f9;
}

.line {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 15px;
  background-color: #4b9cdb;
}

.load-2 .line:nth-last-child(1) {
  animation: loadingB 1.5s 1s infinite;
}
.load-2 .line:nth-last-child(2) {
  animation: loadingB 1.5s 0.5s infinite;
}
.load-2 .line:nth-last-child(3) {
  animation: loadingB 1.5s 0s infinite;
}

@keyframes loadingB {
  0% {
    width: 15px;
  }
  50% {
    width: 35px;
  }
  100% {
    width: 15px;
  }
}

.comments {
    width: 960px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.096) !important;
    border-radius: 15px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
}

.comment {
    border-radius: 15px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    background-color: #F9F9F9;
}

#new-comment-content {
  border: none !important;
}

textarea {
    all: unset;
    resize: none;
    width: 100%;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box; 
    overflow-y: hidden;
}

#comment {
    white-space: pre-wrap;
    word-wrap: break-word;
    width: 100%;
    box-sizing: border-box;
}

.btns {
    width: 100%;
    height: auto;
    background-color: #F9F9F9;
    padding: 20px;
    margin-top: -10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    justify-content: flex-end;
}

.spacerees {
    height: 100px;
}

.children {
    border-left: 1px solid  #E9E9E9;
    margin-right: 4rem;
    margin-left: 4rem;
}

.child-comment {
  margin-top: 15px;
}

.userboyes {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s;
  position: relative;
}

.btnsn .active {
    cursor: pointer;
}

.btnsn .active:hover {
    background-color: #cacaca70;
    border-radius: 1rem;
}

.more-options-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .1s ease-in-out;
  border-radius: 100%;
}

.y {
  background-color: white;
}

.q {
  background-color: #F9F9F9;
}

.more-options-btn:active {
  transition: .1s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
}

.more-options-btn svg {
  height: 24px !important;
  width: 24px !important;
}

.reply-form {
  position: relative;
  min-height: 100px;
  border: 1px solid #E9E9E9;
  border-radius: 12px;
}

.reply-form button {
  padding: 10px;
  background-color: #c7c7c7;
  opacity: .5;
  border-radius: 12px;
  font-family: 'sf-pro-display-medium', sans-serif;
  z-index: 2;
}

.reply-form button.down {
  opacity: 1;
  background-color: rgb(0, 0, 255);
  color: white;
}

.reply-form button.down:hover {
  background-color: rgb(1, 1, 211);
  color: white;
}

.buttons-container {
  position: absolute;
  display: flex;
  gap: 10px; 
  bottom: 0;
  right: 0;
  justify-content: flex-end; 
  padding: 10px;
}

.reply-form button:hover {
  transform: scale(1);
}

.options-container {
  top: 65px;
  left: calc(100% - 45px);
  position: absolute;
  background-color: white;
  flex-direction: column;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 12px;
  z-index: 9;
}

.options-container button {
  padding: 5px 7.5px;
  line-height: 130%;
  border-radius: 12px;
  text-align: center;
}

.edit-textarea {
  min-height: 40px !important;
}

.options-container button:hover {
  background-color: #3333332c;
}

.avatares {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
  border: 2px solid #ccc;
}

.buttons-containeres {
  width: 100%;
  height: auto;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 10px;
  font-family: 'sf-pro-display-medium', sans-serif;
}

.btnesus {
  display: flex;
  margin-left: 3.1rem;
  margin-right: 3.1rem;
}

.toggle-answers-btn {
  padding: 5px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 12px;
}

.toggle-answers-btn:hover {
  transform: scale(1) !important;
  opacity: 1 !important;
  background-color: rgba(128, 128, 128, 0.158);
}

.toggle-answers-btn span {
  width: 14px;
  height: 14px;
  border-radius: 100%;
  background-color: rgba(128, 128, 128, 0.459);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reply-btn {
  color: rgb(66, 66, 253);
  padding: 5px 7.5px;
  border-radius: 12px;
  margin-left: 50px;
}

.reply-btn:hover {
  background-color: rgba(128, 128, 128, 0.123);
}

.buttons-containeres button {
  padding: 10px;
  border-radius: 12px;
  background-color: #c7c7c7;
  line-height: 130%;
  opacity: .5;
}

.buttons-containeres button:hover {
  opacity: 1;
  transform: scale(1) !important;
}

.user-infoes {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.namees {
  font-size: 14px;
  color: #333;
  padding: 1px 8px 1px 8px;
  border-radius: 100px;
  font-family: 'sf-pro-display-medium', sans-serif;
}

.user-id {
  position: relative;
}

.rolele {
  position: absolute;
  top: 35px;
  color: #575757;
  left: 60px;
}

.role-admin {
  background-color: #ff4d4d;
  color: #fff;
}

.role-moderator {
  background-color: #4d90ff;
  color: #fff;
}

.role-user {
  background-color: #ccc;
  color: #333;
}

.nameres {
  font-size: 14px;
  display: flex;
  line-height: 140%;
  margin-top: 0;
  width: 100%;
  margin-top: -20px;
  gap: 7.5px;
}

.nameres span {
  color: #a5a7ad;
  line-height: 130%;
}

.cont-more {
  height: auto;
  width: auto;
  position: absolute;
  right: 0;
  padding: 5px;
  display: flex;
  gap: 5px;
  margin-top: -20px;
}

.you {
  font-size: 14px;
  padding: 1px 8px 1px 8px;
  font-family: 'sf-pro-display-medium', sans-serif;
  color: white;
  display: flex;
  align-self: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: blue;
  border-radius: 100%;
}

.edit-form {
  background-color: white;
  border-radius: 12px;
}

.you span {
  display: flex;
  align-items: center;
  justify-content: center;
}

.comment p {
  margin-left: 40px;
  padding-left: 20px;
}

.datates {
  font-size: 13px;
  color: #A5A5A5;
  margin-top: 5px;
  margin-left: 5px;
}

.new-comment-form {
  position: relative;
  height: auto !important;
  min-height: 100px;
  border-radius: 12px;
}

.btnses {
  width: 28px;
  height: 28px;
  margin-left: calc(100% - 50px);
  margin-bottom: 25px;
}

.resent_messeng {
  border-radius: 10px;
  padding: 2px;
  display: flex;
  justify-content: center;
  align-items: center; 
  background-color: #ffffff;
  opacity: .5;
}

.resent_messeng.active {
  opacity: 1;
}

.resent_messeng:hover {
  background-color: #ffffff00;
}

.btnsn {
  height: 28px;
}

.ccw {
  font-size: 18px;
  font-family: 'sf-pro-display-semibold', sans-serif;
}
.count_comment {
  font-size: 18px;
  font-family: 'sf-pro-display-semibold', sans-serif;
}

.count_c {
  display: inline-flex;
  gap: 8px;
}

.userboyes a svg {
    height: 2rem !important;
    width: 2rem !important;
}

.children { 
    display: flex; 
    max-height: 0;
    transition: .2s ease-in-out;
    overflow: hidden;
    flex-direction: column;
    position: relative;
}

.children .child-comment {
    margin-left: 100% !important;
    transition: opacity .3s, margin-left .2s ease-in-out;
    opacity: 0;
}

.show .child-comment {
    margin-left: 0 !important;
    transition: opacity .2s, margin-left .1s ease-in-out;
    opacity: 1;
    padding-left: 8px;
    padding-bottom: 0;
}

.children.show { 
    max-height: 2000px !important;
    gap: 1rem;
    padding: 1rem 0 1rem 1rem;
    transition: .1s ease-in-out;
    overflow: visible;
}

.cont-comments {
    padding: 20px;
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 12px;
    gap: 10px;
    box-sizing: border-box;
    margin-top: 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(192, 192, 192, 0.247);
}



.resent_messeng svg {
    width: 2rem !important;
    height: 2rem !important;
}

.resent_messeng {
    display: flex;
    align-items: center;
}

.resent_messeng, .more-options-btn, .options-container button, .reply-btn {
    border: none;
    background-color: transparent;
}

.new-comment-form-div {
    background-color: white;
    border-radius: 12px;
    padding: 0 0 .1rem 0;
}

.new-comment-form-div-cont {
    padding: 1rem;
    border-radius: 12px;
    background-color: #F9F9F9;
}

.more-options-btn {
    cursor: pointer;
}

.buttons-container button, .btnesus button, .buttons-containeres button {
    border: none !important;
}

.child-comment .rolele, .child-comment .userboyes .img-aaaa {
    display: none;
}

.child-comment .userboyes {
    margin-top: 1rem;
    margin-left: -.3rem;
}

.comment-time {
    display: flex;
    align-items: center;
}

.child-comment {
    border: 1px solid rgba(192, 192, 192, 0.473);
    margin-top: 0 !important;
    width: 100%;
}

.child-comment p {
    margin-left: -.8rem !important;
    margin-top: -.5rem !important;
}

.child-comment .toggle-answers-btn, .child-comment .reply-btn {
    display: none;

}

.cont-comments h2 {
    font-size: 1.3rem;
    line-height: 120%;
    height: 2rem;
}

.autch-p {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100% !important;
}

.autch-pp {
    width: 100%;
    height: 200px;
    background-color: rgba(255, 0, 0, 0.342);
    border-radius: 12px;
}

.comments-cont-lite {
    height: 2rem;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    border: none;
    background-color: transparent;
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: -10px;
}

.comments-cont-lite svg {
    width: 1rem !important;
    height: 1rem !important;
    fill: #0c6796;
    margin-top: 4px;
}

.comments-cont-lite:hover {
    background-color: rgba(0, 0, 0, 0.082);
}

.comments-cont-lite:active {
    background-color: rgba(0, 0, 0, 0.041);
}

.comments-cont-lite::after {
    content: '❯';
    position: absolute;
    right: 1.5rem;
    color: #0c6796;
    font-size: .8rem;
    font-weight: 700;
}

.comm2 {
    color: #0c6796;
    font-size: 1rem;
    font-weight: 500;
}

hr {
    border: none;
    height: 1px; /* или другой размер */
    background-color: #e6e7eb;
}

.article-views svg {
    width: 1rem !important;
    height: 1rem !important;
    stroke: rgba(0, 0, 255, 0.192) !important;
}

.article-views {
    display: flex;
    align-items: center;
    border-radius: .5rem;
    gap: .3rem;
    height: 2rem;
    width: auto;
    color: #293134;
    line-height: 180%;
}

.ed {
    width: 2rem;
    height: 2rem;
    border: none;
    background-color: transparent;
    display: flex;
    align-items: center;
    border-radius: .5rem;
    outline: 1px solid rgb(221, 224, 226, 0.6);
}

.ed span {
    display: flex;
    font-size: 1rem;
    font-weight: 700;
    height: 100%;
    width: 100%;
    justify-content: center;
    margin-top: 0;
    line-height: 160%;
}

.ed:hover {
    background-color: rgb(0, 0, 0);
    color: white;
    border-radius: .5rem;
}

.ed-cont {
    position: relative;
}

.de {
    position: absolute;
    background-color: white;
    flex-direction: column;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 12px;
    z-index: 9;
    gap: 5px;
}

.de button {
    padding: 5px 7.5px;
    line-height: 130%;
    border-radius: 12px;
    text-align: center;
    border: none;
    background-color: transparent;
}

.de button:hover {
    background-color: #3333332c;
}

.cont-right-btn {
    position: absolute;
    display: flex;
    right: 0;
    gap: 5px;
}

.goto {
    width: 2rem;
    height: 2rem;
    background-color: transparent;
    border: none;
    border-radius: .5rem;
}

.goto svg {
    fill: black !important;
    outline: 1px solid rgb(221, 224, 226, 0.6);
    width: 2rem;
    height: 2rem;
    border-radius: .5rem;
}

.goto:hover {
    background-color: rgba(0, 0, 0, 0.103);
}

#likes, #dislikes {
    display: none;
}

.vote-counts {
    display: flex;
}

#vote-counts {
    padding: .5rem 1rem .5rem 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: .5rem;
    margin-top: -.5rem;
}

#difference-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#difference-container button {
    background-color: transparent;
    border: none;
    font-size: 1.1rem;
    padding: .3rem;
    border-radius: .5rem;
}

#difference-container button:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#difference-container button:active {
    color: white;
    background-color: black;
}

#dislikeBtn {
    color: rgb(255, 61, 61);
}

#likeBtn {
    color: rgb(63, 63, 255);
}

#difference {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0;
}

.positive #difference {
    color: rgb(250, 215, 17);
}

.negative #difference {
    color: rgb(92, 98, 185);
}