/* PHONE FIELD LAYOUT */
.phone-field{
    display:flex;
    gap:12px;
    align-items:center;
}

/* COUNTRY CODE BOX */
.country-code-box{
    width:120px;
    flex-shrink:0;
    position:relative;
}

.country-code-select{
    width:100%;
    height:58px;
    border:1.6px solid #E5E7EB;
    border-radius:9px;
    background:#fff;
    padding:0 40px 0 16px;
    font-size:15px;
    color:#2f3654;
    appearance:none;
    outline:none;
    cursor:pointer;
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
}

/* CUSTOM CHEVRON */
.country-code-box::after{
    content:"";
    position:absolute;
    right:18px;
    top:50%;
    transform:translateY(-50%);
    width:0;
    height:0;
    border-left:5px solid transparent;
    border-right:5px solid transparent;
    border-top:6px solid #8b8b8b;

    pointer-events:none;
}

/* PHONE INPUT WRAPPER */
.phone-input-wrapper{
    flex:1;
    position:relative;
}

.phone-input-wrapper .modern-input{
    padding-left:16px !important;
}
.iti{
    width:100%;
}

.iti input{
    height:45px !important;
    border-radius:9px !important;
    padding-left:52px !important;
}
/* ICON */
.phone-input-wrapper .input-icon{
    color:#1635B7;
}

/* MOBILE */
@media(max-width:576px){

    .phone-field{
        gap:10px;
    }

    .country-code-box{
        width:105px;
    }
}
.modern-form {
    width: 100%;
}

.modern-group {
    margin-bottom: 22px;
}

.input-box label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #2f3654;
    display: block;
}

.input-box label span {
    color: #1635B7;
    margin-left:4px;
}

.input-icon-wrapper {
    position: relative;
}

.input-icon{
    position:absolute;
    left:18px;
    top:23px;
    transform:translateY(-50%);
    color:#1635B7;
    font-size:18px;
    z-index:9;
    pointer-events:none;
}
/* PREVENT FIELD SHIFTING */
.input-icon-wrapper{
    position:relative;
    min-height:58px;
}

/* KEEP SELECT2 ALIGNED */
.select2-container--default .select2-selection--single{
    display:flex !important;
    align-items:center !important;
}

/* PHONE FIELD FIX */
.phone-field{
    display:flex;
    align-items:flex-start;
    gap:12px;
}

/* COUNTRY DROPDOWN FIX */
.country-code-box{
    display:flex;
    align-items:center;
}

.country-code-select{
    height:45px !important;
    min-height:45px;
    display:flex;
    align-items:center;
}

/* INPUT FIX */
.phone-input-wrapper{
    position:relative;
    flex:1;
    min-height:58px;
}

.modern-input,
.modern-select,
.select2-container--default .select2-selection--single {
    width: 100%;
    height: 45px !important;
    border-radius: 9px !important;
    border: 1.6px solid #E5E7EB!important;
    background: #fff !important;
    padding-left: 45px !important;
    font-size: 15px !important;
    transition: 0.3s ease;
    box-shadow: none !important;
}

.modern-input:focus {
    border-color: #1635B7 !important;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12) !important;
    outline: none;
}

.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    display: flex !important;
    align-items: center;
}

.select2-selection__rendered {
    line-height: 58px !important;
    padding-left: 0px !important;
}

.select2-selection__arrow {
    height: 43px !important;
    right: 10px !important;
}

.upload-box {
    height: 180px;
    border: 2px dashed #1635B7;
    border-radius: 20px;
    background: #EDFBF780;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
}

.upload-box:hover {
    background: #EDFBF7;
}

.upload-icon {
    font-size: 42px;
    color: #1635B7;
    margin-bottom: 10px;
}

.upload-text {
    margin-top: 0px;
    color: #667085;
    font-weight: 500;
    margin-bottom: 0;
}

#avatar {
    max-width: 90px;
    margin-top: 10px;
}

.captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.captcha-image {
    border: 2px solid #1635B7;
    border-radius: 16px;
    height: 58px;
}

.refresh-btn {
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 16px;
    background: #47D7AC1A;
    color: #1635B7;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.refresh-btn:hover{
    background-color: #47D7AC4D;
}

.captcha-text {
    margin-top: 0px;
    font-size: 13px;
    color: #6b7280;
}

.captcha-text a {
    color: #1635B7;
    text-decoration: none;
    font-weight: 600;
}

