@charset "utf-8";
/* Rezgo Settings CSS */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
	--header-color: #333;
	--header-size: 1.0rem;
	--header-bg-color: #e2e2e2;
	--border-color: #ccc;
}

.flex-row {
	display: flex;
	flex-direction: row;
}

.font-400 {
	font-weight: 400;
}

.align-items-center {
	align-items: center;
}

#rezgo_settings {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
}

#rezgo_settings .rezgo-intro-header {
	background: #fff;
	border-radius: 8px;
	border: 1px solid var(--border-color);
	padding: 15px 20px 10px;
	margin: 20px 0;
}

#rezgo_settings #rezgo-logo {
	max-width: 130px;
	padding: 10px 20px 0px 0;
}

.rezgo-plugin-version {
	padding: 0 20px;
	border-left: 1px solid #ddd;
}

.rezgo-plugin-version .version-title {
	font-size: 1.1rem;
}

.rezgo-plugin-version .version {
	font-size: 0.9rem;
}

#rezgo_settings ol {
	padding-left: 15px;
}

#rezgo_settings h1 {
	font-weight: normal;
	font-size: 24px;
}

#rezgo_settings form dt {
	clear: both;
	width: 200px;
	float: left;
	font-weight: 400;
}

#rezgo_settings form dl {
	padding: 5px 25px;
	margin-top: 10px;
}

#rezgo_settings form dt.note,
#rezgo_settings form div.note {
	width: auto;
	color: #333;
	padding: 12px 0 20px;
	font-weight: 600;
	line-height: 21px;
}

#rezgo_settings form dd {
	float: left;
	margin: 0 0 8px 4px;
}

#rezgo_settings .success {
	background-color: #FF9;
	padding: 4px;
	border: 1px solid #900;
	width: 50%;
}

#rezgo_settings .field_frame {
	background-color: #F8F8F8;
	border-radius: 8px;
	box-shadow: rgb(0 0 0 / 12%) 0px 6px 10px;
	margin: 20px 0px 40px;
	width: 900px;
	padding: 0;
	border: 1px solid var(--border-color);
}

#rezgo_settings legend {
    font-weight: 700;
    font-size: var(--header-size);
    padding: 20px 0px 15px 20px;
	color: var(--header-color);
	width: calc(100% - 25px);
	border-radius: 6px 6px 0 0;
	-moz-border-radius: 6px 6px 0 0;
	-webkit-border-radius: 6px 6px 0 0;
	/* background: var(--header-bg-color); */
	border-bottom: 1px solid var(--border-color);
}

#rezgo_settings legend.account_info {}

#rezgo_settings legend.recaptcha_key {}

#rezgo_settings legend.general_settings {}

#rezgo-recaptcha-notice {
	border-top: 1px solid #ddd;
	padding-top: 10px;
	margin-top: 10px;
}

#rezgo_settings .button-primary {
	background-color: #1B6AAA !important;
	border-color: #1B6AAA;
	font-size: 14px !important;
}

#rezgo_settings .api_box {
    margin: 0 0 10px;
    background: #EEE;
    padding: 15px;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-border-radius: 8px;
    -khtml-border-radius: 4px;
    width: 350px;
}

#rezgo_settings .constants-box {
	margin: 0 0 10px;
	background: #EEE;
	padding: 15px;
	overflow: hidden;
	border: 1px solid #ccc;
	border-radius: 4px;
	width: fit-content;
	line-height: 1.8;
}

#rezgo_settings .api_box .ajax_success {
	font-weight: bold;
	color: #21759B;
	font-size: 14px;
	padding-bottom: 5px;
    display: inline-block;
}

#rezgo_settings .api_box .ajax_error,
#rezgo_settings .api_box .ajax_error_message {
	font-weight: bold;
	color: #990000;
}

#rezgo_settings .api_box a {
	display: block;
	/* text-indent: 20px; */
}

#rezgo_settings .api_box span.ajax_success_message,
#rezgo_settings .api_box span.ajax_error_message,
#rezgo_settings .api_box span.required_missing {
	/* text-indent:20px; */
	display: block;
	font-weight: normal;
}

#rezgo_settings .api_box span.ajax_error_message {
	text-indent: 0;
}

#template_select option {
	padding-right: 6px;
}

#template_description {
	border: 1px solid #4093B7;
	background-color: #EEE;
	margin: 2px 0px 0px 15px;
	padding: 4px 6px;
	float: right;
	width: 250px;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-khtml-border-radius: 4px;
}

#template_description h3 {
	color: 21759B;
	font-size: 4px;
	margin-bottom: 2px;
	margin-top: 0;
}

.template_error {
	font-weight: bold;
	border: 1px solid #990000 !important;
	background-color: #F2DEDE !important;
	width: 290px !important;
	color: #990000;
}

#toplevel_page_rezgo-settings .wp-menu-image img {
	opacity: 1;
}

.rezgo-general-settings-wrp {
	display: block;
	padding: 0 15px;
	margin-top: 15px;
	border-top: 1px solid #ddd;
}

.rezgo-general-settings-wrp:first-child {
	border: 0;
	padding-top: 0;
	margin-top: 0;
}

#rzg-use-tmp-msg .notice:last-child,
#rzg-cus-tmp-msg .notice:last-child {
	margin: 10px 0;
}

#rezgo_settings form dl.dl_general_settings,
#rezgo_settings form dl.dl_advanced_settings {
	padding: 0 0 0 10px;
	margin-bottom: 0;
	margin-block-start: 0;
}

#rzg-msg-wrp {
	display: block;
	padding: 0 15px;
}

#rzg-tmp-error,
#rzg-tmp-success {
	height: 30px;
	position: relative;
}

#rzg-tmp-error ul,
#rzg-tmp-error button,
#rzg-tmp-success ul,
#rzg-tmp-success button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	margin-top: 2px;
}

#rzg-perm-error {
	width: 65%;
	padding: 5px;
}

#rezgo_notices .notice {
	border-radius: 6px;
}

.advanced_settings {
	cursor: pointer;
	position: relative;
}

.accordion-icon {
	width: 15px;
    display: inline-block;
    position: absolute;
    right: 10px;
	transform: rotate(-90deg);
	transition: all 0.35s ease-in-out;
}

.accordion-icon.active {
	transform: rotate(0);
}

.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: all 0.35s ease-in-out;
}

.accordion-content.active {
	max-height: 2000px;
}

span.spacer {
	display: inline-block;
	height: 15px;
	width: 100%;
}
