.ts-comments__action { border: 0; cursor: pointer; }
.ts-comment-modal .modal-dialog { max-width: 530px; }
.ts-comment-modal .modal-content { border: 0; border-radius: 22px; overflow: hidden; background: #fff; }
.ts-comment-modal .modal-header { padding: 22px; background: #eff6fd; border: 0; justify-content: space-between;}
.ts-comment-modal .modal-header h2 { margin: 0 !important; font-size: 23px; font-weight: 700; }
.ts-comment-modal .modal-header h2::before { display: none; }
.ts-comment-modal__close { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: #657588; cursor: pointer; }
.ts-comment-modal__close:hover, .ts-comment-modal__close:focus-visible { background: #e1ebf5; color: #22274d; }
.ts-comment-modal .modal-body { padding: 24px; }
.ts-comment-modal__article { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.ts-comment-modal__image { flex: 0 0 114px; width: 114px; height: 80px; object-fit: cover; border-radius: 9px; }
.ts-comment-modal__article > div { position: relative; min-width: 0; padding-inline-start: 16px; }
.ts-comment-modal__article > div::before {
	content: '';
	position: absolute;
	inset-inline-start: 0;
	top: 0;
	bottom: 0;
	width: 5px;
	background: #509777;
	border-radius: 5px 0 0 5px;
}
.ts-comment-modal__type { display: block; font-size: 13px; margin-bottom: 4px; color: #666; }
.ts-comment-modal__article strong { font-size: 17px; line-height: 1.9; overflow-wrap: anywhere; }
.ts-comment-modal__label { margin: 0 0 6px; font-size: 18px; font-weight: 500; }
.ts-comment-rating { display: flex; direction: ltr; justify-content: flex-end; gap: 3px; margin: 0 0 18px; border: 0; padding: 0; }
.ts-comment-rating__star { position: relative; display: inline-flex; cursor: pointer; margin: 0; }
.ts-comment-rating__star input { position: absolute; width: 100%; height: 100%; inset: 0; opacity: 0; cursor: pointer; }
.ts-comment-rating__star span { color: #d9dde3; font-size: 26px; line-height: 1.2; transition: color .15s ease; }
.ts-comment-rating__star.is-active span { color: #ffc338; }
/* .ts-comment-rating__star:focus-within { outline: 2px solid #819dc5; border-radius: 3px; outline-offset: 2px; } */
.ts-comment-modal .comment-form > p { margin: 0 0 14px; }
.ts-comment-modal .comment-form label { font-size: 13px; color: #606670; }
.ts-comment-modal .comment-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.ts-comment-modal .comment-form textarea { width: 100%; min-width: 0; border: 1px solid #e5e5e5; border-radius: 11px; padding: 14px 16px; font-family: inherit; font-size: 13px; line-height: 1.8; }
.ts-comment-modal .comment-form input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) { background: #f7f7f7; }
.ts-comment-modal .comment-form textarea { min-height: 114px; resize: vertical; }
.ts-comment-modal .comment-form textarea::placeholder { color: #aaa; }
.ts-comment-modal .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; }
.ts-comment-modal .comment-form-cookies-consent input { flex-shrink: 0; margin-top: 5px; }
.ts-comment-modal .comment-form .submit { width: 100%; min-height: 54px; border: 0; border-radius: 10px; padding: 12px; background: #509777; color: #fff; font-family: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.ts-comment-modal .comment-form .submit:disabled { opacity: .6; cursor: wait; }
.ts-comment-modal .comment-form .form-submit { margin-bottom: 0; }
.ts-comment-modal .comment-reply-title:empty { display: none; }
.ts-comment-modal__status { margin: 16px 0 0; padding: 12px; border-radius: 8px; background: #e9f6ef; color: #235b3e; font-size: 14px; }
.ts-comment-modal__status.is-error { background: #fff0ee; color: #a52b23; }
.ts-comment-modal.fade .modal-dialog { transform: translateY(18px) scale(.97); transition: transform .25s ease-out; }
.ts-comment-modal.show .modal-dialog { transform: none; }
#ts-comment-modal-title svg{
	margin-top: -5px;
}
@media (max-width: 575px) {
	.ts-comment-modal .modal-dialog { margin: 12px; }
	.ts-comment-modal .modal-body { padding: 18px; }
	.ts-comment-modal__image { flex-basis: 80px; width: 80px; height: 72px; }
	.ts-comment-modal__article { gap: 12px; }
	.ts-comment-modal__article strong { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.ts-comment-modal.fade .modal-dialog { transition: none; }
}
