/*
 * Contact Form 7 minimal styling for tourgator-theme.
 *
 * Replaces the styling previously provided by getaway/framework/modules/contactform7/.
 * Brand-red accents tied to the global --tg-color-brand / --tg-color-brand-dark
 * custom properties (declared in style.css; literal fallbacks kept here for safety).
 */

.wpcf7 {
	max-width: 720px;
	margin: 0 auto;
}

.wpcf7-form p {
	margin: 0 0 1.25rem;
}

.wpcf7-form label {
	display: block;
	font-weight: 700;
	margin-bottom: 0.5rem;
	color: var(--tg-color-ink, #333333);
}

.wpcf7-form-control:not(.wpcf7-submit):not([type="checkbox"]):not([type="radio"]) {
	display: block;
	width: 100%;
	padding: 0.75rem 1rem;
	font: inherit;
	color: var(--tg-color-ink, #333333);
	background: var(--tg-color-white);
	border: 1px solid #d0d0d0;
	border-radius: 4px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	box-sizing: border-box;
}

.wpcf7-form-control:focus {
	outline: 0;
	border-color: var(--tg-color-brand, #d80000);
	box-shadow: 0 0 0 3px rgba(216, 0, 0, 0.15);
}

.wpcf7-form textarea {
	min-height: 160px;
	resize: vertical;
}

.wpcf7-list-item {
	display: inline-block;
	margin: 0 1rem 0.5rem 0;
}

.wpcf7-submit {
	display: inline-block;
	padding: 0.85rem 2.25rem;
	font-family: 'Montserrat', sans-serif;
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--tg-color-white);
	background: var(--tg-color-brand, #d80000);
	border: 0;
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

.wpcf7-submit:hover {
	background: var(--tg-color-brand-dark);
}

.wpcf7-submit:active {
	transform: translateY(1px);
}

.wpcf7-submit:disabled {
	background: #999999;
	cursor: not-allowed;
}

.wpcf7-not-valid-tip {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.85rem;
	color: var(--tg-color-brand, #d80000);
}

.wpcf7-response-output {
	margin: 1.5rem 0 0;
	padding: 1rem 1.25rem;
	border-radius: 4px;
	border: 1px solid #d0d0d0;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
	border-color: var(--tg-color-brand, #d80000);
	background: rgba(216, 0, 0, 0.05);
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #2e7d32;
	background: rgba(46, 125, 50, 0.06);
	color: #1b5e20;
}

.wpcf7-spinner {
	margin-left: 1rem;
	vertical-align: middle;
}
