:root {
    --primary: #437e47;
    --primaryHover: #2b6e2f;
    --secondary: #2b66d1;
    --secondaryRGB: 43, 102, 209;
    --neutral: #0e2121;
    --neutralRGB: 14, 33, 33;
    --neutralText: rgba(var(--neutralRGB), 0.8);
    --accent: #eba844;
    --borderColor: #e8e8eb;
    --borderShadow: #e6e9f0;
    --white: #ffffff;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.swp-h2 {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    color: var(--neutral);
    margin: 0;
}

.swp-collapse {
    background: var(--white);
    border: 1px solid var(--borderColor);
    -webkit-box-shadow: 0px 2px 2px var(--borderShadow);
            box-shadow: 0px 2px 2px var(--borderShadow);
    border-radius: 4px;
    margin-bottom: 30px;
}

.swp-collapse--header,
.swp-sub-collapse--header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
    height: 78px;
    text-align: left;
    padding: 0 30px;
}

.swp-sub-collapse .swp-collapse--header,
.swp-sub-collapse--header {
    height: 60px;
}

.swp-collapse--content {
    border-top: 1px solid var(--borderColor);
}

.swp-collapse.swp-closed .swp-collapse--content {
    height: 0;
    width: 0;
    overflow: hidden;
    position: absolute;
}

.swp-expand--button {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.swp-arrow {
    width: 16px;
    height: 16px;
    cursor: pointer;
    display: block;
}

.swp-collapse.swp-closed .swp-arrow {
    -ms-transform: rotate(-90deg);
        -webkit-transform: rotate(-90deg);
            transform: rotate(-90deg);
}

.swp-header,
.swp-content-container {
    font-family: 'Inter', sans-serif;
    font-style: normal;
}

.swp-content-container {
    margin: 40px 22px;
}

/*------- DYK styles --------*/

.searchwp-settings-dyk {
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 2px;
    max-width: 850px;
    margin-top: 20px;
}

.searchwp-settings-dyk h5 {
    font-weight: 700;
    font-size: 14px;
    margin: 0 0 16px;
}

.searchwp-settings-dyk p:last-of-type {
    margin: 0;
}

.searchwp-settings-dyk p a {
    color: var(--secondary);
}

.searchwp-settings-dyk .green {
    color: var(--primary);
    font-weight: 700;
}

/*------- End of DYK styles --------*/

/*------- CTA styles --------*/

.searchwp-settings-cta {
    background: var(--white);
    border: 1px solid var(--borderColor);
    -webkit-box-shadow: 0px 2px 2px var(--borderShadow);
            box-shadow: 0px 2px 2px var(--borderShadow);
    border-radius: 4px;
    padding: 30px;
}

.searchwp-settings-cta p {
    color: var(--neutralText);
    font-size: 14px;
    margin: 0 0 16px;
}

.searchwp-settings-cta h5 {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
}

.searchwp-settings-cta h6 {
    font-weight: 700;
    font-size: 14px;
    margin: 0 0 16px;
}

.searchwp-settings-cta p {
    color: var(--neutralText);
    font-size: 14px;
    margin: 0 0 16px;
}

.searchwp-settings-cta p:last-of-type {
    margin: 0;
}

.searchwp-settings-cta p a {
    color: var(--secondary);
}

.searchwp-settings-cta .fa-star {
    color: var(--accent);
}

.searchwp-settings-cta .green {
    color: var(--primary);
    font-weight: 700;
}

.searchwp-settings-cta .list {
    display: flex;
    justify-content: space-between;
    max-width: 850px;
    margin-bottom: 20px;
}

.searchwp-settings-cta .list ul {
    margin: 0;
}

.searchwp-settings-cta .list li {
    position: relative;
    margin: 0;
    padding: 0 0 2px 16px;
    color: var(--neutralText);
    font-size: 14px;
}

.searchwp-settings-cta .list li:before {
    content: '+';
    position: absolute;
    top: -1px;
    left: 0;
}

/*------- End of CTA styles --------*/

/*------- Extensions Upsell --------*/

#extension-preview-upsell {
	position: absolute;
	top: 50px;
	left: 50%;
	max-width: 700px;
	margin-top: 0;
	text-align: center;
	transform: translate(-50%) translateY(0);
}

#extension-preview-upsell-background {
	border-radius: 3px;
	background: #fff;
	padding: 50px 60px;
	box-shadow: 0 2px 5px #0000000d;
	border: 1px solid #E8E8EB;
}

#extension-preview-upsell h5 {
	margin: 0 0 1em;
	font-size: 24px;
	font-weight: 700;
	line-height: normal;
}

#extension-preview-upsell p {
	font-size: 16px;
	color: var(--neutralText);
}

#extension-preview-upsell .green {
	color: var(--primary);
	font-weight: 700;
}

