﻿.register_wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.register_container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.register {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.register_grouped {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 8px;
}

.register_image_left {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .register_image_left img {
        width: 100%;
        max-width: 600px;
        height: auto;
        display: block;
        border-radius: 8px;
    }

.register_image_top {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .register_image_top img {
        width: 100%;
        max-width: 300px;
        height: auto;
        display: block;
        border-radius: 8px;
    }

    .register_header {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 8px;
    }

.register_header_title {
    max-width: 30ch;
    margin: 0 auto;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.register_body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    background-color: var(--light);
    border: 2px solid var(--grey);
    border-radius: 8px;
}

.register_progress {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
    border-top: 2px solid var(--light);
    border-bottom: 2px solid var(--light);
}

.register_progress_step {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.register_progress_step_icon {
    width: 36px;
    height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    color: var(--dark);
    background-color: var(--light);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
}

.register_progress_step_text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
}

.register_progress_step[data-active="true"] .register_progress_step_icon {
    background-color: var(--primary-blue);
}

.register_form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.register_form_message {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: var(--red);
    border: 2px solid var(--red);
    border-radius: 4px;
}

.general_error {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 2px solid var(--red);
    border-radius: 4px;
}

.general_error_text {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: var(--red);
}

.register_form_section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 8px 0;
}

#registerStepTwo {
    display: none;
}

.register_form_control {
    width: 100%;
    display: flex;
    flex-direction: column;
}

#idTypeControl {
    display: none;
}

#idNoFormControl {
    display: none;
}

#passNoFormControl {
    display: none;
}

.register_form_grouped {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

.register_form_label {
    padding: 0 8px 4px 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.form_input {
    width: 100%;
    height: 48px;
    display: flex;
    flex-direction: column;
    padding: 0 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark);
    background-color: var(--light);
    border: 2px solid rgba(8, 21, 53, 0.12);
    border-radius: 4px;
}

.form_input_message {
    width: 100%;
    display: none;
    padding: 0 8px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--red);
    text-align: left;
}

    .form_input_message a {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.5;
        color: var(--red);
        text-decoration: underline;
    }

.toggle_password {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    background-color: var(--light);
    border: 2px solid transparent;
    cursor: pointer;
}

.password_requirements_containers {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 8px;
    background-color: var(--grey);
    border-radius: 16px;
}

.password_requirements {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.password_requirement {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 4px;
}

.password_requirement_icon {
    width: 16px;
    height: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--grey);
    border: 2px solid rgba(8, 21, 53, 0.25);
    border-radius: 50%;
}

.password_requirement_text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.password_requirement.req_valid .password_requirement_icon {
    background-color: var(--green);
    border-color: transparent;
}

.password_requirement.req_valid .password_requirement_text {
    color: var(--green);
}

.id_selector_button {
    width: 100%;
    min-height: 48px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    background-color: var(--light);
    border: 2px solid rgba(8, 21, 53, 0.12);
    border-radius: 4px;
    cursor: pointer;
}

.id_selector_text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark);
}

.id_selector_icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .id_selector_icon img {
        width: 100%;
        max-width: 16px;
        height: auto;
        display: block;
    }

.id_selector_button[data-active="true"] .id_selector_icon {
    transform: rotate(180deg);
}

.id_type_container {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 4px;
    padding: 4px;
    background-color: var(--light);
    border: 2px solid var(--grey);
    border-radius: 4px;
}

    .id_type_container[data-active="true"] {
        display: flex;
    }

.id_type_button {
    width: 100%;
    height: 48px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    background-color: var(--grey);
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

    .id_type_button:focus,
    .id_type_button:active {
        border-color: rgba(8, 21, 53, 0.36);
    }

.id_type_button_text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.id_type_button_icon {
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
    border: 2px solid transparent;
    border-radius: 50%;
}

.id_type_button[data-active="true"] .id_type_button_icon {
    background-color: var(--green);
    border-color: transparent;
}

#idNoFormControl {
    display: none;
}

#passNoFormControl {
    display: none;
}

.dob_selector_container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 0px;
}