.sign-in-btn {
    margin-top: 20px;
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 18px;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    background: linear-gradient(90deg, #1635B7 0%, #1044B8 7.14%, #0B52B8 14.29%, #065FB9 21.43%, #046BB9 28.57%, #0576B9 35.71%, #0981B9 42.86%, #108CB8 50%, #1897B8 57.14%, #1FA2B7 64.29%, #27ADB5 71.43%, #2FB7B3 78.57%, #37C2B1 85.71%, #3FCCAF 92.86%, #47D7AC 100%);
    transition: transform 0.3s ease;
}

.sign-in-btn:hover {
    transform: scaleX(1.02);
}

.main-wrapper {
    /* margin-top: 70px; */
    height: calc(100vh - 70px);
    display: flex;
}

/* LEFT */
.left-section {
    width: 40%;
    position: fixed;
    top: 70px;
    left: 0;
    height: calc(100vh - 70px);
    overflow: hidden;
}

.left-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* RIGHT */
.right-section {
    width: 60%;
    margin-left: 40%;
    height: calc(100vh - 70px);
    overflow-y: auto;
    padding: 40px 70px;
}

/* Hide scrollbar */
.right-section::-webkit-scrollbar {
    display: none;
}

.right-section {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


/* ================= TABLET & MOBILE ================= */
@media (max-width: 991px) {
    .left-section img {
        height: 258%;
    }

    body {
        overflow: auto;
    }

    .main-wrapper {
        display: block;
        height: auto;
    }

    .left-section {
        position: relative;
        width: 100%;
        height: 300px;
        top: 0;
    }

    .right-section {
        width: 100%;
        margin-left: 0;
        height: auto;
        overflow: visible;
        padding: 20px 60px;
    }
}

.border-bottom-after {
    position: relative;
    display: flex;
    justify-content: center;
    padding-bottom: 5px;
    font-size: 28px;
    font-weight: 500;
    margin-top: 18px;
}

.border-bottom-after::after {
    content: "";
    position: absolute;
    left: auto;
    bottom: 0;
    width: 50px;
    height: 5px;
    background-color: #1635B7;
    border-radius: 10px;
}

.form .column {
    display: flex;
}

@media (max-width: 500px) {
    .left-section {
        height: 135px;
    }

    .form .column {
        display: block;
    }

    .right-section {
        padding: 20px 50px;
    }

}

footer.bg-light-gray {
    position: absolute;
    width: 100%;
}
/* CITY SELECT FIX */
.city-select-wrapper{
    position:relative;
    width:100%;
}

/* ICON */
.city-icon{
    position:absolute;
    left:18px;
    top:23px;
    transform:translateY(-50%);
    z-index:10;
    color:#1635B7;
    font-size:18px;
    pointer-events:none;
}

/* SELECT2 */
#select-city .select2-container{
    width:100% !important;
}

/* SELECT FIELD */
/* #select-city .select2-selection--single{
    height:58px !important;
    border-radius:16px !important;
    padding-left:42px !important;
    display:flex !important;
    align-items:center !important;
} */

/* TEXT */
#select-city .select2-selection__rendered{
    line-height:58px !important;
    padding-left:10px !important;
}

.sign-in-link{
    color:#1635B7
}
.sign-in-link:hover{
    color:#1635B7;
    text-decoration: underline !important;
}
.sign-in-text{
    color:#4A5565
}
/* NORMAL INPUT TEXT */
.modern-input{
    color:#4b5563 !important;
}

/* NORMAL INPUT PLACEHOLDER */
.modern-input::placeholder{
    color:#0A0A0A80 !important;
    font-weight:400;
    opacity:1;
}

/* SELECT2 SELECTED TEXT */
.select2-selection__rendered{
    color:#4b5563 !important;
}

/* SELECT2 PLACEHOLDER */
.select2-container--default .select2-selection--single .select2-selection__placeholder{
    color:#0A0A0A80 !important;
    font-weight:400;
}

/* COUNTRY CODE DROPDOWN */
.country-code-select{
    color:#4b5563 !important;
}

/* DROPDOWN OPTIONS */
.country-code-select option{
    color:#4b5563;
}

/* AUTOFILL TEXT FIX */
input:-webkit-autofill{
    -webkit-text-fill-color:#4b5563 !important;
    transition:background-color 9999s ease-in-out 0s;
}

.error{
        color: red !important;
    font-weight: 400 !important;
    margin: 4px auto !important;
}

.captcha-text a:hover{
    text-decoration: underline !important;
}

    #myForm .col-md-6 ,#myForm .col-md-12 {
        margin-top: 10px;
    }
/* 
    .select2-container--default .select2-selection__arrow b {
    display: none;
}

.select2-container--default .select2-selection__arrow::before {
    content: "\F282";
    font-family: "bootstrap-icons";
    font-size: 14px;
    color: #6c757d;
} */
 .select2-container--default .select2-selection__arrow {
    width: 30px !important;
}

.select2-container--default .select2-selection__arrow::before {
    content: "\F282";
    font-family: bootstrap-icons !important;
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    font-size: 12px;
    color: #8c8c8c;
}

        @media (max-width: 767.98px) {

            #myForm .col-md-6,
            #myForm .col-md-12 {
                margin-top: 0px;
            }

            .modern-group {
                margin-bottom: 0;
            }

            .row.g-4 {
                --bs-gutter-y: 1rem;
                margin-bottom: 15px;
            }
            .col-md-6.zip-code{
                    margin-top: 15px !important;
            }
        }