.jrat-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 99999;
	padding: 20px;
	box-sizing: border-box;
}

.jrat-overlay.jrat-open {
	display: flex;
}

.jrat-modal {
	background: #fff;
	width: 100%;
	max-width: 420px;
	border-radius: 8px;
	padding: 32px 28px;
	position: relative;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	font-family: inherit;
}

.jrat-modal h2 {
	margin: 0 0 20px;
	font-size: 20px;
	color: #1f2937;
}

.jrat-close {
	position: absolute;
	top: 12px;
	right: 14px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	cursor: pointer;
	color: #6b7280;
	padding: 4px;
}

.jrat-close:hover {
	color: #111827;
}

.jrat-field {
	margin: 0 0 14px;
}

.jrat-field label {
	display: block;
	margin-bottom: 5px;
	font-size: 13px;
	font-weight: 600;
	color: #374151;
}

.jrat-field input {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 15px;
	box-sizing: border-box;
}

.jrat-field input:focus {
	outline: none;
	border-color: #1f2a44;
	box-shadow: 0 0 0 3px rgba(31, 42, 68, 0.15);
}

.jrat-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.jrat-error {
	color: #b91c1c;
	font-size: 13px;
	margin: 0 0 12px;
	min-height: 0;
}

.jrat-error:empty {
	display: none;
}

.jrat-submit {
	display: inline-block;
	width: 100%;
	text-align: center;
	background: #1f2a44;
	color: #fff;
	border: none;
	border-radius: 6px;
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	box-sizing: border-box;
}

.jrat-submit:hover {
	background: #16203a;
	color: #fff;
}

.jrat-submit[disabled] {
	opacity: 0.6;
	cursor: not-allowed;
}

.jrat-hidden {
	display: none !important;
}
