.jaf-form-wrapper {
	max-width: 760px;
	margin: 0 auto;
	padding: 32px 36px;
	background: #ffffff;
	border: 1px solid #e4e0d8;
	border-radius: 6px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	font-family: inherit;
}

.jaf-form-title {
	margin: 0 0 24px;
	font-size: 26px;
	font-weight: 600;
	color: #1e1e1e;
	border-bottom: 2px solid #b9975b;
	padding-bottom: 12px;
}

.jaf-form .jaf-row {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.jaf-form .jaf-field {
	flex: 1 1 260px;
	margin-bottom: 18px;
	display: flex;
	flex-direction: column;
}

.jaf-form .jaf-field-full {
	flex: 1 1 100%;
}

.jaf-form label {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	margin-bottom: 6px;
}

.jaf-required {
	color: #b9975b;
}

.jaf-form input[type="text"],
.jaf-form input[type="email"],
.jaf-form input[type="tel"],
.jaf-form input[type="date"],
.jaf-form select,
.jaf-form textarea {
	padding: 10px 12px;
	font-size: 14px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background: #fafafa;
	color: #222;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	font-family: inherit;
}

.jaf-form input:focus,
.jaf-form select:focus,
.jaf-form textarea:focus {
	outline: none;
	border-color: #b9975b;
	box-shadow: 0 0 0 3px rgba(185, 151, 91, 0.15);
	background: #fff;
}

.jaf-form input[type="file"] {
	padding: 8px 0;
	font-size: 14px;
}

.jaf-form textarea {
	resize: vertical;
}

.jaf-field-error {
	color: #c0392b;
	font-size: 12.5px;
	margin-top: 4px;
	display: block;
	min-height: 1px;
}

.jaf-section-heading {
	font-size: 17px;
	font-weight: 700;
	color: #1e1e1e;
	margin: 28px 0 14px;
	padding-bottom: 8px;
	border-bottom: 1px solid #e4e0d8;
}

.jaf-section-heading:first-of-type {
	margin-top: 8px;
}

.jaf-row-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
}

.jaf-row-wrap .jaf-field {
	flex: 1 1 260px;
}

.jaf-yesno {
	display: flex;
	gap: 20px;
	align-items: center;
	padding: 8px 0 2px;
}

.jaf-radio-label {
	display: flex;
	align-items: center;
	gap: 6px;
	font-weight: 400;
	font-size: 14px;
	color: #333;
	cursor: pointer;
}

.jaf-radio-label input[type="radio"] {
	width: 16px;
	height: 16px;
	accent-color: #b9975b;
}

.jaf-prefixed-input {
	display: flex;
	align-items: center;
	gap: 6px;
}

.jaf-input-prefix {
	font-size: 14px;
	color: #555;
	font-weight: 600;
}

.jaf-prefixed-input input {
	flex: 1;
}

.jaf-terms-row {
	margin-top: 10px;
	padding-top: 14px;
	border-top: 1px solid #e4e0d8;
}

.jaf-checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 600;
	color: #1e1e1e;
	cursor: pointer;
}

.jaf-checkbox-label input[type="checkbox"] {
	width: 17px;
	height: 17px;
	accent-color: #b9975b;
}

.jaf-honeypot {
	position: absolute;
	left: -9999px;
	top: -9999px;
}

.jaf-submit-row {
	margin-top: 8px;
	text-align: left;
}

.jaf-submit-btn {
	background: #1e1e1e;
	color: #fff;
	border: none;
	padding: 13px 34px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.4px;
	border-radius: 4px;
	cursor: pointer;
	transition: background 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.jaf-submit-btn:hover {
	background: #b9975b;
}

.jaf-submit-btn:disabled {
	opacity: 0.7;
	cursor: not-allowed;
}

.jaf-btn-spinner {
	width: 16px;
	height: 16px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-top-color: #fff;
	border-radius: 50%;
	display: inline-block;
	animation: jaf-spin 0.7s linear infinite;
}

@keyframes jaf-spin {
	to { transform: rotate(360deg); }
}

.jaf-alert {
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 18px;
	font-size: 14px;
}

.jaf-alert-success {
	background: #eafaf1;
	border: 1px solid #2ecc71;
	color: #196f3d;
}

.jaf-alert-error {
	background: #fdecea;
	border: 1px solid #e74c3c;
	color: #922b21;
}

@media (max-width: 600px) {
	.jaf-form-wrapper {
		padding: 22px 18px;
	}
	.jaf-form .jaf-row {
		flex-direction: column;
		gap: 0;
	}
}
