/* =====================================================================
   Pro Juvenes – custom CSS dla ankiety Crowdsignal
   Styl jak na stronie „Nominowani”: ciemny gradient, złoty #f6d18c,
   nagłówki Poppins (cienkie, wersaliki), tekst Open Sans.
   Selektory wg https://crowdsignal.com/support/custom-survey-css/
   ===================================================================== */
/* ---------- Strona ---------- */
html,
body
{
	margin:0;
	min-height:100%;
	background-color:#1f1f1f;
	background-image:linear-gradient(180deg, #121212 0, #1f1f1f 900px);
	background-repeat:no-repeat;
	color:#fff;
	font-family:"Open Sans", Helvetica, Arial, Lucida, sans-serif;
	font-size:15px;
	font-weight:400;
	line-height:1.7;
	-webkit-text-size-adjust:100%;
	text-size-adjust:100%;
}

body *,
body ::before,
body ::after
{
	box-sizing:border-box;
}

.PDF_pageOuter
{
	max-width:860px;
	margin:0 auto;
	padding:64px 20px 80px;
	background:transparent;
	border:0;
	box-shadow:none;
}

.PDF_pageInner
{
	padding:0;
	background:transparent;
	border:0;
	box-shadow:none;
}

/* ---------- Tytuł i opis ankiety (h1/h2 poza pytaniami) ---------- */
body h1,
body h2
{
	margin:0 0 20px;
	padding:0 0 0 .18em;
	font-family:Poppins, Helvetica, Arial, Lucida, sans-serif;
	font-size:40px;
	font-weight:200;
	line-height:1.25;
	letter-spacing:.18em;
	text-transform:uppercase;
	text-align:center;
	color:#f6d18c;
	background:none;
	border:0;
}

body h2
{
	font-size:26px;
	font-weight:300;
	letter-spacing:.06em;
}

body p
{
	color:#fff;
}

body a
{
	color:#f6d18c;
	text-decoration:underline;
	text-underline-offset:3px;
}

body a:hover
{
	color:#fff;
}

/* ---------- Pytania ---------- */
.PDF_question
{
	margin:0;
	padding:28px 0;
	background:transparent;
	border:0;
}

.PDF_questionDivide
{
	height:0;
	margin:0;
	padding:0;
	border:0;
	border-top:1px solid rgba(246, 209, 140, .28);
	background:none;
	overflow:hidden;
}

.PDF_question .qNumber
{
	font-family:Poppins, Helvetica, Arial, Lucida, sans-serif;
	font-size:15px;
	font-weight:300;
	letter-spacing:.06em;
	color:#f6d18c;
	opacity:.8;
}

.PDF_question .qContent
{
	min-width:0;
}

.PDF_question .qTitle,
.PDF_question .qTitle p
{
	margin:0 0 6px;
	font-family:"Open Sans", Helvetica, Arial, Lucida, sans-serif;
	font-size:19px;
	font-weight:600;
	line-height:1.4;
	color:#f6d18c;
	overflow-wrap:break-word;
}

.PDF_question .qNote,
.PDF_question .qNote p
{
	margin:0 0 14px;
	font-size:14px;
	line-height:1.6;
	color:rgba(255, 255, 255, .72);
}

/* Gwiazdka pola wymaganego i komunikaty błędów */
.PDF_question .required,
.PDF_question .qTitle span[class*="req"]
{
	color:#f6d18c;
}

body [class*="error"],
body [class*="Error"]
{
	color:#ffb4a6;
}

/* ---------- Pola tekstowe, listy rozwijane ---------- */
.PDF_question input[type="text"],
.PDF_question input[type="email"],
.PDF_question input[type="url"],
.PDF_question input[type="number"],
.PDF_question input[type="tel"],
.PDF_question textarea,
.PDF_question select
{
	max-width:100%;
	margin:4px 0;
	padding:10px 14px;
	font-family:"Open Sans", Helvetica, Arial, Lucida, sans-serif;
	font-size:15px;
	line-height:1.5;
	color:#fff;
	background:rgba(255, 255, 255, .04);
	border:1px solid rgba(246, 209, 140, .45);
	border-radius:6px;
	box-shadow:none;
	outline:none;
	transition:border-color .2s, box-shadow .2s, background-color .2s;
}

.PDF_question textarea
{
	min-height:120px;
	resize:vertical;
}

.PDF_question select
{
	padding-right:36px;
	cursor:pointer;
}

.PDF_question select option
{
	color:#fff;
	background:#1f1f1f;
}

.PDF_question input::placeholder,
.PDF_question textarea::placeholder
{
	color:rgba(255, 255, 255, .4);
}

.PDF_question input[type="text"]:hover,
.PDF_question input[type="email"]:hover,
.PDF_question input[type="url"]:hover,
.PDF_question textarea:hover,
.PDF_question select:hover
{
	border-color:#f6d18c;
}

.PDF_question input[type="text"]:focus,
.PDF_question input[type="email"]:focus,
.PDF_question input[type="url"]:focus,
.PDF_question input[type="number"]:focus,
.PDF_question input[type="tel"]:focus,
.PDF_question textarea:focus,
.PDF_question select:focus
{
	border-color:#f6d18c;
	background:rgba(255, 255, 255, .07);
	box-shadow:0 0 0 3px rgba(246, 209, 140, .35);
}

/* Szerokości z ustawień pytania */
.PDF_question .small
{
	width:220px;
}

.PDF_question .medium
{
	width:420px;
}

.PDF_question .large
{
	width:100%;
}

/* Plik do przesłania */
.PDF_QT1600 input[type="file"]
{
	max-width:100%;
	color:rgba(255, 255, 255, .8);
	font-family:inherit;
}

.PDF_QT1600 input[type="file"]::file-selector-button
{
	margin-right:14px;
	padding:8px 18px;
	font-family:Poppins, Helvetica, Arial, Lucida, sans-serif;
	font-size:13px;
	font-weight:300;
	letter-spacing:.06em;
	text-transform:uppercase;
	color:#f6d18c;
	background:transparent;
	border:1px solid rgba(246, 209, 140, .65);
	border-radius:999px;
	cursor:pointer;
}

/* ---------- Wybór jednokrotny / wielokrotny ---------- */
.PDF_QT400 ul
{
	margin:4px 0 0;
	padding:0;
	list-style:none;
}

.PDF_QT400 li
{
	margin:0;
	padding:0;
	list-style:none;
	background:none;
}

.PDF_QT400 li label
{
	display:flex;
	align-items:flex-start;
	gap:12px;
	margin:2px 0;
	padding:10px 12px;
	border-radius:6px;
	color:#fff;
	cursor:pointer;
	transition:background-color .2s;
}

.PDF_QT400 li label:hover
{
	background:rgba(255, 255, 255, .05);
}

.PDF_question input[type="radio"],
.PDF_question input[type="checkbox"]
{
	flex:none;
	width:18px;
	height:18px;
	margin:3px 0 0;
	accent-color:#f6d18c;
	cursor:pointer;
}

.PDF_question input[type="radio"]:focus-visible,
.PDF_question input[type="checkbox"]:focus-visible
{
	outline:2px solid #fff;
	outline-offset:2px;
}

/* Gdy input stoi obok etykiety (a nie w niej) */
.PDF_QT400 li > input[type="radio"],
.PDF_QT400 li > input[type="checkbox"]
{
	float:left;
	margin:13px 0 0 12px;
}

.PDF_QT400 li > input + label
{
	padding-left:42px;
}

/* ---------- Imię i nazwisko, adres, data ---------- */
.PDF_QT800 input,
.PDF_QT900 input,
.PDF_QT900 select,
.PDF_QT1000 select,
.PDF_QT1000 input
{
	margin-right:8px;
}

.PDF_QT800 label,
.PDF_QT900 label,
.PDF_QT1000 label
{
	display:block;
	font-size:13px;
	color:rgba(255, 255, 255, .72);
}

/* ---------- Macierz / skala Likerta ---------- */
.PDF_QT1200 table
{
	width:100%;
	margin-top:8px;
	border-collapse:collapse;
	background:transparent;
	border:0;
}

.PDF_QT1200 th,
.PDF_QT1200 td
{
	padding:12px 10px;
	border:0;
	border-bottom:1px solid rgba(255, 255, 255, .1);
	background:transparent;
	color:#fff;
	text-align:center;
	vertical-align:middle;
}

.PDF_QT1200 thead th,
.PDF_QT1200 tr:first-child th
{
	font-family:Poppins, Helvetica, Arial, Lucida, sans-serif;
	font-size:13px;
	font-weight:300;
	letter-spacing:.04em;
	text-transform:uppercase;
	color:#f6d18c;
	border-bottom:1px solid rgba(246, 209, 140, .4);
}

.PDF_QT1200 tbody th,
.PDF_QT1200 td:first-child
{
	text-align:left;
	font-weight:400;
}

.PDF_QT1200 tbody tr:hover td,
.PDF_QT1200 tbody tr:hover th
{
	background:rgba(255, 255, 255, .04);
}

/* ---------- Przyciski (Dalej, Wstecz, Wyślij) ---------- */
body input[type="submit"],
body input[type="button"],
body input[type="reset"],
body button
{
	display:inline-block;
	margin:8px 6px;
	padding:12px 32px;
	font-family:Poppins, Helvetica, Arial, Lucida, sans-serif;
	font-size:14px;
	font-weight:300;
	line-height:1.4;
	letter-spacing:.08em;
	text-transform:uppercase;
	text-decoration:none;
	color:#f6d18c;
	background:transparent;
	background-image:none;
	border:1px solid rgba(246, 209, 140, .65);
	border-radius:999px;
	box-shadow:none;
	text-shadow:none;
	cursor:pointer;
	-webkit-appearance:none;
	appearance:none;
	transition:background-color .2s, color .2s;
}

body input[type="submit"]:hover,
body input[type="button"]:hover,
body button:hover
{
	color:#121212;
	background:#f6d18c;
}

body input[type="submit"]:focus-visible,
body input[type="button"]:focus-visible,
body button:focus-visible
{
	outline:2px solid #fff;
	outline-offset:3px;
	box-shadow:0 0 0 5px rgba(246, 209, 140, .55);
}

/* ---------- Telefony i tablety ---------- */
@media (max-width: 767px) {
	.PDF_pageOuter
	{
		padding:48px 16px 56px;
	}
	
	body h1
	{
		font-size:clamp(22px, 7vw, 32px);
		letter-spacing:.14em;
		padding-left:.14em;
	}
	
	body h2
	{
		font-size:20px;
	}
	
	.PDF_question
	{
		padding:22px 0;
	}
	
	.PDF_question .qTitle,
		  .PDF_question .qTitle p
	{
		font-size:17px;
	}
	
	.PDF_question .small,
		  .PDF_question .medium
	{
		width:100%;
	}
	
	.PDF_QT1200 .qContent
	{
		overflow-x:auto;
	}
	
	.PDF_QT1200 th,
		  .PDF_QT1200 td
	{
		padding:10px 6px;
		font-size:13px;
	}
	
	body input[type="submit"],
		  body input[type="button"],
		  body button
	{
		padding:11px 24px;
		font-size:13px;
	}
}