.dob_button {
    width: 100%;
    height: 48px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    background-color: var(--light);
    border: 2px solid rgba(8, 21, 53, 0.12);
    border-radius: 4px;
    cursor: pointer;
}

.dob_button_text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
}

.dob_button_icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .dob_button_icon img {
        width: 100%;
        max-width: 16px;
        height: auto;
        display: block;
    }

.dob_button[data-active="true"] .dob_button_icon {
    transform: rotate(180deg);
}

.dob_selector_container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 1px;
}

.dob_form_control {
    width: 33.33%;
    height: 48px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

    .dob_form_control:nth-child(1) .dob_button {
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
    }

    .dob_form_control:nth-child(2) .dob_button {
        border-radius: 0;
    }

    .dob_form_control:nth-child(3) .dob_button {
        border-top-left-radius: 0px;
        border-bottom-left-radius: 0px;
    }

.month_selector_container {
    width: 100%;
    max-height: 448px;
    position: absolute;
    top: 48px;
    left: 0;
    display: none;
    flex-direction: column;
    padding: 8px;
    background-color: var(--grey);
    border-radius: 8px;
    z-index: 1;
    overflow-y: auto;
}

    .month_selector_container[data-active="true"] {
        display: flex;
    }

.dob_month {
    width: 100%;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--light);
    cursor: pointer;
}

    .dob_month:last-child {
        border: none;
    }

.day_selector_container {
    width: 100%;
    max-height: 448px;
    position: absolute;
    top: 48px;
    left: 0;
    display: none;
    flex-direction: column;
    padding: 8px;
    background-color: var(--grey);
    border-radius: 8px;
    z-index: 1;
    overflow-y: auto;
}

    .day_selector_container[data-active="true"] {
        display: flex;
    }

.dob_day {
    width: 100%;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--light);
    cursor: pointer;
}

    .dob_day:last-child {
        border: none;
    }

.year_selector_container {
    width: 100%;
    max-height: 448px;
    position: absolute;
    top: 48px;
    left: 0;
    display: none;
    flex-direction: column;
    padding: 8px;
    background-color: var(--grey);
    border-radius: 8px;
    z-index: 1;
    overflow-y: auto;
}

    .year_selector_container[data-active="true"] {
        display: flex;
    }

.dob_year {
    width: 100%;
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--light);
    cursor: pointer;
}

    .dob_year:last-child {
        border: none;
    }

.country_selector_button {
    width: 100%;
    min-height: 48px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    background-color: var(--light);
    border: 2px solid rgba(8, 21, 53, 0.12);
    border-radius: 4px;
    cursor: pointer;
}

.country_selector_text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark);
}

.country_selector_icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .country_selector_icon img {
        width: 100%;
        max-width: 16px;
        height: auto;
        display: block;
    }

.country_selector_button[data-active="true"] .country_selector_icon {
    transform: rotate(180deg);
}

.country_container {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 4px;
    padding: 4px;
    background-color: var(--light);
    border: 2px solid var(--grey);
    border-radius: 4px;
}

    .country_container[data-active="true"] {
        display: flex;
    }

.country_button {
    width: 100%;
    height: 48px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    background-color: var(--grey);
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

    .country_button:focus,
    .country_button:active {
        border-color: rgba(8, 21, 53, 0.36);
    }

    .country_button[disabled="disabled"] {
        pointer-events: none;
        cursor: not-allowed;
    }

.country_button_text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.country_button_icon {
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
    border: 2px solid transparent;
    border-radius: 50%;
}

.country_button[data-active="true"] .country_button_icon {
    background-color: var(--green);
    border-color: transparent;
}

.province_selector_button {
    width: 100%;
    min-height: 48px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    background-color: var(--light);
    border: 2px solid rgba(8, 21, 53, 0.12);
    border-radius: 4px;
    cursor: pointer;
}

.province_selector_text {
    font-size: 16px;
    line-height: 24px;
    color: var(--dark);
}

.province_selector_icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .province_selector_icon img {
        width: 100%;
        max-width: 16px;
        height: auto;
        display: block;
    }

.province_selector_button[data-active="true"] .province_selector_icon {
    transform: rotate(180deg);
}

.province_container {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 4px;
    padding: 4px;
    background-color: var(--grey);
    border-radius: 8px;
}

    .province_container[data-active="true"] {
        display: flex;
    }

.province_button {
    width: 100%;
    height: 48px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    background-color: var(--light);
    border: 2px solid rgba(8, 21, 53, 0.12);
    border-radius: 4px;
    cursor: pointer;
}

    .province_button:focus,
    .province_button:active {
        border-color: rgba(8, 21, 53, 0.36);
    }

.province_button_text {
    font-size: 16px;
    font-weight: bold;
    line-height: 24px;
}

.province_button_icon {
    width: 16px;
    height: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
    border: 2px solid rgba(8, 21, 53, 0.12);
    border-radius: 50%;
}

.province_button[data-active="true"] .province_button_icon {
    background-color: var(--green);
    border-color: transparent;
}

#provinceFormControl {
    display: none;
}

