/* CCH Event Temple – forespørgselsformular efter designmanualen.
   Felter 50 px, radius 4, label inde i feltet, 24 px gap, tekstfelt 200 px, navy knap. */

.cch-et-form { font-family: inherit; letter-spacing: -0.02em; color: #000; max-width: 566px; }
.cch-et-form .cch-et-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cch-et-form .cch-et-full { grid-column: 1 / -1; }

.cch-et-form .cch-et-field { position: relative; display: block; margin: 0; }
.cch-et-form .cch-et-field > span:first-child {
	position: absolute; left: 12px; top: 7px; z-index: 1; pointer-events: none;
	font-size: 12px; line-height: 14px; color: #666;
}
.cch-et-form .wpcf7-form-control-wrap { display: block; }

.cch-et-form input[type="text"],
.cch-et-form input[type="email"],
.cch-et-form input[type="tel"],
.cch-et-form input[type="number"],
.cch-et-form input[type="date"],
.cch-et-form select,
.cch-et-form textarea {
	box-sizing: border-box; width: 100%; height: 50px; margin: 0;
	padding: 22px 11px 6px; border: 1px solid #E5E5E5; border-radius: 4px; background: #fff;
	font: inherit; font-size: 14px; line-height: 20px; color: #000; letter-spacing: inherit;
	-webkit-appearance: none; appearance: none; box-shadow: none;
}
.cch-et-form select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px;
}
.cch-et-form textarea { height: 200px; padding-top: 26px; resize: vertical; }
.cch-et-form input:focus,
.cch-et-form select:focus,
.cch-et-form textarea:focus { outline: none; border-color: #000; }
.cch-et-form .wpcf7-not-valid { border-color: #b32d2e; }
.cch-et-form .wpcf7-not-valid-tip { font-size: 12px; line-height: 16px; color: #b32d2e; margin-top: 4px; }

.cch-et-form .cch-et-consent { display: block; margin-top: 24px; font-size: 14px; line-height: 17.5px; color: #444; }
.cch-et-form .cch-et-consent .wpcf7-list-item { margin: 0; }
.cch-et-form .cch-et-consent label { display: flex; gap: 10px; align-items: flex-start; }
.cch-et-form .cch-et-consent input[type="checkbox"] { width: 16px; height: 16px; margin: 1px 0 0; flex: none; }

.cch-et-form .cch-et-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.cch-et-form input[type="submit"],
.cch-et-form button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; min-width: 100px; height: auto;
	padding: 10px 17px; border: 1px solid #002C3D; border-radius: 4px; background: #002C3D; color: #fff;
	font: inherit; font-size: 14px; line-height: 1; letter-spacing: -0.02em; cursor: pointer; width: auto;
}
.cch-et-form input[type="submit"]:hover { background: #E5E5E5; border-color: #E5E5E5; color: #000; }
.cch-et-form .cch-et-note { font-size: 14px; line-height: 17.5px; color: #666; }
.cch-et-form .wpcf7-spinner { margin: 0; }

/* Honeypot: usynlig for mennesker og skærmlæsere */
.cch-et-form .cch-et-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.cch-et-form + .wpcf7-response-output,
.wpcf7 form .cch-et-form ~ .wpcf7-response-output { margin: 24px 0 0; padding: 12px 16px; border-radius: 4px; font-size: 14px; }

@media (max-width: 767px) {
	.cch-et-form .cch-et-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* 1.2.0 – felter som Event Temple-formularen */
.cch-et-form .cch-et-section { grid-column: 1 / -1; margin: 8px 0 0; font-size: 22px; line-height: 1; }
.cch-et-form .cch-et-phone { display: grid; grid-template-columns: 200px 1fr; gap: 8px; }
.cch-et-form .cch-et-grid { grid-template-columns: 1fr; }
.cch-et-form textarea[name="anledning"] { height: 120px; }
.cch-et-thanks { max-width: 566px; padding: 24px 0; outline: none; }
.cch-et-thanks h2 { margin: 0; font-size: 28px; line-height: 1; text-align: center; }
@media (max-width: 767px) {
	.cch-et-form .cch-et-phone { grid-template-columns: 1fr; }
}

/* 1.4.0 – 16 px i felterne på mobil, så iPhone ikke zoomer ind, når man trykker i et felt */
@media (max-width: 767px) {
	.cch-et-form input[type="text"],
	.cch-et-form input[type="email"],
	.cch-et-form input[type="tel"],
	.cch-et-form input[type="number"],
	.cch-et-form input[type="date"],
	.cch-et-form select,
	.cch-et-form textarea { font-size: 16px; }
}
