/* =========================
   FARIA GATE MODAL (FINAL – GREEN BOX SCROLLABLE)
   ========================= */

#faria-gate-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

#faria-gate-modal.open {
  display: block;
}

/* Modal root */
.faria-gate-content {
  height: 100vh;
  display: flex;
  overflow: auto;
  flex-direction: column;
  background: #f5f5f5;
}

/* Header – fixed */
.faria-gate-header {
  flex: 0 0 auto;
	max-width: 45% !important;
	/* width: 100%; */
	margin: 0 auto;
	/* padding: 32px 20px 16px; */
	display: flex;
	flex-direction: column;
}

/* Body – SCROLL AREA */
.faria-gate-body {
  flex: 1 1 auto;
	min-height: 0;
	max-width: 1280px;
	margin: 0 auto;
	/* padding: 24px 20px 64px; */
	width: 100%;
	display: flex;
	justify-content: space-between;
	gap: 3%;
	align-items: center;
}

/* Close button */
.faria-gate-close {
  position: sticky;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #37023c;
  color: #fff;
  font-size: 22px;
  border: none;
  cursor: pointer;
  z-index: 10;
  padding: 5px;
}

/* Lock background scroll */
body.faria-gate-open {
	height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* HubSpot form safety */
#faria-gate-form {
	padding-top: 0 !important;
	padding: 5% 0;
	width: 60%;
	margin: 0 auto;
	margin-top: 0;
}
#faria-gate-form,
#faria-gate-form .hs-form,
#faria-gate-form form {
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

#faria-gate-form .hs-form {
	padding: 30px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 4px 0 rgb(85 40 89 / 8%);
}

/* =========================
   START MODAL FORM STYLE
   ========================= */

.new-signup-form .form-columns-2 label {
    display: flex
}

.new-signup-form .input .hs-input {
	font-size: 14px !important;
}

.new-signup-form .input .multi-container {
	margin-top: 0 !important;
}

.new-signup-form .input .hs-input::placeholder {
	font-size: 14px !important;
}

.new-signup-form .hs-main-font-element {
	font-size: 14px !important;
}

.new-signup-form .form-columns-2 {
    display: flex;
    gap: 20px
}

.new-signup-form .hs-error-msgs {
	margin: 0 !important;
}

.new-signup-form .input .hs-input {
    background-color: #f9fafc;
    width: 100%;
    padding: 0
}

.new-signup-form .hs_faria_role {
    width: 100%!important
}

.new-signup-form .input input,.new-signup-form .input select {
    border: 1px solid #C0DCFC;
    border-radius: 8px;
    height: 40px;
    width: 100%;
    padding: 0 10px!important;
    margin-left: 0
}

.new-signup-form fieldset>div {
    margin-bottom: 20px;
    flex: 1
}

.new-signup-form fieldset label {
    font-size: 16px!important;
    color: #37023c;
    padding-bottom: 6px;
    display: inline-block;
    font-weight: 600
}

.new-signup-form fieldset label span.hs-form-required {
    color: red;
    margin-left: 8px
}

.new-signup-form .hs_title {
    width: 8%
}

.new-signup-form .hs_firstname,.new-signup-form .hs_lastname {
    width: 46%
}

.new-signup-form .hs-dependent-field .input ul,.new-signup-form .hs_special_offers .input ul,.new-signup-form .hs_i_would_like_a_managebac_demo ul {
    list-style: none;
    padding: 0
}

.new-signup-form .hs-dependent-field .input ul li label,.new-signup-form .hs_special_offers .input ul li label,.new-signup-form .hs_i_would_like_a_managebac_demo ul li label,.new-signup-form .hs-form-checkbox-display {
    display: flex;
    align-items: center
}

.new-signup-form .hs_role_ .input .multi-container,.new-signup-form .hs_platforms_used .input .multi-container {
    display: grid;
    grid-template-columns: repeat(2,auto);
    width: 100%
}

.new-signup-form .hs-dependent-field .input ul li span,.new-signup-form .hs_special_offers .input ul li span,.new-signup-form .hs_i_would_like_a_managebac_demo ul li span {
    font-weight: 400;
    color: #37023c
}

.new-signup-form .hs_special_offers {
    margin-bottom: 40px
}

.new-signup-form .hs_special_offers .input ul {
    display: flex;
    gap: 10px
}

.new-signup-form .hs_special_offers .input ul li {
    flex: 1 1;
    border: 1px solid #C0DCFC;
    padding: 10px
}

