/* ==========================================================================
   Pfizer Afterwork — Indian Summer Fest (Puurs, 25/09/2026)
   Design system: pink theme derived from the official banner artwork
   (#f8c4c4) + warm coral accent + navy ink text (the banner's line-art).
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
	/* Pink theme — sampled from /images/banner*.png */
	--pink: #f8c4c4;           /* banner pink (hero, strong fills) */
	--accent: #f2661f;         /* warm coral accent (= --sunset-deep) */
	--accent-deep: #c94e10;    /* coral dark enough for text on white */
	--accent-soft: #fdeae6;    /* soft coral fill (tiles, alerts, badges) */
	--navy: #0b1c3f;           /* headline ink — matches the artwork lines */
	--navy-2: #123064;
	--ink: #16205c;

	/* Summer accent */
	--sunset: #ff8a3d;
	--sunset-deep: #f2661f;
	--sunset-soft: #fff1e6;

	/* Neutrals — pink-tinted surfaces, cool grays kept for muted text */
	--body: #3a4256;
	--gray-50: #fdf6f6;
	--gray-100: #faecec;
	--gray-200: #f0d6d8;
	--gray-300: #e3c1c4;

	/* Surface + shape */
	--bg: #fdf2f2;             /* light pink page background */
	--card: #ffffff;
	--radius: 10px;
	--radius-lg: 16px;

	/* Shadows */
	--shadow-sm: 0 1px 3px rgba(11, 28, 63, .08), 0 1px 2px rgba(11, 28, 63, .05);
	--shadow-md: 0 6px 18px rgba(11, 28, 63, .12), 0 2px 6px rgba(11, 28, 63, .06);
	--shadow-focus: 0 0 0 4px rgba(242, 102, 31, .18);

	--t-fast: .18s ease;
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: none; }

body {
	background: var(--bg);
	color: var(--body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 { color: var(--ink); letter-spacing: -.01em; }
a { color: var(--accent-deep); }
a:hover { color: var(--navy-2); }
hr { border-top: 1px solid var(--gray-200); opacity: 1; }
hr.small { margin-top: 0; margin-bottom: 0; }
p { color: var(--body); }

.container.mt-4 { margin-top: 1.75rem !important; }

/* ==========================================================================
   HERO — official banner artwork (every page). Phones load the square-ish
   artwork, sm and up the wide one. Below lg the text flows under the
   artwork on the matching pink (reads as one extended banner); from lg up
   it overlays the artwork's clear upper-centre.
   ========================================================================== */
.hero {
	position: relative;
	overflow: hidden;
	padding: 0;
	background: #f8c4c4; /* sampled from the banner artwork background */
	color: var(--ink);
}
.hero .hero-bg { display: block; width: 100%; height: auto; }
.hero-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; text-align: center; padding: 1.6rem 1.25rem 1.9rem; }

.hero .badge-edition {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	background: linear-gradient(90deg, var(--sunset), var(--sunset-deep));
	color: #fff;
	font-weight: 700;
	letter-spacing: .14em;
	font-size: .74rem;
	text-transform: uppercase;
	padding: .42rem 1.05rem;
	border-radius: 999px;
	box-shadow: 0 4px 14px rgba(242, 102, 31, .4);
	margin-bottom: 1.1rem;
}
.hero h1 {
	color: var(--navy);
	font-weight: 900;
	letter-spacing: -.02em;
	font-size: clamp(2.1rem, 6vw, 3.4rem);
	line-height: 1.05;
	margin-bottom: .35rem;
}
.hero .hero-sub {
	color: var(--body);
	font-size: 1.06rem;
	font-weight: 300;
	margin-bottom: 1.6rem;
}
/* fact chips: date / time / location */
.hero .facts {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: .6rem .75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.hero .facts li {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	background: #fff;
	border: 1px solid rgba(11, 28, 63, .14);
	border-radius: 999px;
	padding: .45rem 1rem;
	font-size: .88rem;
	font-weight: 600;
	color: var(--ink);
	white-space: nowrap;
}
.hero .facts li svg { flex: 0 0 auto; opacity: .9; }

/* from lg up: overlay the text, biased above the bottom illustration strip */
@media (min-width: 992px) {
	.hero .hero-inner {
		position: absolute;
		inset: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding: 2rem 3rem 15%;
	}
}
@media (max-width: 575.98px) {
	.hero .facts li { font-size: .8rem; padding: .38rem .8rem; }
}

/* FAQ pill — links to /faq/. Filled coral CTA (matches the badge glow) so
   it stands out on the pink hero. Static pill at the right side of the
   intro card on the home page; pinned top-right of the hero (over the
   clear pink sky corner of both banner variants) on the other pages. */
.faq-pill {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0; /* keeps the pill intact next to a long card title */
	background: var(--accent);
	color: #fff;
	border: 2px solid var(--accent);
	border-radius: 999px;
	padding: .55rem 1.5rem;
	font-size: .95rem;
	font-weight: 700;
	letter-spacing: .03em;
	box-shadow: 0 4px 14px rgba(242, 102, 31, .4);
	transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast),
	            box-shadow var(--t-fast), transform var(--t-fast);
}
.faq-pill:hover, .faq-pill:focus {
	background: var(--accent-deep);
	border-color: var(--accent-deep);
	color: #fff;
	text-decoration: none;
	box-shadow: var(--shadow-md);
	transform: translateY(-1px);
}
.hero .faq-pill {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 5;
}
@media (max-width: 575.98px) {
	.hero .faq-pill { top: 10px; right: 10px; padding: .45rem 1.2rem; font-size: .85rem; }
}

/* ==========================================================================
   FAQ LIST (/faq/) — one block per question, answers always visible
   ========================================================================== */
.faq-item {
	background: var(--gray-50);
	border: 1px solid var(--gray-200);
	border-radius: var(--radius);
	padding: .95rem 1.15rem 1.05rem;
}
.faq-item + .faq-item { margin-top: .75rem; }
.faq-item .faq-q {
	margin: 0 0 .35rem;
	font-weight: 700;
	font-size: .98rem;
	line-height: 1.35;
	color: var(--ink);
}
.faq-item .faq-a { font-size: .95rem; }
.faq-item .faq-a > :last-child { margin-bottom: 0; }
.faq-item .faq-a strong { color: var(--ink); }

/* plannetje under the location answer — full card width, click opens the
   full screenshot */
.faq-map img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--gray-300);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	transition: border-color var(--t-fast);
}
.faq-map:hover img, .faq-map:focus img { border-color: var(--accent); }
/* ==========================================================================
   STEP INDICATOR (3 steps: Aanmelden → Gegevens → Bevestigen)
   ========================================================================== */
