.ocf-form {
	font-family: inherit;
	color: #1c1c1c;
	max-width: 100%;
	box-sizing: border-box;
}
.ocf-form * {
	box-sizing: border-box;
}

.ocf-section {
	margin-bottom: 28px;
}

.ocf-section-title {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e5e5e5;
}

.ocf-grid {
	display: grid;
	gap: 16px;
	margin-bottom: 16px;
}
.ocf-grid-1 { grid-template-columns: 1fr; }
.ocf-grid-2 { grid-template-columns: repeat(2, 1fr); }
.ocf-grid-3 { grid-template-columns: repeat(3, 1fr); }
.ocf-grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1030px) {
	.ocf-grid-3, .ocf-grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.ocf-grid-2, .ocf-grid-3, .ocf-grid-4 {
		grid-template-columns: 1fr;
	}
	.ocf-section-title {
		font-size: 13px;
	}
	.ocf-inline {
		flex-direction: column;
	}
	.ocf-inline .ocf-btn-secondary {
		width: 100%;
	}
	.ocf-submit-row {
		justify-content: stretch;
	}
	.ocf-submit-btn {
		width: 100%;
	}
	.ocf-consent {
		font-size: 12.5px;
	}
	.ocf-field input[type="text"],
	.ocf-field input[type="email"],
	.ocf-field input[type="tel"],
	.ocf-field input[type="number"],
	.ocf-field select,
	.ocf-field textarea {
		font-size: 16px; /* prevents iOS Safari auto-zoom on focus */
	}
}

.ocf-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
}

.ocf-field .req {
	color: #c0392b;
}

.ocf-field input[type="text"],
.ocf-field input[type="email"],
.ocf-field input[type="tel"],
.ocf-field input[type="number"],
.ocf-field select,
.ocf-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d7d7d7;
	border-radius: 6px;
	font-size: 14px;
	background: #fff;
}

.ocf-field textarea {
	resize: vertical;
}

.ocf-inline {
	display: flex;
	gap: 8px;
	align-items: center;
}
.ocf-inline input {
	flex: 1;
	min-width: 0;
}

.ocf-btn-secondary {
	flex: 0 0 auto !important;
	white-space: nowrap !important;
	padding: 10px 20px !important;
	border: none !important;
	background: #b98a3d !important;
	color: #fff !important;
	border-radius: 6px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	cursor: pointer !important;
}
.ocf-btn-secondary:hover:not(:disabled) {
	background: #a5772f !important;
}
.ocf-btn-secondary:disabled {
	background: #b98a3d !important;
	color: #fff !important;
	opacity: 0.75 !important;
	cursor: default !important;
}
.ocf-btn-secondary:disabled {
	opacity: 0.6;
	cursor: default;
}

.ocf-otp-row {
	margin-top: 8px;
}

.ocf-status {
	margin-top: 6px;
	min-height: 14px;
}
.ocf-status-success {
	color: #16a34a !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 20px !important;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}
.ocf-status-error {
	color: #c0392b !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 20px !important;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

.ocf-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 13px;
	color: #333;
	margin-bottom: 20px;
}
.ocf-consent input {
	margin-top: 3px;
}

.ocf-submit-row {
	display: flex;
	justify-content: flex-end;
}

.ocf-submit-btn {
	background: #b98a3d;
	color: #fff;
	border: none;
	padding: 14px 28px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	border-radius: 6px;
	cursor: pointer;
}
.ocf-submit-btn:hover {
	background: #a5772f;
}
.ocf-submit-btn:disabled {
	opacity: 0.7;
	cursor: default;
}

.ocf-form-message {
	margin-top: 18px;
	padding: 14px 16px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
}
.ocf-form-message.ocf-success {
	background: #e8f6ee;
	color: #1a7f37;
	border: 1px solid #b7e4c7;
}
.ocf-form-message.ocf-error {
	background: #fdecea;
	color: #c0392b;
	border: 1px solid #f5c6cb;
}