.new-signup-form .hs_special_offers .input ul li label {
    cursor: pointer;
    align-items: normal
}

.new-signup-form .hs_special_offers .input ul li label>div {
    width: 80%
}

.new-signup-form .hs_special_offers .input ul li label .starter-pack {
    font-weight: 400;
    font-size: 14px;
    margin-top: 8px
}

.new-signup-form .hs_special_offers .input ul li label .starter-pack #manage,.new-signup-form .hs_special_offers .input ul li label .starter-pack #open {
    color: #575d6c
}

.new-signup-form .hs_special_offers .input ul li label .starter-pack #bac {
    color: #6293e8
}

.new-signup-form .hs_special_offers .input ul li label .starter-pack #apply {
    color: #03c29c
}

.new-signup-form .hs_special_offers .input ul li label .budget-friendly {
    font-weight: 400;
    font-size: 13px
}

.new-signup-form .hs_special_offers .input ul li.active {
    background-color: #eff6ff;
    border: 1px solid #6096E9
}

.new-signup-form .hs_special_offers .input ul li span {
    font-size: 15px;
    font-weight: 700
}

.new-signup-form #label-special_offers-6fbde94b-4829-44f8-8de0-328b8a9dc6ce,.new-signup-form #label-which_curricula_do_you_run_-6fbde94b-4829-44f8-8de0-328b8a9dc6ce,.new-signup-form #label-jobtitle-6fbde94b-4829-44f8-8de0-328b8a9dc6ce,.new-signup-form #label-sign_up_products-6fbde94b-4829-44f8-8de0-328b8a9dc6ce {
    display: none
}

.new-signup-form .hs-richtext h1.noline {
    border: 0;
    padding: 0 0 10px
}

.new-signup-form .hs-richtext h1 {
    font-size: 28px;
    color: #37023c;
    font-weight: 700;
    border-top: 1px solid #D9E7F7;
    padding-top: 30px
}

.new-signup-form .hs-richtext h1 img {
    width: 32px!important
}

.new-signup-form #label-how_did_you_find_us_-6fbde94b-4829-44f8-8de0-328b8a9dc6ce,.new-signup-form #label-how_did_you_find_us___free_fill-6fbde94b-4829-44f8-8de0-328b8a9dc6ce {
    display: none
}

.new-signup-form .hs-richtext p {
    color: #37023c
}

.new-signup-form .hs_sign_up_products ul {
    margin: 0;
    padding: 0;
    flex-wrap: wrap!important;
    display: flex;
    list-style: none;
    justify-content: space-between
}

.new-signup-form .hs_sign_up_products ul label,.new-signup-form .hs_sign_up_products ul label span {
    display: flex;
    align-items: center;
    color: #37023c;
    font-size: 13px;
    font-weight: 400
}

.new-signup-form .hs_sign_up_products ul li {
    width: 23%;
    margin-bottom: 20px
}

.new-signup-form .hs_sign_up_products ul li input {
    margin-right: 5px
}

.new-signup-form .hs_sign_up_products ul li img {
    height: auto;
    width: 40px;
    margin-left: 5px;
    margin-right: 10px
}

.new-signup-form .hs_i_would_like_a_managebac_demo {
    margin-top: -10px
}

.signup-header span#sec {
    color: #428bfe;
    display: block
}



#info-text p {
    display: flex;
    align-items: center;
    justify-content: center
}

#info-text p img {
    height: 32px;
    width: auto;
    margin-right: 15px
}

#info-text p b {
    font-size: 18px;
    color: #428bfe
}

.new-signup-form .hs-error-msgs {
    padding: 0;
    list-style: none
}

.new-signup-form .hs-error-msgs li label {
    color: red!important;
    font-size: 12px!important;
    padding: 0;
    font-weight: 400
}

.new-signup-form .hs-form-booleancheckbox {
    margin-top: 10px
}

.new-signup-form .hs-form-booleancheckbox span {
    font-size: 18px!important
}

