/**
 * WP Contact Form — frontend styles
 * Direction-agnostic: works in both RTL and LTR themes.
 */
.wpcf-wrap {
	max-width: 680px;
	margin: 0 auto;
}

.wpcf-title {
	margin: 0 0 18px;
	font-size: 1.4rem;
	line-height: 1.4;
}

.wpcf-form {
	display: grid;
	gap: 16px;
	padding: 24px;
	border: 1px solid #e3e8ef;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(16, 24, 40, 0.06);
}

.wpcf-row {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.wpcf-row label {
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.5;
	color: #364152;
}

.wpcf-req {
	color: #d64545;
}

.wpcf-row input[type="text"],
.wpcf-row input[type="email"],
.wpcf-row input[type="tel"],
.wpcf-row textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 14px;
	border: 1.5px solid #d7dde6;
	border-radius: 10px;
	font-size: 1rem;
	line-height: 1.5;
	color: #1f2937;
	background: #fff;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wpcf-row input:focus,
.wpcf-row textarea:focus {
	outline: none;
	border-color: #2f6fed;
	box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.15);
}

.wpcf-row textarea {
	resize: vertical;
	min-height: 140px;
}

.wpcf-row-submit {
	margin-top: 4px;
}

.wpcf-btn {
	justify-self: start;
	padding: 11px 34px;
	border: none;
	border-radius: 10px;
	background: #2f6fed;
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.05s ease;
}

.wpcf-btn:hover {
	background: #1d5be0;
}

.wpcf-btn:active {
	transform: translateY(1px);
}

.wpcf-btn[disabled] {
	opacity: 0.65;
	cursor: not-allowed;
}

/* Status messages */
.wpcf-status {
	margin: 0 0 16px;
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 0.95rem;
	line-height: 1.7;
}

.wpcf-status-success {
	background: #e9f8ef;
	border: 1px solid #bfe8cf;
	color: #187a41;
}

.wpcf-status-error {
	background: #fdeeee;
	border: 1px solid #f3c6c6;
	color: #b3261e;
}

/* Honeypot — invisible to humans, filled by bots */
.wpcf-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Small screens */
@media (max-width: 480px) {
	.wpcf-form {
		padding: 18px;
	}

	.wpcf-btn {
		width: 100%;
		justify-self: stretch;
	}
}
