/* ============================================
   KhataJi Forms - Frontend Base Styles
   Version: 3.5.0
============================================ */

.khataji-form {
	max-width: 500px;
}

.khataji-form .khataji-form-row {
	margin-bottom: 16px;
}

.khataji-form .khataji-form-row label {
	display: block;
	margin-bottom: 5px;
	font-weight: 600;
	font-size: 14px;
}

.khataji-form .khataji-form-row input[type="text"],
.khataji-form .khataji-form-row input[type="tel"],
.khataji-form .khataji-form-row input[type="email"],
.khataji-form .khataji-form-row input[type="number"],
.khataji-form .khataji-form-row input[type="date"],
.khataji-form .khataji-form-row select,
.khataji-form .khataji-form-row textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #ccc;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.khataji-form .khataji-form-row input:focus,
.khataji-form .khataji-form-row select:focus,
.khataji-form .khataji-form-row textarea:focus {
	border-color: #2271b1;
	outline: none;
	box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.15);
}

.khataji-form .khataji-form-row input.khataji-error,
.khataji-form .khataji-form-row select.khataji-error,
.khataji-form .khataji-form-row textarea.khataji-error {
	border-color: #d63638;
	box-shadow: 0 0 0 2px rgba(214, 54, 56, 0.15);
}

.khataji-form .khataji-form-row .khataji-err-msg {
	color: #d63638;
	font-size: 12px;
	margin-top: 3px;
	display: none;
}

.khataji-form .khataji-form-row .khataji-err-msg.visible,
.khataji-form .khataji-form-row .khataji-err-msg:not(:empty) {
	display: block;
}

.khataji-form .khataji-form-submit {
	padding: 12px 28px;
	font-weight: 600;
	font-size: 15px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	background: #2271b1;
	color: #fff;
	transition: background 0.2s;
}

.khataji-form .khataji-form-submit:hover {
	background: #135e96;
}

.khataji-form .khataji-form-submit:disabled {
	background: #a0a0a0;
	cursor: not-allowed;
}

.khataji-form-notice {
	padding: 14px 18px;
	border-radius: 6px;
	margin-bottom: 16px;
	font-size: 14px;
}

.khataji-form-success {
	background: #eafaf0;
	color: #0a5c2b;
	border: 1px solid #b7e4c7;
}

.khataji-form-error {
	background: #fdeaea;
	color: #a00;
	border: 1px solid #f3c2c2;
}

.kj-gform-wrap {
	position: relative;
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}