@charset "UTF-8";

.vqa-wrapper {
	margin: 20px 0;
}
.vqa-main {
	width: calc(100% - 115px);
}
.vqa-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
}
#vqa-ask-btn {
	box-shadow: 0px 4px 4px 0px #6366F14D;
	background: var(--color1);
	color: #fff;
	gap: 8px;
	padding: 8px 10px;
	margin-bottom: 13px;
}
#vqa-ask-btn i {
	font-size: 18px;
}
#vqa-ask-btn:hover {
	background: var(--color2);
}
.filters {
	display: flex;
	gap: 10px;
}
.vqa-btn {
	padding: 8px 17px;
	cursor: pointer;
	font-size: 14px;
	display: flex;
	pointer-events: auto;
	min-width: 90px;
	height: 42px;
	justify-content: center;
	align-items: center;
	background: #fff;
	box-shadow: 0px 4px 6px -4px #0000001A , 0px 10px 15px -3px #0000001A;
	border-radius: 30px;
	font-family: inherit;
	border: 1px solid transparent;
	transition: 0.4s ease;
}
.vqa-btn.active {
	color: var(--color1);
	border-color: #A5B4FC;
}
.vqa-btn:hover {
	border-color: var(--color1);
}
#vqa-answer-btn {
	background: var(--color1);
	color: #fff;
	position: relative;
	margin: 0 auto 20px 20px;
}
.vqa-list .vqa-item {
	background: #fff;
	border-radius: 30px;
	margin-bottom: 20px;
	align-items: flex-start;
	box-shadow: 0px 4px 6px -4px #0000001A, 0px 10px 15px -3px #0000001A;
	border: 1px solid transparent;
	transition: 0.4s ease;
	position: relative;
	cursor: pointer;
}
.vqa-item:hover {
	border-color: #A5B4FC;
}
.vqa-item::after {
	content: "\e90f";
	font-family: 'icomoon';
	position: absolute;
	left: 20px;
	top: 25px;
	font-size: 9px;
	color: #0F172A;
	line-height: 1;
	transition: 0.4s ease;
}
.vqa-item.active:after {
	content: "\e901";
	transform: rotate(-90deg);
}
.vqa-item:hover .vqa-item-head:after {
	color: var(--color1);
}
.vqa-item:hover > .vqa-item-head .vqa-item-author{
	color: var(--color1);
}
.vqa-loading-list {
	text-align: center;
	color: var(--info);
	font-size: 14px;
}
.vqa-item-answers {
	padding-right: 80px;
	position: relative;
}
.vqa-item-answers::before {
	width: 18.5px;
	height: 58px;
	content: '';
	border: 1px solid #94A3B8;
	border-left: 0;
	border-top: 0;
	border-bottom-right-radius: 30px;
	position: absolute;
	right: 50px;
}
.vqa-item-content {
	padding: 0 20px 24px 15px;
	font-size: 14px;
}
.vqa-item-head {
	display: flex;
	align-items: center;
	gap: 20px;
	position: relative;
	padding: 15px;
}
.vqa-item-head img {
	display: flex;
	max-width: 60px;
	border-radius: 20px;
	overflow: hidden;
}
.vqa-item-left {
	flex: 0 0 58px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vqa-like-btn {
	background: #fff;
	color: #000;
	padding: 2px;
	border-radius: 30px;
	cursor: pointer;
	position: absolute;
	left: 16px;
	bottom: 14px;
	transition: opacity .15s;
	box-shadow: 0px 4px 6px -4px #0000001A;
	min-width: 51px;
	height: 24px;
	border: 1px solid #A5B4FC;
	font-size: 12px;
	display: flex;
	gap: 7px;
	align-items: center;
	justify-content: center;
}

.vqa-like-btn i {
    color: var(--color1);
    font-size: 13px;
}

.vqa-like-btn.loading i,
.vqa-like-btn.loading span {
    pointer-events: none;
    opacity: 0.1;
}

.vqa-like-btn.loading::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgb(0 0 0 / 20%);
    border-top-color: var(--color2);
    animation: loading-spin 0.8s linear infinite;
}

@keyframes loading-spin {
    to { transform: translateY(-50%) rotate(360deg); }
}

.vqa-item-main {
	flex: 1;
}

.vqa-item-title {
	margin: 0;
	font-size: 18px;
	color: #000;
}
.vqa-item-author {
	font-size: 14px;
	font-variation-settings: var(--wgh_700);
	transition: 0.4s ease;
}
.vqa-item-excerpt {
	margin: 6px 0;
	color: #666;
	font-size: 13px;
}

.vqa-item-meta {
	font-size: 12px;
	color: #9aa0b4;
}

.vqa-modal {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 9999;
}

.vqa-modal-inner {
	background: #fff;
	width: 520px;
	max-width: 95%;
	border-radius: 30px;
	position: relative;
	box-shadow: 0 20px 60px rgba(20, 20, 40, 0.2);
}
.vqa-modal-inner .title {
	margin-bottom: 16px;
	font-size: 18px;
}
.vqa-close {
	position: absolute;
	top: 23px;
	left: 8px;
	border: none;
	background: transparent;
	font-size: 18px;
	cursor: pointer;
}
#vqa-content-answers {
	width: 100%;
	background: #F1F5F9;
	border: 1px solid transparent;
	padding: 11px 12px 11px 25px;
	color: #000;
	font-size: 13px;
	border-radius: 20px;
	box-shadow: 0px 2px 4px 0px #0000000D inset;
	transition: 0.4s ease;
	font-family: inherit;
	margin-bottom: 16px;
}
#vqa-title,
#vqa-content {
	width: 100%;
	background: #F1F5F9;
	border: 1px solid transparent;
	padding: 11px 12px 11px 25px;
	color: #000;
	font-size: 13px;
	border-radius: 20px;
	box-shadow: 0px 2px 4px 0px #0000000D inset;
	transition: 0.4s ease;
	font-family: inherit;
	margin-bottom: 16px;
}
#vqa-content-answers:focus,
#vqa-title:focus,
#vqa-content:focus {
	border-color: var(--color1);
}
.vqa-form-wrap {
	padding: 18px;
}
.vqa-actions {
	display: flex;
	gap: 10px;
	align-items: center;
}

.vqa-detail {
	position: fixed;
	right: 30px;
	bottom: 30px;
	width: 480px;
	max-width: 95%;
	background: #fff;
	border-radius: 12px;
	padding: 12px;
	z-index: 10000;
	box-shadow: 0 30px 60px rgba(10, 10, 40, 0.2);
}

.vqa-detail .vqa-close-detail {
	position: absolute;
	left: 8px;
	top: 8px;
	border: none;
	background: transparent;
	font-size: 18px;
	cursor: pointer;
}


.vqa-answer {
	background: #f8f9ff;
	padding: 8px;
	border-radius: 8px;
	margin-bottom: 8px;
}

.vqa-answer-author {
	font-size: 12px;
	color: #556;
	margin-bottom: 6px;
}

.vqa-answer-content {
	font-size: 13px;
	color: #222;
}

.vqa-empty,
.vqa-empty-answers {
	color: #777;
	padding: 14px;
}

@media (max-width: 600px) {
	.vqa-detail {
		right: 10px;
		left: 10px;
		bottom: 10px;
		width: auto;
	}
}
