.ses-qc-app, .ses-qc-app *, .ses-qc-app *::before, .ses-qc-app *::after { box-sizing: border-box; }
.ses-qc-page-bg {
	background-image: url('images/background.jpg');
	background-size: cover;
	background-position: center;
	padding: 20px 16px 48px;
}
.ses-qc-app { max-width: 780px; margin: 0 auto; font-family: inherit; width: 100%; font-size: 17px !important; }
.ses-qc-card {
	background: rgba(255, 255, 255, 0.94);
	border-radius: 14px;
	padding: 36px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}
.ses-qc-logo { text-align: center; margin-bottom: 0.75em; }
.ses-qc-logo-main { max-width: 160px !important; width: 160px !important; height: auto !important; display: block; margin: 0 auto; }
.ses-qc-velux-badge { text-align: center; margin-bottom: 0.5em; }
.ses-qc-logo-velux { max-width: 110px !important; width: 110px !important; height: auto !important; display: block; margin: 0 auto; }
.ses-qc-masthead { text-align: center; margin-bottom: 1.25em; }
.ses-qc-masthead-title { font-size: 2.1em !important; color: #ffffff !important; font-weight: 700 !important; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45) !important; margin: 0 !important; line-height: 1.25 !important; }
.ses-qc-masthead-subtitle { color: rgba(255, 255, 255, 0.95) !important; margin-top: 6px !important; font-size: 1.05em !important; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45) !important; }

/* Progress: a thin gradient "beam" line showing overall progress, with plain
   text step labels underneath — no boxes, matching the design used in the
   browser preview rather than the old flat-colour box style. */
