/**
 * Public styles for Avado QuickScore.
 *
 * Extracted from the inline <style> block in the original quick-score.php template.
 *
 * @package Avado_Quickscore
 * @since   1.0.0
 */

/* Remove default body margin for full-width layout */
.quickscore-container :root {
	margin: 0 !important;
}

/* QuickScore background image with blur and opacity */
.quickscore-bg-image {
	position: absolute;
	bottom: -125px;
	right: 0;
	width: 200px;
	height: 200px;
	background-image: url('https://www.avadolearning.com/wp-content/uploads/2023/02/favicon.webp');
	background-size: cover;
	background-position: center;
	filter: blur(15px) opacity(0.3);
	z-index: 0;
	pointer-events: none;
}

/* Global Button Styles */
input[type="button"].btn-alt {
	font-size: 16px;
	font-weight: 600;
	color: #453878;
	line-height: 1.25;
	text-align: center;
	text-decoration: none;
	width: max-content;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	padding: 10px 45px;
	background: #3de580;
	border: 2px solid #3de580;
	border-radius: 30px;
}

input[type="button"].btn-alt:hover {
	color: #fff !important;
	text-decoration: none !important;
	background-color: #453878 !important;
}

.button:hover {
	color: #fff !important;
	text-decoration: none !important;
	background-color: #453878 !important;
}

/* Pre-footer element */
.pre-footer {
	margin-bottom: -50px;
	height: 50px;
	border-bottom-left-radius: 50px;
	border-bottom-right-radius: 50px;
}

.button:hover:after {
	border: #fff !important;
}

.btn-alt {
	background-color: #3DE580 !important;
	color: #453878 !important;
}

.btn-alt:after {
	border-color: #3DE580 !important;
}

/* Disabled Form Overlay */
.disabled-quickscore-selectables {
	position: relative;
	z-index: 1;
}

.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.3);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	z-index: 2;
	border-radius: 8px;
}

/* QuickScore 'Q' branding */
.brand .q {
	color: #3de580;
	font-weight: bold;
}

/* Marquee hover pause */
.marquee:hover {
	animation-play-state: paused;
}

@keyframes marquee {
	0%   { text-indent: 100%; }
	100% { text-indent: -100%; }
}

/* Question display transition */
#display-question {
	transition: background-color 0.3s ease;
}

/* =========================================
   QuickScore 2.0 – Response Section Styles
   ========================================= */

/* Overall response wrapper */
#response {
	margin-top: 2rem;
	padding: 1.5rem 0;
}

/* Section headings */
.quickscore-section-heading {
	font-size: 1.25rem;
	font-weight: 700;
	color: #453878;
	margin-bottom: 0.5rem;
	padding-bottom: 0.35rem;
	border-bottom: 3px solid #3de580;
	display: inline-block;
}

/* Feedback section containers */
.quickscore-section {
	margin-bottom: 1.25rem;
}

/* Word count display */
#response-word-count {
	font-size: 1rem;
	color: #333;
	padding: 0.5rem 1rem !important;
}

/* Feedback summary text */
#response1 {
	font-size: 0.975rem;
	line-height: 1.65;
	color: #333;
	padding: 0.5rem 1rem !important;
}

/* Suggestions text – ensure numbered points appear on separate lines */
#response2 {
	font-size: 0.975rem;
	line-height: 1.65;
	color: #333;
}

/* Horizontal dividers between sections */
#response hr {
	border: none;
	border-top: 1px solid #dee2e6;
	margin: 1rem 0;
	opacity: 0.6;
}

/* Tips section */
#response-tips {
	background-color: #f8f5ff;
	border-left: 4px solid #453878;
	border-radius: 0 6px 6px 0;
	padding: 1rem 1.25rem;
	margin-top: 1.25rem;
	margin-bottom: 1rem;
	font-size: 0.925rem;
	line-height: 1.6;
	color: #333;
}

#response-tips b:first-child {
	color: #453878;
	font-size: 1rem;
}

#response-tips ul {
	margin: 0.5rem 0 0 0;
	padding-left: 1.25rem;
}

#response-tips li {
	margin-bottom: 0.4rem;
}

/* Copy button area */
#response .bg-body-tertiary {
	background-color: #f8f9fa !important;
	border-radius: 0 0 0.375rem 0.375rem;
}

/* Footer positioning */
footer {
	position: sticky;
	bottom: 0;
	z-index: -1;
	padding-top: 50px;
	border: 0 0.5px 0.5px 0.5px solid #000000;
}

/* Hide Chatbot widget */
div#designstudio-button {
    display: none;
}

/* Hide Privacy Policy Menu */
ul#menu-privacy-menu {
    display: none;
}

/* Hide Cookies Consent */
aside#usercentrics-cmp-ui {
    display: none;
}