.fp-frontend-wrapper {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    font-family: 'Satoshi', sans-serif;
}

.fp-slide-content {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    background: #fff;
}

.fp-part-title {
    margin-bottom: 10px;
}

.fp-question-item {
	margin-bottom: 25px;
    border: 1px dashed #cacaca;
    transition: background 0.3s;
    padding: 15px;
    border-radius: 4px;
}

.fp-q-label {
    font-weight: bold;
    font-size: 1.1em;
    display: block;
    margin-bottom: 5px;
}

.fp-question-item[data-type="radio"] .fp-q-label:after,
.fp-question-item[data-type="checkbox"] .fp-q-label:after,
.fp-question-item.fp-required .fp-q-label:after {
    content: " *";
    color: red;
}

.fp-q-desc {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
    font-style: italic;
}

.fp-question-body {
    margin-top: 10px;
	display: flex;
    align-items: center;
    gap: 10px;
}

.fp-text-before,
.fp-text-after {
    font-size: 0.9em;
    margin: 5px 0;
}

.fp-choices-vertical .fp-choice {
    display: block;
}

.fp-choices-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.fp-swiper-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.fp-manual-next.fp-manual-next.fp-manual-next, .fp-manual-prev.fp-manual-prev.fp-manual-prev {
    position: static !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    padding: 10px 25px;
    background: transparent !important;
    color: #E73752 !important;
    border-radius: 4px;
    cursor: pointer !important;
    font-weight: bold;
    font-size: 14px;
    border: 1px solid #E73752;
    display: flex;
    align-items: center;
    gap: 10px;
}
.fp-manual-next.disabled,
.fp-manual-prev.disabled {
    opacity: 0.5;
    cursor: default;
    background: #ccc;
    pointer-events: none;
}

.fp-manual-next:after,
.fp-manual-prev:after {
    display: none;
}

.fp-text-input {
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fafafa;
}

.fp-choices-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
	width: 100%;
	
}

.fp-choice {
    cursor: pointer;
}

.fp-choice input:not([type="text"]) {
    display: none;
}

.fp-choice .fp-choice-label {
    padding: 15px 20px;
    border-radius: 5px;
    border: 1px solid;
    display: block;
	text-align: center;
}

.fp-choice input:checked+.fp-choice-label {
    background-color: #E73752;
    color: #fff;
}
.fp-input-error {
	background-color: #fff0f0;
	border: 1px  dashed red;
	transition: background-color 0.3s ease;
}
h2.fp-part-title {
    font-weight: bold;
    color: var(--e-global-color-secondary);
}
/*modal*/
.fp-modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 99999;
    font-family: 'Satoshi', sans-serif;
	/* Flex centering */
	display: flex;
	align-items: center;
	justify-content: center;

	/* Animation State: Hidden */
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Animation State: Visible */
.fp-modal-backdrop.fp-show {
	opacity: 1;
	visibility: visible;
}

.fp-modal-content {
	background: #fff;
	padding: 30px;
	border-radius: 8px;
	max-width: 400px;
	width: 90%;
	position: relative;
	box-shadow: 0 4px 15px rgba(0,0,0,0.2);
	text-align: center;

	/* Slide Up Animation Start */
	opacity: 0;
	transform: translateY(20px); 
	transition: all 0.3s ease-out;
}

/* Slide Up Animation End */
.fp-modal-backdrop.fp-show .fp-modal-content {
	opacity: 1;
	transform: translateY(0);
}

.fp-modal-close-btn {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 24px;
	font-weight: bold;
	color: #aaa;
	cursor: pointer;
	line-height: 1;
	transition: color 0.2s;
}
.fp-modal-close-btn:hover {
	color: #000;
}
.fp-modal-text {
	color: #d9534f;
	font-size: 16px;
}

.result-title {
	background-color: var(--e-global-color-secondary);
	padding-top: 50px;
	padding-bottom: 50px;
}

.result-title h2 {
	color: var(--e-global-color-968885d);
    font-family: 'Satoshi', sans-serif;
	margin: 0;
	font-size: 3rem;
	font-weight: bold;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	padding-left: 20px;
	padding-right: 20px;
}
.single-fp_submission .page-header {
	display: none !important;
}
.single-fp_submission #content {
	max-width: 100%;
	background-color: #f0f0f1;
	padding: 0 !important;
}
.single-fp_submission .fp-submission-view-container {
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	padding-top: 50px;
	padding-bottom: 50px;
}
@media(max-width: 480px) {
	.result-title h2 {
		font-size: 2rem;
	}
	.fp-q-label {
		font-size: 1rem;
	}
	.fp-question-body {
		flex-direction: column;
	}
	.fp-choices-container {
		justify-content: center;
		flex-direction: column;
		width: 100%;
	}
}