#otherProvFormControl {
    display: none;
}

.fund_selector_button {
    width: 100%;
    min-height: 48px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    background-color: var(--light);
    border: 2px solid rgba(8, 21, 53, 0.12);
    border-radius: 4px;
    cursor: pointer;
}

.fund_selector_text {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--dark);
    text-align: left;
}

.fund_selector_icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .fund_selector_icon img {
        width: 100%;
        max-width: 16px;
        height: auto;
        display: block;
    }

.fund_selector_button[data-active="true"] .fund_selector_icon {
    transform: rotate(180deg);
}

.fund_container {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 4px;
    padding: 4px;
    background-color: var(--light);
    border: 2px solid var(--grey);
    border-radius: 4px;
}

    .fund_container[data-active="true"] {
        display: flex;
    }

.fund_button {
    width: 100%;
    height: 48px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    background-color: var(--grey);
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

    .fund_button:focus,
    .fund_button:active {
        border-color: rgba(8, 21, 53, 0.36);
    }

.fund_button_text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.fund_button_icon {
    width: 24px;
    height: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
    border: 2px solid transparent;
    border-radius: 50%;
}

.fund_button[data-active="true"] .fund_button_icon {
    background-color: var(--green);
    border-color: transparent;
}

.register_form_actions {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.form_button {
    width: 100%;
    height: 48px;
    max-width: calc(50% - 4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark);
    background-color: var(--primary-green);
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
}

    .form_button[disabled="disabled"] {
        pointer-events: none;
        opacity: 0.5;
    }

    .form_button:focus,
    .form_button:active {
        background-color: transparent;
        border-color: var(--primary-green);
        transition: 0.2s ease-out;
    }

#previousStepOne {
    background-color: var(--light);
    border: 2px solid var(--dark);
}

.register_form_link_action {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
}

.register_form_login_link {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    color: var(--dark);
    text-decoration: underline;
}

.restricted_modal_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 3;
}

.restricted_modal {
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--grey);
    border: 2px solid var(--red);
    border-radius: 16px;
}

.restricted_modal_header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background-color: var(--red);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.restricted_modal_title {
    font-size: 24px;
    font-weight: bold;
    line-height: 32px;
    color: var(--light);
    text-align: center;
}

.restricted_modal_body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.restricted_modal_description {
    width: 100%;
    font-size: 16px;
    line-height: 24px;
    text-align: center;
}

    .restricted_modal_description a {
        font-size: 16px;
        font-weight: bold;
        line-height: 24px;
        color: var(--dark);
        text-decoration: underline;
    }

    @media only screen and (min-width: 680px) {
        .register_body {
            padding: 32px;
        }
    }

    @media only screen and (min-width: 960px) {
        .register {
            max-width: 1200px;
            flex-direction: row;
            flex-wrap: nowrap;
            align-items: center;
            justify-content: center;
            gap: 32px;
        }

        .register_image_top {
            display: none;
        }

    }

    @media only screen and (min-width: 1200px) {
        .complete_step_one:hover {
            background-color: var(--light);
            border-color: var(--primary-green);
            transition: 0.2s ease-in-out;
        }

        .complete_step_two:hover {
            background-color: var(--light);
            border-color: var(--primary-green);
            transition: 0.2s ease-in-out;
        }
    }