/* 
-------------------------------------
-------------- Company -------------- 
-------------------------------------
*/

.membership_company_container {
    margin: 0 auto;
    max-width: 600px;
}

.membership_company_container .form_indication {
    margin-bottom: 20px;
    color: var(--e-global-text-87056a2);
    /* font */
    font-weight: var(--e-global-typography-text-font-weight);
    font-size: var(--e-global-typography-text-font-size);
    line-height: var(--e-global-typography-text-line-height);
}

.membership_company_container .membership_company_wrapper {
    display: flex;
    column-gap: 12px;
    margin-bottom: 5px;
}

.membership_company_container .input_container {
    position: relative;
    width: 396px;
}

.membership_company_container input[type=text] {
    max-width: 396px;
    padding: 16px 50px 16px 16px;
}

.membership_company_container input[type=text]:focus {
    border-color: black;
}

.membership_company_container .input_container::after {
    content: "";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px;
    height: 25px;
    background-image: url('img/icons/search.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.membership_company_container .input_container.loading::after {
    background-image: url('img/icons/spinner.svg');
    animation: spinnerSearchRotation 2s infinite linear;
}


/* -- Input Spinner Animation -- */

@keyframes spinnerSearchRotation {
    from {
        transform: translateY(-50%) rotate(0deg);
    }
    to {
        transform: translateY(-50%) rotate(359deg);
    }
}


/* -- Company List -- */

.membership_company_container #companies {
    margin-bottom: 50px;
}

.membership_company_container #companies div {
    padding: 8px 0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.membership_company_container #companies label {
    color: black;
    cursor: pointer;
    /* font */
    font-weight: 400;
    font-size: 17px;
    line-height: 24px;
}


/* -- Next Step Wrapper -- */

.membership_company_container #next-step-wrapper.off {
    display: none;
}


/* -- Empty Wrapper -- */

.membership_company_container #empty-wrapper.off {
    display: none;
}

.membership_company_container p.text-danger {
    margin-bottom: 20px;
    color: var(--e-global-color-87056a2)!important;
    /* font */
    font-weight: var(--e-global-typography-text-font-weight);
    font-size: var(--e-global-typography-text-font-size);
    line-height: var(--e-global-typography-text-line-height);
}


/* 
-------------------------------------
------------ Information ------------ 
-------------------------------------
*/

#informations-form button {
    margin-top: 58px;
}

#informations-form div.form_radio_container:not(:last-of-type) {
    margin-bottom: 15px;
}

#informations-form div.form_radio_wrapper {
    margin-top: 8px;
    display: flex;
    align-items: center;
    column-gap: 60px;
}


/* 
-------------------------------------
-------------- Options -------------- 
-------------------------------------
*/

.membership_options_container {
    margin: 0 auto;
    max-width: 750px;
}


/* -- Heading -- */

.membership_options_heading {
    margin-bottom: 55px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.membership_options_heading h2 {
    margin-bottom: 12px;
    color: black;
    /* font */
    font-weight: 900;
    font-size: 28px;
    line-height: 32px;
}

.membership_options_heading h2 small {
    color: #015AE6;
    /* font */
    font-weight: 400;
    font-size: 17px;
    line-height: 24px;
}

.membership_options_heading #membershipDropdown {
    border: 0;
    border-radius: 0;
    background-color: #FFC102;
    color: black;
    padding: 12px 130px 12px 12px;
    position: relative;
    /* font */
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}

.membership_options_heading #membershipDropdown:focus {
    box-shadow: none;
}

.membership_options_heading #membershipDropdown::after {
    margin: 0;
    vertical-align: 0;
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    border: 0;
    width: 21px;
    height: 21px;
    background-image: url('./img/icons/chevron.svg');
    background-position: center center;
    background-repeat: no-repeat;
}

.membership_options_heading #membershipDropdownMenu {
    border-radius: 0;
    border-color: #BEB9AF;
    cursor: default;
    width: 100%;
    /* font */
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.membership_options_heading #membershipDropdownMenu .dropdown-item {
    transition: all 250ms ease-out;
}

.membership_options_heading #membershipDropdownMenu .dropdown-item:focus,
.membership_options_heading #membershipDropdownMenu .dropdown-item:hover {
    background-color: white;
}

.membership_options_heading .heading_price {
    text-align: right;
}

.membership_options_heading .heading_price h2 {
    margin-bottom: 16px;
}

.membership_options_heading .heading_price p {
    margin-bottom: 0;
    color: #89847A;
    /* font */
    font-weight: 400;
    font-size: 17px;
    line-height: 24px;
}

.membership_options_heading .heading_price p small {
    /* font */
    font-size: 12px;
    line-height: 15px;
}

@media screen and (max-width: 767px) {
    .membership_options_heading {
        flex-wrap: wrap;
        row-gap: 25px;
    }
    .membership_options_heading .heading_price {
        width: 100%;
    }
    .membership_options_heading .heading_price h2 {
        margin-bottom: 5px;
    }
}


/* -- Option List -- */

.membership_options_list_wrapper {
    margin-bottom: 75px;
}

.membership_options_list_wrapper h3 {
    margin-bottom: 20px;
    color: black;
    /* font */
    font-weight: 900;
    font-size: 22px;
    line-height: 24px;
}

