@import "../utils/pixelio_cart_abandon_recovery_more_color";
@import "../utils/pixelio_cart_abandon_recovery_more_mixins";
@import "../utils/pixelio_cart_abandon_recovery_more_color";
@import "../utils/pixelio_cart_abandon_recovery_more_mixins";

/* =========================
   FAQ PAGE - RIVIO SaaS UI
========================= */

#pixelio-cart-abandon-recovery-more-page-section-faq {
	@include pixelio-cart-abandon-recovery-more-margin-right-left-50px;

	padding: 32px;
	min-height: 100vh;
}

/* =========================
   FAQ CONTAINER
========================= */

.pixelio-faq-container {
	max-width: 900px;
	margin: 0 auto;

	display: flex;
	flex-direction: column;
	gap: 18px;
}

/* =========================
   FAQ ITEM
========================= */

.pixelio-faq-item {
	position: relative;

	background: rgba(255,255,255,0.92);

	border: 1px solid rgba(29,58,114,0.08);

	border-radius: 24px;

	overflow: hidden;

	box-shadow:
		0 10px 30px rgba(29,58,114,0.08),
		0 2px 8px rgba(0,0,0,0.04);

	transition:
		transform .25s ease,
		box-shadow .25s ease,
		border-color .25s ease;
}

/* Top accent line */
.pixelio-faq-item::before {
	content: "";

	position: absolute;
	top: 0;
	left: 0;

	width: 100%;
	height: 4px;

	background:
		linear-gradient(
				90deg,
				#e04e3a,
				#1d3a72
		);
}

.pixelio-faq-item:hover {
	transform: translateY(-3px);

	border-color: rgba(29,58,114,0.12);

	box-shadow:
		0 18px 40px rgba(29,58,114,0.12);
}

/* =========================
   QUESTION BUTTON
========================= */

.pixelio-faq-question {
	position: relative;

	width: 100%;

	display: flex;
	align-items: center;
	justify-content: space-between;

	gap: 20px;

	padding: 22px 26px;

	background: transparent !important;

	border: none;

	cursor: pointer;

	text-align: left;

	color: #1d3a72;

	font-size: 16px;
	font-weight: 800;

	letter-spacing: -0.02em;

	transition:
		background .2s ease,
		color .2s ease;
}

.pixelio-faq-question:hover {
	background: rgba(29,58,114,0.03) !important;
}

/* Chevron */
.pixelio-faq-question::after {
	content: "";

	min-width: 18px;
	width: 18px;
	height: 18px;

	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231d3a72' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;

	transition:
		transform .25s ease,
		opacity .2s ease;

	opacity: .8;
}

/* Open state */
.pixelio-faq-item.active .pixelio-faq-question::after {
	transform: rotate(180deg);
}

/* =========================
   ANSWER
========================= */

.pixelio-faq-answer {
	display: none;

	padding:
		 26px;

	background: transparent;

	color: #4b5563;

	font-size: 14px;
	line-height: 1.75;

	border-top: 1px solid #edf2fb;
}

/* Links inside answers */
.pixelio-faq-answer a {
	color: #e04e3a;
	font-weight: 700;
	text-decoration: none;
}

.pixelio-faq-answer a:hover {
	text-decoration: underline;
}

/* =========================
   CONTACT FORM
========================= */

.pixelio-contact-form {
	margin-top: 40px;

	background: rgba(255,255,255,0.92);

	border: 1px solid rgba(29,58,114,0.08);

	border-radius: 28px;

	padding: 32px;

	box-shadow:
		0 10px 30px rgba(29,58,114,0.08),
		0 2px 8px rgba(0,0,0,0.04);
}

.pixelio-contact-form input,
.pixelio-contact-form textarea {
	width: 100%;

	padding: 14px 16px;

	border-radius: 16px;

	border: 1px solid #dbe3f1;

	background: #fff;

	color: #111827;

	font-size: 14px;

	box-shadow:
		0 2px 8px rgba(29,58,114,0.04);

	transition:
		border-color .2s ease,
		box-shadow .2s ease,
		transform .2s ease;
}

.pixelio-contact-form textarea {
	min-height: 140px;
	resize: vertical;
}

.pixelio-contact-form input:focus,
.pixelio-contact-form textarea:focus {
	outline: none;

	border-color: #1d3a72;

	box-shadow:
		0 0 0 4px rgba(29,58,114,0.12);

	transform: translateY(-1px);
}

/* Labels */
.pixelio-contact-form label {
	display: block;

	margin-bottom: 10px;

	color: #1d3a72;

	font-size: 14px;
	font-weight: 700;
}

/* Submit button */
.pixelio-contact-form button,
.pixelio-contact-form input[type="submit"] {
	border: none;

	background:
		linear-gradient(
				135deg,
				#e04e3a 0%,
				#c63f2d 100%
		);

	color: #fff;

	font-weight: 800;

	padding: 14px 24px;

	border-radius: 16px;

	cursor: pointer;

	transition:
		transform .2s ease,
		box-shadow .2s ease;

	box-shadow:
		0 10px 24px rgba(224,78,58,0.22);
}

.pixelio-contact-form button:hover,
.pixelio-contact-form input[type="submit"]:hover {
	transform: translateY(-2px);

	box-shadow:
		0 14px 30px rgba(224,78,58,0.28);
}
#pixelio-cart-abandon-recovery-more-accordion{
	display: flex;
	flex-direction: column;
	gap: 25px;
}
/* =========================
   CHECKBOX
========================= */

.pixelio-cart-abandon-recovery-more-checkbox-wrapper {
	display: flex;
	align-items: center;
	gap: 12px;

	margin-top: 18px;
	margin-right: 0;
}

.pixelio-cart-abandon-recovery-more-checkbox-wrapper input[type="checkbox"] {
	width: 18px;
	height: 18px;

	accent-color: #e04e3a;

	cursor: pointer;
}

/* =========================
   FOOTER
========================= */

#wpfooter {
	position: relative;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {

	#pixelio-cart-abandon-recovery-more-page-section-faq {
		padding: 18px;
	}

	.pixelio-faq-item,
	.pixelio-contact-form {
		border-radius: 22px;
	}

	.pixelio-faq-question {
		padding: 20px;
		font-size: 15px;
	}

	.pixelio-faq-answer {
		padding:
			0 20px 20px 20px;
	}

	.pixelio-contact-form {
		padding: 22px;
	}
}

/*# sourceMappingURL=data:application/json;base64,  */