.comments-tree {
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
	margin-top: 20px;
}

.comments-tree .comment.level-0 {
	border-bottom: 1px solid #e3e3e3;
	margin-bottom: 25px;
}

.comment {
	display: block;
	position: relative;
	max-width: 100%;
	box-sizing: border-box;
	overflow: visible;
}

.comment-main {
	display: block;
	margin-bottom: 25px;
}

.comment-messageWrapper {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
}

.commentAvatar {
	width: 25px;
	height: 25px;
	margin-right: 5px;
	flex-shrink: 0;
	z-index: 1;
}

.commentAvatar .rounded-full {
	position: relative;
	display: inline-block;
	width: 25px;
	height: 25px;
}

.commentAvatar .rounded-full img {
	max-width: 25px;
	max-height: 25px;
	border-radius: 5rem;
}

.commentMessage {
	flex: 1 1 auto;
	min-width: 0;
}

.commentMeta {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.commentMeta, .commentContent {
	padding-left: 5px;
}

.commentMeta .commentAuthor {
	display: inline-block;
	font-size: 1.0625rem;
	line-height: 1.5rem;
	color: #181C1F;
	font-weight: 700;
	margin-right: 10px;
}

.commentDate {
	display: block;
	color: #5C6C74;
	font-size: 0.8rem;
	margin-left: 5px;
}


.commentContent {
	margin: 5px 0 10px 0;
	font-size: 1.0625rem;
	line-height: 1.5rem;
	white-space: normal;
	word-wrap: break-word;
	word-break: break-word;
	overflow-wrap: break-word;
	max-width: 100%;
	box-sizing: border-box;
}

.commentContent i {
	display: block;
	margin-bottom: 10px;
	color: #070707a6;
	font-size: 0.8rem;
	line-height: 1.1rem;
}

.commentContent .reply-icon {
	vertical-align:middle;
	margin-right:4px;
	margin-top: -3px
	color:#888;
}

.commentContent a {
	text-decoration: underline;
	color: #007bff;
}


.comment .actionRow {
	margin: 15px 0 0 0;
}
.comment .actionRow .reply-button {
	display: inline-block;
	vertical-align: middle;
	font-size: 16px;
	color: #070707a7;
	cursor: pointer;
	padding: 3px 7px 3px 7px;
}

.comment .actionRow .reply-button:hover {
	background-color: #eaeaea;
	border-radius: 20px;
}

.comment .actionRow .vote-button {
	display: inline-block;
	vertical-align: middle;
}

.comment .actionRow .vote-button svg {
	width: 16px;
	height: 16px;
}

.comment .actionRow .vote-button .svg-container {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background-color: transparent;
    cursor: pointer;
}

.comment .actionRow .vote-button .vote-button-up:hover, .comment .actionRow .vote-button .vote-button-down:hover {
	background-color: #eaeaea;
	border-radius: 6px;
}


.cls-1 {
  fill: none;
  stroke: #1d1d1b;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2px;
  fill-rule: evenodd;
}

.mySvg {
	cursor: pointer;
	transition: color 0.3s ease;
}

.mySvg.clicked {
  stroke: black;
  animation: popComThumbs 0.3s ease;
}

.isVote .mySvg {
	stroke: black;
}

@keyframes popComThumbs {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}





.comment .actionRow .vote-button .voteNumber {
	display: none;
	vertical-align: middle;
	font-weight: 600;
	font-size: 0.75rem;
	line-height: 0.75rem;
	align-content: end;
}

.comment .actionRow .vote-button .voteNumber.voteShow {
	display: inline-block;
	margin-left: 2px;
}


.comment .actionRow .vote-button .vote-button-up, .comment .actionRow .vote-button .vote-button-down {
	display: inline-flex;
	vertical-align: middle;
	padding: 3px;
	cursor: pointer;
}

.comment .actionRow .vote-button .vote-button-up {
	margin-right: 3px;
}

.comment .actionRow .vote-button .vote-button-down {
	margin-left: -5px;
}


.commentDate .commentsDot {
	margin: 0 5px 0 5px;
	vertical-align: middle;
	font-size: 0.6rem;
	color: #d4d6d7;
}

.actionRow .commentsDot {
	margin: 0 5px 0 5px;
	vertical-align: middle;
	font-size: 0.6rem;
	color: #d4d6d7;
}

.threeCommentsDot {
	display: inline-block;
	vertical-align: middle;
	font-size: 0.6rem;
	color: #d4d6d7;
	cursor: pointer;
}

.threeCommentsDot svg {
	width: 15px;
	height: 15px;
	fill: #d4d6d7;
}

.child-comments {
	display: flex;
	flex-direction: column;
	width: 100%;
	box-sizing: border-box;
	margin-top: 10px;
}

.child-comments .comment {
	display: block;
	box-sizing: border-box;
}


.comment.level-1, .comment.level-2 {
	margin-left: 30px;
}






.commentAvatar.showLine:after {
	border-left: 1px solid #e3e3e3;
	left: 10px;
}

.commentAvatar.showLine:after {
	content: "";
	position: absolute;
	height: 100%;
	top: 30px;
	left:12px;
}

.show-more-replies.isNoLst:after {
	border-left: 1px solid #e3e3e3;
	left: 10px;
	content: "";
	position: absolute;
	height: 100%;
	top: 0;
	left:12px;
}

.comment.level-1:before, .comment.level-2:before {
	border-left: 1px solid #e3e3e3;
	border-bottom-left-radius: 7px;
	border-bottom: 1px solid #e3e3e3;
	content: "";
	position: absolute;
	height: 11px;
	margin-left: -18px;
	top: 2px;
	padding-right: 13px;
}

.line_trending_comment {
	border-left: 1px solid #e3e3e3;
	left: 10px;
	content: "";
	position: absolute;
	height: 100%;
	top: 5px;
	left: -18px;
}

.show-more-replies {
	margin: 0 0 20px 0;
}

.show-more-replies em {
	margin-left: 35px;
	color: #5C6C74;
	cursor: pointer;
}

.show-more-replies:before {
	border-left: 1px solid #e3e3e3;
	border-bottom-left-radius: 7px;
	border-bottom: 1px solid #e3e3e3;
	content: "";
	position: absolute;
	height: 15px;
	margin-left: 12px;
	padding-right: 15px;
}



.loading-spinner {
	display: none;
	vertical-align: sub;
	margin-left: 5px;
}

.loading-spinner svg {
  animation: spin 1s linear infinite;
}

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



@media (max-width: 500px) {
	.commentMeta .commentAuthor {
		margin-right: 0;
	}

	.commentDate .commentsDot {
		margin: 0 0 0 5px;
	}

	.threeCommentsDot {
		margin-left: auto;
	}
}



.reply-form, .comment-form {
	margin-top: 20px;
	margin-bottom: 10px;
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.reply-form textarea, .comment-form textarea {
	width: 100%;
	min-height: 130px;
	padding: 5px;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 5px;
	resize: none;
}

.reply-form button, .comment-form button, .load-more-comments, .load-all-comments {
	width: fit-content;
	padding: 10px 20px;
	color: white;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 16px;
}

.reply-form .error-message, .comment-form .error-message {
	font-size: 0.9rem;
	color: red;
}

.submit-reply, .submit-comment {
	background-color: #007BFF;
}

.submit-comment:disabled, .submit-reply:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
    opacity: 0.7;
}

.submit-comment:hover:not(:disabled), .submit-reply:hover:not(:disabled) {
    background-color: #0056b3;
}

.cancel-reply, .cancel-comment {
	background-color: #ff0000;
}

.cancel-reply:hover, .cancel-comment:hover {
	background-color: #cc0000;
}

.reply-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 5px;
}