.steps {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	max-width: 560px;
	margin: 0 auto 1.5rem;
	padding: 0 .5rem;
}
.steps .step {
	position: relative;
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.steps .step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 17px;
	left: calc(50% + 19px);
	right: calc(-50% + 19px);
	height: 2px;
	background: var(--gray-200);
	z-index: 0;
}
.steps .step.done:not(:last-child)::after { background: var(--accent); }
.steps .step .dot {
	position: relative;
	z-index: 1;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .9rem;
	font-weight: 700;
	background: #fff;
	color: #8a93a6;
	border: 2px solid var(--gray-300);
	transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.steps .step.done .dot {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
	font-size: 0;
}
.steps .step.done .dot::before { content: "\2713"; font-size: 1rem; }
.steps .step.active .dot {
	background: #fff;
	border-color: var(--accent);
	color: var(--accent);
	box-shadow: var(--shadow-focus);
}
.steps .step .label {
	margin-top: .45rem;
	font-size: .78rem;
	color: #8a93a6;
	font-weight: 600;
	line-height: 1.1;
}
.steps .step.active .label { color: var(--accent); }
.steps .step.done .label { color: #4a5468; }
.steps.all-done .step .dot { background: var(--accent); border-color: var(--accent); color: #fff; font-size: 0; }
.steps.all-done .step .dot::before { content: "\2713"; font-size: 1rem; }
.steps.all-done .step:not(:last-child)::after { background: var(--accent); }
.steps.all-done .step .label { color: #4a5468; }
@media (max-width: 575.98px) {
	.steps .step .label { display: none; }
	.steps { max-width: 220px; }
}

/* ==========================================================================
   SECTION CARDS
   ========================================================================== */
.s-card {
	background: var(--card);
	border: 1px solid var(--gray-200);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	padding: 1.75rem;
}
@media (max-width: 575.98px) {
	.s-card { padding: 1.15rem; border-radius: 12px; }
}
.s-heading { color: var(--accent-deep); font-weight: 700; }

/* highlighted intro line on the register page */
.highligh-text {
	color: var(--accent-deep);
	font-weight: 700;
	font-size: 1.08rem;
	border-left: 4px solid var(--sunset);
	padding-left: .6rem;
}

/* "card-with-icon" rows on the home page (programme highlights) */
.info-grid { display: flex; flex-wrap: wrap; gap: .75rem; }
.info-tile {
	flex: 1 1 200px;
	background: var(--gray-50);
	border: 1px solid var(--gray-200);
	border-radius: var(--radius);
	padding: .9rem 1rem;
	display: flex;
	align-items: flex-start;
	gap: .65rem;
}
.info-tile .ico {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: #fad6d6; /* lightened banner pink — matches the icon patches */
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.info-tile .ico img { display: block; width: 100%; height: 100%; object-fit: contain; }
.info-tile .t { font-weight: 700; color: var(--ink); font-size: .95rem; }
.info-tile .d { font-size: .84rem; color: var(--body); }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-control {
	border-color: var(--gray-300);
	border-radius: 8px;
	transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-control:focus {
	border-color: var(--accent);
	box-shadow: var(--shadow-focus);
}
.form-label-strong { font-weight: 700; color: var(--ink); margin-bottom: .2rem; }
.form-hint { font-size: .82rem; color: #8a93a6; }

@media (max-width: 575.98px) {
	.form-control[style*="max-width"] { max-width: 100% !important; }
}

/* message box for Luc */
.msg-box {
	background: linear-gradient(180deg, #fffdf9 0%, var(--sunset-soft) 100%);
	border: 1px solid #ffd9bd;
	border-radius: var(--radius);
	padding: 1rem 1.1rem;
}
.msg-box textarea.form-control {
	border-color: #f3c9a8;
	min-height: 130px;
	resize: vertical;
}
.msg-box textarea.form-control:focus {
	border-color: var(--sunset);
	box-shadow: 0 0 0 4px rgba(255, 138, 61, .18);
}

/* radio lists, one option per line — transport question (registration form)
   and employee/derde role choice (home login) */
.transport-opts, .choice-opts { display: flex; flex-direction: column; align-items: flex-start; gap: .45rem; }
.transport-opt, .choice-opt {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	cursor: pointer;
}
.transport-opt input, .choice-opt input {
	margin: 0;
	flex: 0 0 auto;
	accent-color: var(--accent);
	width: 16px;
	height: 16px;
}

/* attendance opt-in (confirmation page) */
.ack-label {
	display: grid;
	grid-template-columns: auto 1fr; /* checkbox | text — text always stays right */
	column-gap: .65rem;
	align-items: start;
	cursor: pointer;
	margin: 0;
}
.ack-label input {
	margin: 0;
	margin-top: .2rem;
	width: 18px;
	height: 18px;
	accent-color: var(--accent);
}
.ack-label span { font-weight: 600; color: var(--ink); }

/* SharePoint upload button */
.sharepoint-btn {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	border: 2px solid #2f6fb5;
	color: #2f6fb5;
	background: #fff;
	border-radius: 999px;
	padding: 10px 26px;
	font-weight: 700;
	transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.sharepoint-btn:hover, .sharepoint-btn:focus {
	background: #2f6fb5;
	color: #fff;
	box-shadow: var(--shadow-md);
	transform: translateY(-1px);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.submit-btn,
.next-btn {
	border: 2px solid var(--accent);
	border-radius: 999px;
	background: #fff;
	padding: 11px 38px;
	color: var(--accent-deep);
	font-weight: 700;
	letter-spacing: .02em;
	transition: background var(--t-fast), color var(--t-fast),
	            box-shadow var(--t-fast), transform var(--t-fast);
}
.submit-btn:hover, .submit-btn:focus,
.next-btn:hover, .next-btn:focus {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
	box-shadow: var(--shadow-md);
	transform: translateY(-1px);
}
/* filled variant for the primary CTA */
.submit-btn.btn-filled {
	background: var(--accent);
	color: #fff;
}
.submit-btn.btn-filled:hover, .submit-btn.btn-filled:focus {
	background: var(--accent-deep);
	border-color: var(--accent-deep);
	color: #fff;
}

.back-btn {
	border: 2px solid var(--gray-300);
	border-radius: 999px;
	background: #fff;
	padding: 11px 38px;
	color: #5b6478;
	font-weight: 700;
	transition: background var(--t-fast), color var(--t-fast),
	            box-shadow var(--t-fast), transform var(--t-fast);
}
.back-btn:hover, .back-btn:focus {
	background: #5b6478;
	color: #fff;
	box-shadow: var(--shadow-md);
	transform: translateY(-1px);
}

/* ==========================================================================
   ALERTS
   ========================================================================== */
.alert { border-radius: var(--radius); }
.alert-danger {
	border-color: #f3c2bd;
	background: #fdeeec;
	color: #a23a2f;
}
.alert-info {
	border-color: #f6cdb8;
	background: var(--accent-soft);
	color: #9c4b10;
}
.alert-success {
	border-color: #bfe3c6;
	background: #edf9ef;
	color: #23643a;
}

/* success page check */
.success-check {
	width: 84px;
	height: 84px;
	margin: 0 auto 1.1rem;
	border-radius: 50%;
	background: var(--accent-soft);
	display: flex;
	align-items: center;
	justify-content: center;
}
.success-check svg { width: 44px; height: 44px; }

/* ==========================================================================
   LOGIN (WorkDay ID)
   ========================================================================== */
.login-note {
	font-size: .84rem;
	color: #8a93a6;
	background: var(--gray-50);
	border: 1px dashed var(--gray-200);
	border-radius: var(--radius);
	padding: .6rem .8rem;
}
.login-note a { word-break: break-all; }

/* ==========================================================================
   FOOTER + ANIMATION
   ========================================================================== */
footer .text-muted, footer small { color: #98a0b3 !important; }
footer a { color: #98a0b3 !important; text-decoration: underline; }

.fade-in { animation: sFadeIn .32s ease-out both; }
@keyframes sFadeIn {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; }
	.fade-in { animation: none; }
}