@media only screen and (max-width: 767px) {
    #info-text p {
        align-items:normal
    }

    #info-text p span {
        text-align: left
    }

    .new-signup-form .hs_sign_up_products ul li {
        width: 50%
    }

    .new-signup-form .hs_title {
        width: 30%
    }

    .new-signup-form .hs_faria_role,.new-signup-form .hs_firstname,.new-signup-form .hs_lastname {
        width: 100%!important
    }

    .new-signup-form .hs-richtext h1 {
        font-size: 25px
    }

    .new-signup-form .hs_special_offers .input ul {
        flex-wrap: wrap
    }

    .new-signup-form .hs_special_offers .input ul li {
        flex: unset;
        width: 100%
    }

    .new-signup-form .hs_sign_up_products ul li input {
        margin-bottom: 0
    }

    .new-signup-form .hs_role_ .input .multi-container {
        display: block
    }

    .new-signup-form .hs_special_offers .input ul li span {
        width: 80%
    }

    .new-signup-form .hs_special_offers .input ul li label {
        align-items: normal
    }

    .new-signup-form .hs_special_offers .input ul li label input {
        margin-top: 5px
    }

    .new-signup-form .hs-form-booleancheckbox label {
        align-items: normal!important
    }

    .new-signup-form .hs-form-booleancheckbox label input {
        margin-top: 5px!important
    }
}

@media only screen and (max-width: 480px) {
    .new-signup-form .hs_sign_up_products ul li {
        width:100%
    }

    .new-signup-form .form-columns-2 {
        gap: 10px
    }
}

@media only screen and (min-width: 768px)and (max-width:991px) {
    #info-text p {
        align-items:normal
    }

    #info-text p span {
        text-align: left
    }
}

.new-signup-form .hs_title {
    width: 12%!important
}

.new-signup-form .hs_firstname,.new-signup-form .hs_lastname {
    width: 50%!important
}

.new-signup-form .hs-form-radio label {
    display: flex;
    align-items: center;
    font-weight: 400
}

.new-signup-form .hs_submit input[type=submit] {
    text-align: center;
    color: #fff;
    display: inline-block;
    transition: margin .3s,transform .3s,box-shadow .3s,color .3s,background .3s,background-position .3s;
    transition-timing-function: ease-in;
    background: #37023c;
    background-size: 200% 200%;
    background-position: center;
    width: fit-content!important;
    font-size: var(--fs-body-base);
    --btn-padding: var(--btn-padding-lg);
    padding: 10px 30px;
    font-weight: var(--fw-lead-default);
    text-transform: capitalize;
    line-height: var(--lh-btn-default);
    border-radius: 100px!important;
    cursor: pointer
}

.new-signup-form .hs_submit input[type=submit]:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 8px -2px #336dcd1a,0 0 1px #336dcd33;
    background-position: left;
    color: var(--yellow-500)
}

.new-signup-form.text-white input[type=checkbox] {
    accent-color: #fff
}

.new-signup-form.text-white .input .hs-input {
    color: #37023c
}

.new-signup-form.text-white .input ul.autocomplete-suggestions {
    z-index: 1!important
}

.new-signup-form.text-white .input ul.autocomplete-suggestions li {
    color: #37023c
}

.new-signup-form.text-white .hs-richtext a {
    color: #fff;
    text-decoration: underline!important
}

.new-signup-form.text-white .hs_submit input[type=submit] {
    --color: var(--pink-700);
    --bg: var(--paper);
    color: var(--color);
    background: var(--bg)
}

.new-signup-form.text-white .hs_submit input[type=submit]:hover {
    --color: var(--pink-900);
    --bg: var(--secondary-200)
}

.new-signup-form.text-white fieldset label {
    color: #fff
}

.new-signup-form input[type=checkbox],.new-signup-form input[type=radio] {
    accent-color: #336dcd;
    margin-right: 8px
}

.new-signup-form .input :where(input) {
    display: inline-flex;
    height: 100%;
    width: 100%;
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
    background-color: transparent;
    border: none
}

.new-signup-form .input:focus,.new-signup-form .input:focus-within {
    --input-color: unset;
    box-shadow: 0 1px var(--input-color)
}

.new-signup-form fieldset {
    display: flex;
    max-width: 100%!important;
    gap: 20px
}

.new-signup-form fieldset .input {
    all: unset;
    margin-right: 0!important;
    position: relative
}

.new-signup-form fieldset .input:focus {
    outline: none!important;
    border: 1px solid #ccc
}

.new-signup-form fieldset .input .hs-input:not([type=checkbox]):not([type=radio]) {
    width: 100%!important
}

.new-signup-form input[type=checkbox] {
    width: 18px!important;
    min-width: 18px;
    height: 18px;
    accent-color: #336dcd;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 4px;
    background-color: #fff;
    position: relative;
    padding: 0!important
}

.new-signup-form input[type=checkbox]:checked {
    background-color: #007bff;
    border-color: #007bff
}

.new-signup-form .hs_use_managebac_ .inputs-list {
	list-style-type: none;
  padding: 0;
  margin: 0;
}

