#headercheckbox {
	margin-top: -4px;
	margin-top: -15px;
}

span.headercheckboxspan.ai-headers-map-label-span {
	display: inline-flex;
	align-items: center;
	width: max-content;
	gap: 5px;
}

.gform-settings-field__headers_button .gform-settings-label {
	display: inline-flex;
	align-items: center;
	width: max-content;
	gap: 5px;
}

.headercheckboxspan {
	padding-top: 11px;
	display: inline-block;
}

#syncloader {
	float: left;
	display: none;

}

#synctext {
	margin-left: 6px;
	display: none;
}

/* Toggle Switch Style for Additional Settings */
#gform_setting_submissiondate input[type="checkbox"],
#gform_setting_wpssg_form_id input[type="checkbox"],
#gform_setting_wpssg_form_title input[type="checkbox"],
#gform_setting_freezecheckbox input[type="checkbox"] {
	position: relative !important;
	width: 44px !important;
	height: 22px !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	background: #ccc !important;
	border-radius: 22px !important;
	cursor: pointer !important;
	transition: all 0.3s ease !important;
	border: none !important;
	margin: 0 !important;
	vertical-align: middle !important;
	outline: none !important;
	display: inline-block !important;
	opacity: 1 !important;
}

#gform_setting_submissiondate input[type="checkbox"]:checked,
#gform_setting_wpssg_form_id input[type="checkbox"]:checked,
#gform_setting_wpssg_form_title input[type="checkbox"]:checked,
#gform_setting_freezecheckbox input[type="checkbox"]:checked {
	background: #4169E1 !important;
}

#gform_setting_submissiondate input[type="checkbox"]::after,
#gform_setting_wpssg_form_id input[type="checkbox"]::after,
#gform_setting_wpssg_form_title input[type="checkbox"]::after,
#gform_setting_freezecheckbox input[type="checkbox"]::after {
	content: "" !important;
	position: absolute !important;
	top: 2px !important;
	left: 2px !important;
	width: 18px !important;
	height: 18px !important;
	background: #ffffff !important;
	border-radius: 50% !important;
	transition: all 0.3s ease !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

#gform_setting_submissiondate input[type="checkbox"]:checked::after,
#gform_setting_wpssg_form_id input[type="checkbox"]:checked::after,
#gform_setting_wpssg_form_title input[type="checkbox"]:checked::after,
#gform_setting_freezecheckbox input[type="checkbox"]:checked::after {
	left: 24px !important;
}

/* Hide the default checkmark if it appears from other styles */
#gform_setting_submissiondate input[type="checkbox"]:before,
#gform_setting_wpssg_form_id input[type="checkbox"]:before,
#gform_setting_wpssg_form_title input[type="checkbox"]:before,
#gform_setting_freezecheckbox input[type="checkbox"]:before {
	display: none !important;
}

#gform_setting_submissiondate .gform-settings-choice label,
#gform_setting_wpssg_form_id .gform-settings-choice label,
#gform_setting_wpssg_form_title .gform-settings-choice label,
#gform_setting_freezecheckbox .gform-settings-choice label {
	font-size: 14px !important;
	color: #444 !important;
	margin-left: 10px !important;
	cursor: pointer !important;
	display: inline-block !important;
	vertical-align: middle !important;
}

#gform_setting_submissiondate input[type="checkbox"]:hover,
#gform_setting_wpssg_form_id input[type="checkbox"]:hover,
#gform_setting_wpssg_form_title input[type="checkbox"]:hover,
#gform_setting_freezecheckbox input[type="checkbox"]:hover {
	box-shadow: 0 0 5px rgba(65, 105, 225, 0.3) !important;
}

/* Premium Button Styles for Spreadsheet Actions */
#gform_google_view_button,
#gform_google_clear_button,
#gform_google_download_button,
#gform_google_header_button,
#gform_google_new_spreadsheet_button {
	background: #ffffff !important;
	border: 1px solid #4169E1 !important;
	color: #4169E1 !important;
	padding: 8px 18px !important;
	border-radius: 8px !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	box-shadow: 0 1px 2px rgba(65, 105, 225, 0.05) !important;
	height: auto !important;
	line-height: normal !important;
	margin-right: 12px !important;
	cursor: pointer !important;
}

#gform_google_view_button:hover,
#gform_google_clear_button:hover,
#gform_google_download_button:hover,
#gform_google_header_button:hover,
#gform_google_new_spreadsheet_button:hover {
	background: #4169E1 !important;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(65, 105, 225, 0.2) !important;
	transform: translateY(-1px) !important;
}

/* Explicitly handle SVG icons inside buttons */
#gform_google_view_button svg,
#gform_google_clear_button svg,
#gform_google_download_button svg,
#gform_google_header_button svg,
#gform_google_new_spreadsheet_button svg {
	transition: all 0.3s ease !important;
}

#gform_google_view_button:hover svg,
#gform_google_clear_button:hover svg,
#gform_google_download_button:hover svg,
#gform_google_header_button:hover svg,
#gform_google_new_spreadsheet_button:hover svg {
	/*stroke: #ffffff !important;*/
	fill: #ffffff !important;
}

#clearloader,
#existingloader {
	vertical-align: middle !important;
	margin-left: 8px !important;
}

#cleartext {
	font-size: 13px !important;
	color: #666 !important;
	margin-left: 4px !important;
	vertical-align: middle !important;
	font-weight: 500 !important;
}

/* Integrated Upgrade Header Styling */
.wpssw_order_top_header {
	background-color: #DEEFFF !important;
	color: #000000 !important;
	padding: 12px 15px !important;
	text-align: center !important;
	margin: -18px -17px 0px -17px !important;
	border-bottom: 1px solid #d2e9ff !important;
}

.wpssw_top_header_text {
	margin: 0 !important;
	font-size: 15px !important;
	color: #000000 !important;
}

.wpssw_top_header_text a {
	color: #000000 !important;
	text-decoration: underline !important;
	font-weight: bold !important;
}

.wpssw_order_top_header .wpssw_close_btn {
	display: none !important;
}