/* Webinar tracking: email gate, completion form, Q&A form */

/* Raw "Please Note" / pop-quiz markup — the content is moved into wks-style
   modals by webinar-tracking.js, so never show the bare divs */
#dialog,
#popquiz-1,
#popquiz-2,
#popquiz-3 {
	display: none;
}

/* --- Full-page modal overlays (email gate, Please Note, pop quizzes) --- */
#wks-gate,
#wks-notice,
.wks-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.8);
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
}

.wks-gate-box {
	background: #fff;
	max-width: 440px;
	width: 92%;
	padding: 32px 28px;
	border-radius: 6px;
	text-align: center;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.wks-gate-box h3 {
	margin: 0 0 12px;
	color: #850700;
	font-family: 'Dosis', sans-serif;
	font-weight: bold;
	font-size: 24px;
}

.wks-gate-box p {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.5;
}

/* "I Understand" / "I Do Not Understand" buttons inside the notice */
.wks-gate-box button {
	margin: 6px 5px 0;
}

/* --- Big Start button over the video --- */
#video-section {
	position: relative;
}

#wks-start {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.45);
	z-index: 50;
}

#wks-start button {
	background: #850700;
	color: #fff;
	border: 0;
	border-radius: 6px;
	padding: 22px 60px;
	font-size: 26px;
	font-family: 'Dosis', sans-serif;
	font-weight: bold;
	cursor: pointer;
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
}

#wks-start button:hover {
	background: #a52a21;
}

/* --- Progress bar + time remaining (display only, not seekable) --- */
#wks-progress {
	margin: 8px 0 4px;
}

.wks-progress-track {
	width: 100%;
	height: 10px;
	background: #ddd;
	border-radius: 5px;
	overflow: hidden;
}

.wks-progress-fill {
	width: 0;
	height: 100%;
	background: #850700;
	border-radius: 5px;
	transition: width 0.3s linear;
}

.wks-progress-time {
	margin-top: 5px;
	font-size: 14px;
	color: #444;
	text-align: right;
}

.wks-progress-remaining {
	font-weight: 700;
	color: #850700;
}

/* Pop-quiz question text and True/False buttons */
.wks-quiz-question {
	margin: 0 0 18px;
	font-size: 16px;
	line-height: 1.5;
}

.wks-quiz-buttons button {
	min-width: 110px;
}

.wks-gate-box input[type="email"] {
	width: 100%;
	padding: 10px 12px;
	font-size: 16px;
	border: 1px solid #ccc;
	border-radius: 4px;
	margin-bottom: 12px;
	box-sizing: border-box;
}

/* --- Shared form styles --- */
.wks-form label {
	display: block;
	margin-bottom: 10px;
	font-weight: 600;
}

.wks-form input[type="text"],
.wks-form input[type="email"],
.wks-form textarea {
	display: block;
	width: 100%;
	padding: 8px 10px;
	font-size: 15px;
	font-weight: normal;
	border: 1px solid #ccc;
	border-radius: 4px;
	margin-top: 4px;
	box-sizing: border-box;
}

.wks-form textarea {
	min-height: 110px;
}

.wks-gate-box button,
.wks-form button {
	background: #850700;
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: 10px 26px;
	font-size: 16px;
	cursor: pointer;
}

.wks-gate-box button:hover,
.wks-form button:hover {
	background: #a52a21;
}

.wks-gate-box button:disabled,
.wks-form button:disabled {
	opacity: 0.6;
	cursor: default;
}

/* Honeypot — hidden from humans */
.wks-hp {
	position: absolute !important;
	left: -9999px !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.wks-form-msg {
	margin-top: 10px;
	font-size: 14px;
	min-height: 1em;
}

.wks-form-msg.wks-error {
	color: #b30000;
	font-weight: 600;
}

.wks-complete-thanks {
	padding: 18px;
	background: #e7f6e7;
	border: 1px solid #b8ddb8;
	border-radius: 4px;
	color: #1e4620;
	font-size: 16px;
	margin: 10px 0;
}

.wks-question-wrap {
	margin-bottom: 15px;
}