.ses-qc-beamline { position: relative; height: 6px; background: #e2e2e2; border-radius: 99px; margin: 4px 0 10px; }
.ses-qc-beamline-fill { position: absolute; top: 0; left: 0; height: 100%; background: linear-gradient(90deg, #2b6cb0, #e8a33d); border-radius: 99px; transition: width .35s ease; }
.ses-qc-progress { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.75em; }
.ses-qc-progress-step { flex: 1; min-width: 0; text-align: center; padding: 4px; font-size: 0.8em !important; font-weight: 600; background: none !important; color: #8a8a8a !important; overflow-wrap: break-word; }
.ses-qc-progress-step.active { color: #14283A !important; }
.ses-qc-step h3 { margin-top: 0; font-size: 1.25em; }
.ses-qc-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.5em; }
.ses-qc-option { border: 1px solid #ddd; border-radius: 6px; padding: 14px 16px; cursor: pointer; font-size: 1em; }
.ses-qc-option:hover { border-color: #2b6cb0; }
.ses-qc-option input { margin-right: 10px; }
.ses-qc-category-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1.5em; align-items: flex-start; }
.ses-qc-category-item { flex: 1 1 170px; min-width: 150px; display: flex; flex-direction: column; }
.ses-qc-category-btn { flex: 1 1 170px; min-width: 150px; width: 100%; background: #f5f5f5; color: #222; border: 2px solid #ddd; border-radius: 8px; padding: 16px 12px; font-size: 1.02em; font-weight: 600; cursor: pointer; word-break: break-word; }
.ses-qc-category-btn:hover { border-color: #2b6cb0; }
.ses-qc-category-btn.selected { background: #2b6cb0; color: #fff; border-color: #2b6cb0; }
.ses-qc-category-btn--contact { background: #fff; color: #2b6cb0; border-style: dashed; border-color: #2b6cb0; display: flex; align-items: center; justify-content: center; gap: 8px; }
.ses-qc-category-btn--contact:hover { background: #eef5fb; }
.ses-qc-contact-icon { flex-shrink: 0; }
.ses-qc-fine-print { font-size: 0.82em; color: #777; margin: 6px 4px 0; text-align: center; font-weight: normal; }
.ses-qc-required { color: #c0392b; font-weight: 700; }
.ses-qc-locked { opacity: 0.45; pointer-events: none; position: relative; }
.ses-qc-locked-note { display: none; font-size: 0.9em; color: #a05a00; background: #fff3d6; border-radius: 6px; padding: 6px 10px; margin: -4px 0 10px; }
.ses-qc-locked .ses-qc-locked-note { display: block; }
.ses-qc-category-buttons .ses-qc-locked-note { display: block; width: 100%; flex-basis: 100%; }
.ses-qc-discount-note { background: #fff8e6; border: 1px solid #f0d98c; border-radius: 6px; padding: 10px 14px; font-size: 0.92em; color: #6b5300; margin-bottom: 1em; }
.ses-qc-skylight-row { border: 1px solid #ddd; border-radius: 6px; padding: 16px; margin-bottom: 1em; position: relative; }
.ses-qc-skylight-row select, .ses-qc-skylight-row input { display: block; width: 100%; margin: 6px 0 14px; padding: 9px; }
.ses-qc-app select {
	display: block; width: 100%; padding: 11px 12px; margin: 6px 0 14px;
	border: 1.5px solid #ddd; border-radius: 8px; font-size: 1em; font-family: inherit;
	background: #fff; cursor: pointer; color: #222;
}
.ses-qc-app select:hover { border-color: #2b6cb0; }
.ses-qc-app select:focus { outline: 2px solid #2b6cb0; outline-offset: 1px; border-color: #2b6cb0; }
#ses-qc-back-tray-wrap { background: #f7f9fb; border: 1px solid #dde5ec; border-radius: 8px; padding: 14px 16px; margin-bottom: 1.5em; }
#ses-qc-back-tray-wrap .ses-qc-fine-print { margin: 0 0 10px; }
.ses-qc-remove-skylight { position: absolute; top: 10px; right: 10px; background: none; border: none; color: #c00; cursor: pointer; }
.ses-qc-app label { display: block; margin-bottom: 1em; font-weight: 600; font-size: 1em; }
.ses-qc-app input[type=text], .ses-qc-app input[type=email], .ses-qc-app input[type=tel], .ses-qc-app textarea { display: block; width: 100%; font-weight: normal; padding: 9px; margin-top: 4px; font-size: 1em; }
.ses-qc-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 1.5em; flex-wrap: wrap; }
.ses-qc-actions button, #ses-qc-add-skylight { background: #2b6cb0; color: #fff; border: none; padding: 11px 22px; border-radius: 4px; cursor: pointer; font-size: 1em; }
.ses-qc-back { background: #999 !important; }
.ses-qc-secondary { background: #eee !important; color: #333 !important; border: 1px solid #ccc !important; }
.ses-qc-note { font-size: 0.92em; color: #555; margin: 0.5em 0 1em; }
.ses-qc-summary { background: #f7f7f7; border-radius: 6px; padding: 14px; margin: 1em 0; overflow-x: auto; }
.ses-qc-summary table { width: 100%; border-collapse: collapse; }
.ses-qc-summary td { padding: 4px 0; }
.ses-qc-success { text-align: center; padding: 2em; }

/* Tablet */
@media (max-width: 640px) {
	.ses-qc-card { padding: 22px; }
	.ses-qc-progress-step { font-size: 0.72em !important; padding: 4px 3px; }
}

/* Phone */
@media (max-width: 420px) {
	.ses-qc-app { font-size: 16px !important; }
	.ses-qc-page-bg { padding: 12px 10px 32px; }
	.ses-qc-card { padding: 16px; border-radius: 10px; }
	.ses-qc-logo-main { max-width: 130px !important; width: 130px !important; }
	.ses-qc-logo-velux { max-width: 78px !important; width: 78px !important; }
	.ses-qc-masthead-title { font-size: 1.5em !important; }
	.ses-qc-masthead-subtitle { font-size: 0.88em !important; }
	/* Full step labels get too cramped on a phone-width progress bar — switch to a simple "Step X of 5" indicator instead. */
	.ses-qc-progress { position: relative; margin-bottom: 1.25em; }
	.ses-qc-progress-step { display: none; font-size: 0 !important; padding: 0; }
	.ses-qc-progress::before {
		content: "Step " attr(data-current) " of 5";
		display: block; text-align: center; font-size: 0.8em; font-weight: 600;
		color: #2b6cb0; background: #eef5fb; border-radius: 4px; padding: 8px 4px;
	}
	.ses-qc-category-item, .ses-qc-category-btn { flex-basis: 100%; min-width: 0; }
	.ses-qc-actions { flex-direction: column-reverse; }
	.ses-qc-actions button { width: 100%; }
}
