.srf-card {
	max-width: 640px;
	margin: 0 auto;
	background: #ffffff;
	border-radius: 20px;
	box-shadow: 0 10px 40px rgba(20, 60, 120, 0.10);
	overflow: hidden;
	font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.srf-header {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 32px 36px 28px;
	background: linear-gradient(135deg, #eef6fd 0%, #e3f0fb 100%);
}

.srf-header-icon {
	flex-shrink: 0;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #1a73c1;
	color: #fff;
	font-size: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.srf-title {
	margin: 0 0 4px;
	font-size: 26px;
	font-weight: 700;
	color: #0b3d78;
}

.srf-subtitle {
	margin: 0;
	color: #7b8aa0;
	font-size: 15px;
}

.srf-form {
	padding: 28px 36px 32px;
}

.srf-stars {
	display: flex;
	gap: 14px;
	background: transparent;
	border: 0;
	padding: 6px 0 26px;
	margin: 0 0 4px;
}

.srf-star {
	background: none;
	border: none;
	cursor: pointer;
	font-size: 40px;
	line-height: 1;
	color: #ffffff;
	-webkit-text-stroke: 2px #1a73c1;
	padding: 0;
	transition: transform 0.12s ease;
	-webkit-tap-highlight-color: transparent;
	-webkit-appearance: none;
	appearance: none;
	outline: none;
	box-shadow: none;
}

.srf-star:focus,
.srf-star:active,
.srf-star:focus-visible {
	background: none;
	outline: none;
	box-shadow: none;
}

.srf-star:focus-visible {
	filter: drop-shadow(0 0 3px rgba(26, 115, 193, 0.6));
}

.srf-star:hover {
	transform: scale(1.1);
}

.srf-star.is-active {
	color: #1a73c1;
	-webkit-text-stroke: 2px #1a73c1;
}

.srf-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-bottom: 18px;
}

@media (max-width: 560px) {
	.srf-row {
		grid-template-columns: 1fr;
	}
}

.srf-field {
	margin-bottom: 18px;
}

.srf-row .srf-field {
	margin-bottom: 0;
}

.srf-field label {
	display: block;
	font-weight: 700;
	color: #0b3d78;
	margin-bottom: 8px;
	font-size: 15px;
}

.srf-required {
	color: #e0553e;
}

.srf-field input,
.srf-field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #d9e4f2;
	border-radius: 10px;
	padding: 13px 16px;
	font-size: 15px;
	color: #2c3e50;
	background: #fbfdff;
	font-family: inherit;
}

.srf-field input:focus,
.srf-field textarea:focus {
	outline: none;
	border-color: #1a73c1;
	box-shadow: 0 0 0 3px rgba(26, 115, 193, 0.12);
}

.srf-field textarea {
	resize: vertical;
	min-height: 140px;
}

.srf-error {
	color: #c0392b;
	background: #fdecea;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	margin: 0 0 16px;
}

.srf-submit {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: linear-gradient(135deg, #1a73c1, #1560a8);
	color: #fff;
	border: none;
	border-radius: 999px;
	padding: 16px 20px;
	font-size: 17px;
	font-weight: 700;
	cursor: pointer;
	margin-top: 6px;
}

.srf-submit:hover {
	filter: brightness(1.05);
}

.srf-submit:disabled {
	opacity: 0.7;
	cursor: default;
}

.srf-submit-icon,
.srf-submit-arrow {
	font-size: 16px;
}

.srf-lock {
	text-align: center;
	color: #8a97ab;
	font-size: 13px;
	margin: 16px 0 0;
}

.srf-thankyou {
	padding: 48px 36px;
	text-align: center;
}

.srf-thankyou-icon {
	width: 60px;
	height: 60px;
	line-height: 60px;
	border-radius: 50%;
	background: #e5f5ea;
	color: #2e9d4f;
	font-size: 26px;
	margin: 0 auto 18px;
}

.srf-thankyou h3 {
	color: #0b3d78;
	margin: 0 0 8px;
	font-size: 22px;
}

.srf-thankyou p {
	color: #7b8aa0;
	margin: 0;
}

/* Modal — default hidden; only display:flex when .srf-visible is added by JS.
   (Do not set display:flex on the base .srf-modal-overlay rule — it would
   override the "hidden" attribute and force the popup open on every page load.) */
.srf-modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(11, 30, 55, 0.55);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 100000;
	padding: 20px;
}

.srf-modal-overlay.srf-visible {
	display: flex;
}

.srf-modal-overlay[hidden] {
	display: none !important;
}

.srf-modal {
	position: relative;
	background: #fff;
	border-radius: 18px;
	max-width: 420px;
	width: 100%;
	padding: 36px 30px 30px;
	text-align: center;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
	font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.srf-modal-close {
	position: absolute;
	top: 14px;
	right: 16px;
	background: none;
	border: none;
	font-size: 22px;
	color: #9aa7ba;
	cursor: pointer;
	line-height: 1;
}

.srf-modal-icon {
	width: 54px;
	height: 54px;
	line-height: 54px;
	border-radius: 50%;
	background: #fff4e0;
	color: #f2a71b;
	font-size: 24px;
	margin: 0 auto 16px;
}

.srf-modal h3 {
	margin: 0 0 8px;
	color: #0b3d78;
	font-size: 20px;
}

.srf-modal p {
	color: #7b8aa0;
	margin: 0 0 22px;
	font-size: 14.5px;
}

.srf-modal-buttons {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.srf-modal-buttons a {
	display: block;
	background: linear-gradient(135deg, #1a73c1, #1560a8);
	color: #fff;
	text-decoration: none;
	padding: 13px 16px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14.5px;
}

.srf-modal-buttons a:hover {
	filter: brightness(1.05);
}