.comment-highlight {
	background-color: #f0f8ff;
	transition: background-color 3s ease-out;
}

.loadMoreCommentsContainer {
    display: flex;
    justify-content: center;
    overflow-anchor: none;
    margin-top: 20px;
}

.load-more-comments, .load-all-comments {
	background-color: #0056b3;
}

.comments-guest-snippet {
	margin-bottom: -10px;
	font-style: italic;
	font-size: 1rem;
}

.comments-guest-snippet a {
	color: #007bff;
}

.comments-not-logged-in-message {
	color: #333;
	font-weight: 700;
}

.comments-not-logged-in-message a {
	text-decoration: underline;
    color: #007bff;
}

.comment-invite {
	margin-top: 2rem;
	margin-bottom: 2rem;
	border-top: 1px solid #eaeaea;
	color: #333;
}

.comments-section {
    border-bottom: 1px solid #eaeaea;
    margin-top: 50px;
    margin-bottom: 20px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}

.comments-section-title {
    display: inline-block;
    padding-bottom: 1px;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 3px solid #0056b3;
    color: #222;
}

.comments-section-title span {
	background-color: #0056b3;
	margin-left: 2px;
	margin-right: 3px;
	padding: 1px 5px;
	line-height: 1.33;
	color: #fff;
}


.comments-sort {
    display: flex;
    margin-bottom: 5px;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #333;
}

