.register-portal {
    background-image: url("../../images/Background.png");
    width: 100%;
    min-height: 100vh;
    background-attachment: scroll;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}



.register__logo {
    margin-bottom: 8px;
}

.register__portal {
    margin-top: 32px;
}

.register__title {
    font-size: 26px;
    font-weight: 300;
    margin-bottom: 4px;
}

.register-portal h2 {
    margin-bottom: 8px;
    line-height: 120%;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    font-size: 26px;
}

.register__tabs {
    display: flex;
    justify-content: flex-start;
    gap: 4px;
}

.register__tabs div {
    padding: 10px 0 14px;
    flex: 1;
    margin-bottom: 8px;
    line-height: 140%;
    font-size: 16px;
    cursor: default;
}

.register__tab[data-state=inactive] {
    border-top: solid 4px #B2B2B2;
    color: #666666;
}

.register__tab[data-state=active] {
    border-top: solid 4px #666666;
    color: #303030;
    font-weight: 500;
}

.register__tab[data-state=completed] {
    border-top: solid 4px #50D264;
    color: #303030;
}

.register__info-text {
    font-family: inherit;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0;
    color: #666666;
    margin-bottom: 16px;
}

.register__info-text p {
    margin-bottom: 12px;
}

.register__info-text p:last-child {
    margin-bottom: 0;
}

.register__field {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.register__label {
    font-size: 12px;
    margin-bottom: 6px;
    color: #1E1E1E;
}

.input-flag-icon {
    width:20px;
    height:20px;
    border-radius:10px;
    object-fit:cover;
}

.register__field input[type=text] {
    border: 1px solid #D9D9D9;
    width: 100%;
    height: 32px;
    padding: 6px 16px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}

.register__field input[type=text]:focus {
    outline: none;
    border-color: #4DA3FF;
}

.phone-input:focus-within {
    border-color: #4DA3FF;
}

.register__form--row {
    display: flex;
    gap: 28px;
}

.register__form--row .register__field:first-child { flex: 6.5; }
.register__form--row .register__field:last-child { flex: 3.5; }


.register__label em {
    color: #666666;
}

.optional_fields {
    color: #666666;
    font-weight: 400;
    font-style: italic;
    font-size: 13px;
}

.phone-input {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 4px 16px;
    border: 1px solid #D9D9D9;
    background: #FFFFFF;
    box-sizing: border-box;
    position: relative;
}

.phone-input input[type=text] {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
    padding: 0;
    height: auto;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 16px;
    flex-direction: row;
}

.checkbox-group input[type=checkbox] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin-top: 4px;
    min-width: 16px;
    height: 16px;
    cursor: pointer;
    border: solid 2px #666666;
    border-radius: 2px;
    position: relative;
    flex-shrink: 0;
}

.checkbox-group input[type=checkbox]:checked {
    background-color: #666666;
    border-color: #666666;
}

.checkbox-group input[type=checkbox]:checked::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 0px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.checkbox-group label {
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    color: inherit;
}

.checkbox-group label a:hover {
    text-decoration: underline;
}

.register__btn {
    width: 100%;
    background-color: #D20532;
    color: #F3F3F3;
    height: 36px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.register__btn:disabled {
    background-color: #A6A6A6;
    cursor: not-allowed;
    color: #666666;
}

.register__btn:hover:not(:disabled) {
    background-color: #a50428;
}

.href-link {
    text-align: center;
    margin-bottom: 16px;
}

.href-link a {
    display: block;
    width: 100%;
    text-align: center;
    color: #B20021;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 100%;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
    text-decoration: none;
}

.href-link a:hover {
    text-decoration: underline;
}

.get-started-err-messages {
    font-size: 12px;
    color: #cc0000;
    margin-top: 4px;
    display: block;
}

.otp_block {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.otp_block input {
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid #D9D9D9;
    font-size: 18px;
    text-align: center;
    outline: none;
}

.otp_block input:focus {
    border-color: #666666;
    box-shadow: 0 0 0 3px rgba(10,10,10,0.07);
}

.mb-28 { margin-bottom: 28px; }
.v-mt4 { margin-top: 4px; }
.v-mt6 { margin-top: 6px; }
.v-mt8 { margin-top: 8px; }
.v-mb4 { margin-bottom: 4px; }
.v-mb8 { margin-bottom: 8px; }
.v-mb9 { margin-bottom: 9px; }
.v-mb11 { margin-bottom: 11px; }
.v-mb12 { margin-bottom: 12px; }
.v-mt28 { margin-top: 28px; }
.v-mb28 { margin-bottom: 28px; }

.register__tab[data-state=completed] {
  border-top: solid 4px #50D264;
  color: #303030;
}

.optional_note {
    font-family: "IBM Plex Sans Italics", Arial, Helvetica, sans-serif;
    font-style: italic;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: #666666 !important;
}

.country-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #D9D9D9;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.country-dropdown div {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    pointer-events: auto;
}

.country-dropdown div:hover {
    background-color: #f5f5f5;
}

.country-code {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 13px;
}

.register-portal,
.register-account__content,
.register__portal {
    overflow: visible !important;
}

.terms-text {
    font-family: inherit;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0;
    color: #666666;
    max-width: 361px;
    display: block;
}

.terms-text a {
    color: #0066CC;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.terms-text a:hover {
    text-decoration: underline;
}

.checkbox-text {
    font-family: inherit;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: 0;
    color: #1E1E1E;
    max-width: 361px;
    display: block;
}

.custom-select {
    position: relative;
    width: 100%;
}

#companyCountry, .custom-select select {
    width: 100%;
    height: 32px;
    padding: 6px 32px 6px 16px;
    font-size: 14px;
    border: 1px solid #D9D9D9;
    box-sizing: border-box;
    outline: none;
    background-color: #fff;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    pointer-events: none;
}

#countrySearch {
    width: 100%;
    height: 32px;
    padding: 6px 12px;
    font-size: 13px;
    border: none;
    border-bottom: 1px solid #D9D9D9;
    outline: none;
    box-sizing: border-box;
    background: #f5f5f5;
    position: sticky;
    top: 0;
    z-index: 1;
}

.country-code img:first-child {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    object-fit: cover;
}

.custom-multiselect {
    position: relative;
    width: 100%;
}

.custom-multiselect__trigger {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    height: auto;
    padding: 4px 32px 4px 8px;
    border: 1px solid #D9D9D9;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    box-sizing: border-box;
    position: relative;
}

.custom-multiselect__tag {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #666666;
    color: #fff;
    padding: 0px 8px;
    font-size: 12px;
    border-radius: 8px;
}

.custom-multiselect__tag span {
    cursor: pointer;
    font-weight: 400;
    font-size: 11px;
    line-height: 16px;
}


.custom-multiselect__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #D9D9D9;
    z-index: 9999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-height: 200px;
    overflow-y: auto;
}

.custom-multiselect__option {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
}

.custom-multiselect__option:hover {
    background: #f5f5f5;
}

.custom-multiselect__option.selected {
    background: #f0f0f0;
    color: #999;
    pointer-events: none;
}


.custom-multiselect__tag + #companyTypesPlaceholder {
    display: none !important;
}