/* Rabt Forms — front-end styles */
.rabt-form {
	max-width: 640px;
	margin: 0 0 1.5em;
}
.rabt-form p {
	margin: 0 0 1em;
}
.rabt-input,
.rabt-textarea,
.rabt-form select {
	width: 100%;
	padding: 12px 14px;
	font-size: 16px;
	line-height: 1.4;
	border: 1px solid #ccced3;
	border-radius: 8px;
	background: #fff;
	color: #1e1e1e;
	box-sizing: border-box;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.rabt-input:focus,
.rabt-textarea:focus,
.rabt-form select:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}
.rabt-textarea {
	min-height: 130px;
	resize: vertical;
}
.rabt-input.rabt-invalid,
.rabt-textarea.rabt-invalid {
	border-color: #dc2626;
	box-shadow: 0 0 0 3px rgba(220, 38, 38, .12);
}
.rabt-choices {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 14px;
}
.rabt-choice {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 15px;
}
.rabt-submit {
	display: inline-block;
	padding: 12px 26px;
	font-size: 16px;
	font-weight: 600;
	color: #fff;
	background: #2563eb;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	transition: background .15s ease, transform .05s ease;
}
.rabt-submit:hover {
	background: #1d4ed8;
}
.rabt-submit:active {
	transform: translateY(1px);
}
.rabt-submit:disabled,
.rabt-submit.rabt-loading {
	opacity: .6;
	cursor: not-allowed;
}
.rabt-submit.rabt-loading::after {
	content: "";
	display: inline-block;
	width: 14px;
	height: 14px;
	margin-left: 8px;
	vertical-align: -2px;
	border: 2px solid rgba(255, 255, 255, .5);
	border-top-color: #fff;
	border-radius: 50%;
	animation: rabt-spin .6s linear infinite;
}
@keyframes rabt-spin {
	to { transform: rotate(360deg); }
}
.rabt-response {
	margin-top: 12px;
	padding: 0;
	font-size: 15px;
}
.rabt-response.rabt-ok {
	padding: 12px 14px;
	color: #065f46;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 8px;
}
.rabt-response.rabt-err {
	padding: 12px 14px;
	color: #991b1b;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-radius: 8px;
}
/* Honeypot — hidden from humans */
.rabt-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