.comments-sort select {
    padding: 4px 6px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
}

@media (max-width: 728px) {
	.comments-section {
		display: block;
	}

	.comments-sort {
		display: block;
		margin-top: 10px;
	}

	.comments-sort select {
		width: 200px;
	}

	.comments-sort label {
		display: none;
	}

	.commentAvatar {
		margin-right: 0;
	}
}

/* Display name above comment form */
.comment-user-display-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 0 8px 0;
}

.comment-user-display-label {
    font-size: 14px;
    color: #555;
    margin-right: 0;
}

.comment-user-display-name {
    font-weight: bold;
    font-size: 16px;
    color: #222;
}

.comment-user-notifications-btn {
    background: none;
    border: none;
    color: #0056b3;
    font-size: 15px;
    cursor: pointer;
    padding: 0 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.comment-user-notifications-btn:hover {
    background: #f0f8ff;
}

a.scroll-to-parent {
	text-decoration: underline;
	color: #000000;
}

.comment-ban-alert {
    background-color: #ffe6e6;
    color: #a94442;
    border: 1px solid #f5c6cb;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.5;
}

.comment-ban-alert strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.comment-ban-alert .contact-link {
    display: inline-block;
    margin-top: 10px;
    padding: 6px 12px;
    background-color: #c82333;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.comment-ban-alert .contact-link:hover {
    background-color: #a71d2a;
}



.comment-user-tooltip {
	display: none;
	position: fixed;
	width: 260px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	padding: 12px;
	z-index: 10000;
	font-family: sans-serif;
  }
  
  .comment-user-tooltip h4 {
	margin: 0 0 6px;
	font-size: 16px;
	font-weight: 600;
  }
  
  .comment-comment-user-tooltip p {
	margin: 0 0 8px;
	font-size: 14px;
	color: #444;
  }
  
  .comment-user-tooltip dl {
	margin: 0;
	font-size: 13px;
	color: #555;
  }
  .comment-user-tooltip dl dt { font-weight: 500; display: inline; }
  .comment-user-tooltip dl dd { display: inline; margin: 0 0 4px 4px; }
  
  .comment-user-tooltip-loader {
	width: 32px; height: 32px;
	animation: spin 1s linear infinite;
	margin: 8px auto;
	display: block;
  }
  @keyframes spin {
	to { transform: rotate(360deg); }
  }

.userProfile {
	cursor: pointer;
}

/* Notificări comentarii warning */
.comment-notifications-warning {
	background: #ffebee;
	border: 1px solid #f44336;
	border-radius: 6px;
	padding: 12px 16px;
	margin: 10px 0;
	color: #c62828;
	font-size: 14px;
	line-height: 1.4;
}

.comment-notifications-warning .warning-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.comment-notifications-warning .warning-text {
	flex: 1;
}

.comment-notifications-warning .warning-button {
	background: #f44336;
	color: white;
	padding: 8px 16px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	white-space: nowrap;
	margin-left: 15px;
}

.comment-notifications-warning .warning-button:hover {
	background: #d32f2f;
	color: white;
	text-decoration: none;
}

/* Responsive pentru mobil */
@media (max-width: 768px) {
	.comment-notifications-warning .warning-content {
		flex-direction: column;
		text-align: center;
		gap: 10px;
	}
	
	.comment-notifications-warning .warning-button {
		margin-left: 0;
		width: 100%;
		max-width: 200px;
		text-align: center;
	}
}