.new-signup-form input[type=checkbox]:checked:after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg)
}

.new-signup-form input[type=radio] {
    height: 18px;
    width: 18px!important;
    accent-color: #336dcd;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 50%;
    background-color: #fff;
    position: relative;
    padding: 0!important
}

.new-signup-form input[type=radio]:checked:after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 8px;
    height: 8px;
    background-color: #007bff;
    border-radius: 50%
}

.hs_sign_up_products span.hs-form-required {
    display: none
}

.new-signup-form.ctc-pd fieldset:nth-child(2) {
    display: grid;
    grid-template-rows: 1fr auto;
    grid-template-columns: 1fr 1fr
}

.new-signup-form.ctc-pd fieldset:nth-child(2)>div:nth-child(1) {
    grid-column: 1 / 3
}

.new-signup-form.ctc-pd fieldset:nth-child(2)>div {
    width: 100%!important
}

.new-signup-form.ctc-pd fieldset:nth-child(2)>div.hs-richtext {
    margin-bottom: 0
}

.new-signup-form.ctc-pd fieldset.form-columns-1 {
    display: block
}

.new-signup-form.ctc-pd .hs-richtext h2 strong {
    font-size: 28px;
    font-weight: 700
}

.new-signup-form.ctc-pd .legal-consent-container .hs-form-booleancheckbox-display>span {
    margin-left: 0
}

.hs_submit .actions {
    text-align: left
}

.new-signup-form fieldset {
    display: inherit
}

.modal-popup .new-signup-form .hs-richtext h1 {
    padding-top: 0;
    border-top: unset
}

#fullcontent h1,#fullcontent h2,#fullcontent h3 {
    font-size: 28px
}

#fullcontent ol li {
    padding-bottom: 15px;
    line-height: 1.7em
}

/* =========================
   FIX SCROLL MODAL
   ========================= */

/* Header */
.faria-gate-header {
	flex-shrink: 0;
  text-align: center;
  margin-bottom: 24px;
}

.faria-gate-icon {
	width: auto;
	height: auto;
  margin-bottom: 0px !important;
	border-radius: 10px;
}

.faria-gate-header .head-block {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 60px;
}

.faria-gate-header .insight-category-item span {
	background-color: #F0EBEB;
	border-radius: 100px;
	padding: 12px 16px;
	font-size: 12px;
	font-weight: 700;
	color: #37023C;
	text-transform: uppercase;
	line-height: normal;
}

.faria-gate-header .txt-block h3 {
	font-size: 32px;
	font-weight: 700;
	color: #37023C;
	margin-bottom: 15px;
	line-height: 40px;
	text-decoration: none;
	margin-top: 0;
	text-align: left;
}

.faria-gate-header .txt-block p {
	text-align: left;
	line-height: 1.4em;
    color: #37023C;
}

.faria-gate-header .post-time {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin-left: auto;
	list-style-type: none;
}

.faria-gate-header h2 {
  margin: 12px 0 0 !important;
  font-size: 36px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: #37023c !important;
}

.faria-gate-header h4 {
	margin: 0 !important;
	color: #37023c !important;
	line-height: 1.25em !important;
	font-size: 24px !important;
}

.faria-gate-header h4 span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 500;
}

.faria-gate-header h4 span img {
  height: 20px;
  width: auto;
  position: absolute;
  right: 52px;
  top: 28px;
}

/* Custom scrollbar (optional, tapi cakep) */
.faria-gate-body::-webkit-scrollbar {
  width: 6px;
}
.faria-gate-body::-webkit-scrollbar-thumb {
  background: rgba(55, 2, 60, 0.3);
  border-radius: 10px;
}

/* Close button */
.faria-gate-close {
  color: #fff;
  font-size: 26px;
}

/* HubSpot submit button color fix */
.new-signup-form .hs_submit input[type=submit] {
  background: #37023c;
}

.faria-gate-alert {
  background: #eae4ea;
  color: #171717;
  padding: 16px;
  border-radius: 10px;
  margin-top: 7%;
  font-size: 14px;
}

.faria-gate-alert-title {
  font-weight: 600;
  font-size: 15px;
}
#faria-gate-form .submitted-message {
    display: none !important;
}

.re-download-btn {
    background: #37023c;
    color: #fff;
    padding: 20px 30px;
    border-radius: 50px;
    cursor: pointer;
}
.re-download-btn:hover {
    color: #eabb24 !important;
}