.membership_options_list_wrapper .membership_option {
    position: relative;
    border: 1px solid #BEB9AF;
    padding: 16px 18px 16px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 500ms ease-out, border-bottom-width 200ms, padding-bottom 200ms;
    overflow: hidden;
}

.membership_options_list_wrapper .membership_option::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 16.5px;
    height: 16.5px;
    border: 2px solid #89847A;
    border-radius: 20%;
    transition: all 250ms ease-out;
}

.membership_options_list_wrapper .membership_option .check_container {
    position: absolute;
    left: -30px;
    top: -10px;
    width: 97px;
    height: 97px;
    background-color: #E8E3D9;
    transform: rotate(55deg);
    z-index: -1;
    opacity: 0;
    transition: all 400ms ease-out, opacity 250ms ease-out;
}

.membership_options_list_wrapper .membership_option:not(:last-child) {
    margin-bottom: 20px;
}

.membership_options_list_wrapper .membership_option h4 {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    column-gap: 6px;
    /* font */
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}

.membership_options_list_wrapper .membership_option h4 small {
    color: #89847A;
    /* font */
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
}

.membership_options_list_wrapper .membership_option .opnt-diamond {
    width: 2.8px;
    height: 2.8px;
}

.membership_options_list_wrapper .membership_option p {
    margin-bottom: 0;
    color: #89847A;
    /* font */
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
}

.membership_options_list_wrapper .membership_option .option_price {
    text-align: right;
}

.membership_options_list_wrapper .membership_option .option_price h4 {
    display: block;
}

.membership_options_list_wrapper .membership_option .option_price h5 {
    margin-bottom: 0;
    color: #89847A;
    /* font */
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
}


/* -- Option List Hover -- */

.membership_options_list_wrapper .membership_option:hover {
    border-color: #FF70E6;
    padding-left: 18px;
}

.membership_options_list_wrapper .membership_option:hover:before {
    opacity: 0;
}

.membership_options_list_wrapper .membership_option:hover .check_container {
    opacity: 1;
}


/* -- Option List Active -- */

.membership_options_list_wrapper .membership_option.active {
    border-color: #015AE6;
    border-bottom-width: 3px;
    padding-left: 104px;
    padding-bottom: 14px;
}

.membership_options_list_wrapper .membership_option.active:before {
    opacity: 0;
}

.membership_options_list_wrapper .membership_option.active .check_container {
    opacity: 1;
    background-color: #015AE6;
    transform: translateY(-50%) rotate(45deg);
    width: 64px;
    height: 64px;
    top: 50%;
    left: 10px;
}

.membership_options_list_wrapper .membership_option.active .check_container::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url("./img/icons/check.svg");
    background-position: center center;
    background-repeat: no-repeat;
    transform: rotate(-45deg);
}


/* -- Price -- */

.membership_options_price {
    margin-bottom: 50px;
    text-align: right;
}

.membership_options_price p {
    margin-bottom: 0;
    color: #89847A;
    /* font */
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
}

.membership_options_price p small {
    /* font */
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
}

.membership_options_price .opnt-diamond {
    width: 4.3px;
    height: 4.3px;
}

.membership_options_price h4 {
    margin-bottom: 0;
    color: black;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 11px;
    /* font */
    font-weight: 900;
    font-size: 22px;
    line-height: 24px;
}


/* -- Form -- */

.membership_options_form div.radio_buttons {
    margin-bottom: 50px;
}

#informations-form div.form_radio,
.membership_options_form div.form_radio {
    padding: 8px 0;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    column-gap: 10px;
}

#informations-form label,
.membership_options_form label {
    width: calc(100% - 35px);
    color: black;
    cursor: pointer;
    /* font */
    font-weight: 400;
    font-size: 17px;
    line-height: 24px;
}

#informations-form label a,
.membership_options_form label a {
    text-decoration: underline;
}

#informations-form input[type=checkbox],
.membership_options_form input[type=checkbox] {
    padding: 0;
    width: 23px;
    height: 23px;
    background-color: var(--e-global-color-30b5a7a);
    border: 0;
    appearance: none;
    border-radius: 50%;
    display: grid!important;
    place-content: center;
    transition: 500ms all ease-out;
    cursor: pointer;
}

#informations-form input[type=checkbox]:hover,
.membership_options_form input[type=checkbox]:hover {
    background-color: var(--e-global-color-6233268);
}

#informations-form input[type=checkbox]:checked:hover,
.membership_options_form input[type=checkbox]:checked:hover {
    background-color: var(--e-global-color-30b5a7a);
}

#informations-form input[type=checkbox]::before,
.membership_options_form input[type=checkbox]::before {
    content: "";
    width: 19px;
    height: 19px;
    border-radius: 50%;
    transform: scale(0);
    transition: 500ms all ease-out;
    background-color: var(--e-global-color-a181bc1);
}

#informations-form input[type=checkbox]:hover::before,
.membership_options_form input[type=checkbox]:hover::before {
    transform: scale(1);
}

#informations-form input[type=checkbox]:checked::before,
.membership_options_form input[type=checkbox]:checked::before {
    transform: scale(1);
    background-color: var(--e-global-color-primary);
}