/* G5+ kontaktní formulář – vzhled podle předlohy */

.g5cf-card {
	max-width: 680px;
	margin: 24px auto;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 10px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	font-family: Roboto, "Segoe UI", Arial, sans-serif;
	color: #212121;
	overflow: hidden;
}

.g5cf-form {
	padding: 40px 44px 0;
	margin: 0;
}

.g5cf-logo {
	font-family: Georgia, "Times New Roman", serif;
	font-style: italic;
	font-weight: 700;
	font-size: 30px;
	color: #e07a1f;
	margin-bottom: 28px;
	user-select: none;
}
.g5cf-logo span { font-size: 34px; }
.g5cf-logo sup { font-size: 18px; }

.g5cf-title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 10px;
	color: #1a1a1a;
}

.g5cf-subtitle {
	font-size: 14px;
	line-height: 1.5;
	color: #757575;
	margin: 0 0 40px;
}

.g5cf-field {
	margin-bottom: 30px;
}

.g5cf-field label {
	display: block;
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 8px;
	color: #212121;
}

.g5cf-req { color: #d93025; }

.g5cf-field input {
	display: block;
	width: 100%;
	box-sizing: border-box;
	height: 44px;
	padding: 0 12px;
	font-size: 15px;
	color: #212121;
	background: #fff;
	border: 1px solid #c4c4c4;
	border-radius: 4px;
	outline: none;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.g5cf-field input:focus {
	border-color: #1a73e8;
	box-shadow: 0 0 0 1px #1a73e8;
}

.g5cf-counter {
	text-align: right;
	font-size: 12px;
	color: #757575;
	margin-top: 4px;
}

.g5cf-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.g5cf-recaptcha {
	margin-bottom: 30px;
}

.g5cf-message {
	display: none;
	margin-bottom: 20px;
	padding: 12px 14px;
	border-radius: 4px;
	font-size: 14px;
}
.g5cf-message.is-success {
	display: block;
	background: #e6f4ea;
	color: #1e7e34;
	border: 1px solid #b7e1c1;
}
.g5cf-message.is-error {
	display: block;
	background: #fdecea;
	color: #c5221f;
	border: 1px solid #f5c6c3;
}

.g5cf-footer {
	border-top: 1px solid #e0e0e0;
	margin: 40px -44px 0;
	padding: 18px 24px;
	display: flex;
	justify-content: flex-end;
}

.g5cf-submit {
	background: #1a73e8;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 12px 22px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.3px;
	cursor: pointer;
	transition: background 0.15s;
}
.g5cf-submit:hover { background: #1765cc; }
.g5cf-submit:disabled { background: #9e9e9e; cursor: default; }

@media (max-width: 600px) {
	.g5cf-form { padding: 28px 20px 0; }
	.g5cf-footer { margin: 32px -20px 0; }
	.g5cf-title { font-size: 22px; }
}

/* ---- Pre-screening formulář ---- */

.g5cf-topbar {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 28px;
}
.g5cf-topbar .g5cf-logo { margin-bottom: 0; }

.g5cf-lang-switch {
	display: flex;
	border: 1px solid #c4c4c4;
	border-radius: 6px;
	overflow: hidden;
}
.g5cf-lang-btn {
	background: #fff;
	border: none;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #555;
	cursor: pointer;
}
.g5cf-lang-btn + .g5cf-lang-btn { border-left: 1px solid #c4c4c4; }
.g5cf-lang-btn.is-active {
	background: #1a73e8;
	color: #fff;
}

/* Přepínání jazykových variant textů */
.g5cf-t-tl { display: none; }
.g5cf-lang-tl .g5cf-t-en { display: none; }
.g5cf-lang-tl .g5cf-t-tl { display: inline; }

.g5cf-section-title {
	color: #e07a1f;
	font-size: 17px;
	font-weight: 700;
	margin: 40px 0 14px;
	padding-top: 24px;
	border-top: 1px solid #eee;
}

.g5cf-section-note {
	font-size: 14px;
	line-height: 1.55;
	color: #c5221f;
	font-weight: 600;
	margin: 0 0 24px;
}

.g5cf-ps-form input[type="file"] {
	display: block;
	width: 100%;
	box-sizing: border-box;
	padding: 10px 12px;
	font-size: 14px;
	border: 1px dashed #c4c4c4;
	border-radius: 4px;
	background: #fafafa;
	cursor: pointer;
}
.g5cf-ps-form input[type="file"]:focus {
	border-color: #1a73e8;
	outline: none;
}

.g5cf-file-hint {
	font-size: 12px;
	color: #757575;
	margin-top: 4px;
}

.g5cf-consent {
	background: #fafafa;
	border: 1px solid #eee;
	border-radius: 6px;
	padding: 14px 16px;
}
.g5cf-consent-label {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	cursor: pointer;
	font-weight: 400 !important;
}
.g5cf-consent-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 3px;
	flex: 0 0 auto;
}
.g5cf-consent-text {
	font-size: 13.5px;
	line-height: 1.55;
	color: #424242;
}

.g5cf-progress {
	height: 6px;
	background: #eee;
	border-radius: 3px;
	overflow: hidden;
	margin-bottom: 20px;
}
.g5cf-progress-bar {
	height: 100%;
	width: 0;
	background: #1a73e8;
	transition: width 0.2s;
}

.g5cf-consent-footnote {
	font-size: 12.5px;
	line-height: 1.55;
	color: #757575;
	font-style: italic;
	margin: 24px 0 0;
}

.g5cf-privacy-note {
	font-size: 12.5px;
	line-height: 1.55;
	color: #757575;
	margin: 0 0 8px;
}
.g5cf-privacy-note a { color: #1a73e8; }


.g5cf-height-wrap {
	position: relative;
	max-width: 220px;
}
.g5cf-height-wrap input[type="number"] {
	padding-right: 48px;
}
.g5cf-height-suffix {
	position: absolute;
	top: 0;
	right: 0;
	height: 44px;
	display: flex;
	align-items: center;
	padding: 0 14px;
	font-size: 14px;
	font-weight: 600;
	color: #757575;
	pointer-events: none;
}