#extension-preview-upsell .list {
	display: flex;
	flex-wrap: wrap;
	margin: 40px auto 24px;
	text-align: left;
}

#extension-preview-upsell .list ul {
	margin: 0;
	flex-grow: 1;
}

#extension-preview-upsell .list li {
	margin-left: 16px;
	margin-bottom: 12px;
	font-size: 16px;
	line-height: 1.5;
	padding-left: 30px;
	position: relative;
	padding-right: 10px;
}

#extension-preview-upsell .list li:before {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	position: absolute;
	left: 0;
	top: 3px;
	background-image: url("data:image/svg+xml,%3Csvg width=%2719%27 height=%2718%27 viewBox=%270 0 19 18%27 fill=%27none%27 xmlns=%27http://www.w3.org/2000/svg%27%3E%3Cpath fill-rule=%27evenodd%27 clip-rule=%27evenodd%27 d=%27M9.5 0.416016C4.67 0.416016 0.75 4.33602 0.75 9.16602C0.75 13.996 4.67 17.916 9.5 17.916C14.33 17.916 18.25 13.996 18.25 9.16602C18.25 4.33602 14.33 0.416016 9.5 0.416016ZM9.5 16.166C5.64125 16.166 2.5 13.0248 2.5 9.16602C2.5 5.30727 5.64125 2.16602 9.5 2.16602C13.3587 2.16602 16.5 5.30727 16.5 9.16602C16.5 13.0248 13.3587 16.166 9.5 16.166ZM7.75 11.0648L13.5163 5.29852L14.75 6.54102L7.75 13.541L4.25 10.041L5.48375 8.80727L7.75 11.0648Z%27 fill=%27%2309A347%27/%3E%3C/svg%3E");
}

#extension-preview-upsell .swp-button {
	margin: 40px auto 0;
}

#extension-preview-upsell-close {
	position: absolute;
	top: 20px;
	right: 20px;
	cursor: pointer;
}

/*------- Shared styles --------*/

#wpcontent {
    padding-left: 0 !important;
}

.searchwp-logo svg {
    display: block;
}

.searchwp-settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 22px 34px;
    border-top: 3px solid var(--primary);
}

.searchwp-settings-subheader {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 0 22px;
}

.searchwp-settings-nav-tab {
    text-decoration: none;
    padding-top: 2px; /* Visual offset */
}

.searchwp-settings-header-nav ul {
    list-style: none;
    margin: 0;
    width: 100%;
}

.searchwp-settings-header-nav,
.searchwp-settings-header-nav ul,
.searchwp-settings-header-nav ul li {
    display: flex;
    align-items: stretch;
}

.searchwp-settings-header-nav ul li {
    margin: 0;
}

.searchwp-settings-header-nav ul li a {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 0 30px 0 0;
    border-bottom: 2px solid transparent;
}

.searchwp-settings-header-nav ul li a:hover {
    border-bottom: 2px solid var(--borderColor);
}

.searchwp-settings-header-nav ul li a:focus {
    box-shadow: none;
    color: var(--secondary);
    border-bottom: 2px solid var(--borderColor);
}

.searchwp-settings-header-nav ul li a.searchwp-settings-nav-tab-active {
	border-bottom: 2px solid var(--accent);
}

.searchwp-settings-header-nav ul li a > span {
    display: flex;
    align-items: center;
    padding: 18px 0;
    font-weight: 500;
    font-size: 15px;
    line-height: 1.3;
    color: rgba(var(--neutralRGB), 0.6);
}

.searchwp-settings-header-nav ul li a.searchwp-settings-nav-tab-active span{
	font-size: 16px;
	font-weight: 700;
	color: var(--neutral);
}

.swp-header-menu--item {
    cursor: pointer;
}

.notice {
    margin: 20px 22px 0;
}

.searchwp-btn {
    display: inline-block;
    font-weight: 700;
    font-size: 13px;
    line-height: 1.2;
    color: var(--neutralText);
    background-color: var(--white);
    border: 1px solid rgba(140, 143, 154, 0.3);
    padding: 0 16px;
    height: 40px;
    border-radius: 3px;
    cursor: pointer;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    min-width: fit-content;
    text-decoration: none;
    text-align: center;
}

.searchwp-btn-md {
    font-size: 13px;
    font-weight: 700;
    padding: 0 16px;
    height: 40px;
}

.searchwp-btn-accent {
    color: var(--white);
    background-color: var(--primary);
    border-color: var(--primary);
}

.searchwp-btn-accent:hover {
    color: var(--white);
    background-color: var(--primaryHover);
}

.searchwp-btn-accent:focus {
    color: var(--white);
    -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--primaryHover);
            box-shadow: 0 0 0 1px #fff, 0 0 0 3px var(--primaryHover);
    outline: none;
}

.swp-relative {
    position: relative;
}

/*------- End of Shared styles --------*/
