.main-container {
    background-image: url('../../images/signup/Background2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.main-container_aff {
    background-image: url('../../images/signup/fafa878/Background2.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top */
.img_Size {
    max-width: 200px;
    /* Adjust as needed */
    height: auto;
    width: auto;
    padding-top: 20px;
}

/* Middle */
.content_Middle {
    text-align: center;
    padding-top: 40px;
}

.carousel-container {
    background-image: url('../../images/signup/Neon_Frame.webp');
    background-size: cover;
    background-position: center;
    padding: 12px;
}

.img1_Size {
    width: 300px;
    padding-top: 30px;
}

.img2_Size {
    width: 340px;
    padding-top: 15px;
}

.img3_Size {
    width: 250px;
}

.img4_Size {
    width: 250px;
    padding-top: 30px;
}

.img5_Size {
    width: 250px;
    padding-top: 30px;
}

/* Center Box */
.first-box {
    text-align: center;
}

 .image-wrapper {
    position: relative;
    display: inline-flex;
    max-width: 100%;
    
} 

.frame_Img {
    max-width: 500px;
    /* Adjust as needed */
    height: 300px;
    width: 500px;
    margin-top: 80px;
    display: block;
}

.input-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Spacing between inputs */
}

.logo1 {
    max-width: 400px;
    margin: 5px 0 0 0;
}

.username_Icon,
.password_Icon,
.tel_Icon {
    position: absolute;
    width: 50px;
    margin: -5px 0 0 -15px;
}

.username,
.password,
.tel {
    padding-left: 40px;
    /* Space for text after the image */
    width: 90%;
    height: 40px;
    /* Adjust to your preferred input height */
    border: none;
    border-radius: 40px;
    outline: none;
}

.btn_reg {
    background-color: unset;
    border: none;
}


/* Left Box, Right Box  */
.second-box {
    text-align: right;
}

.third-box {
    text-align: left;
}

.content_Img_Left,
.content_Img_Right {
    max-width: 200px;
    /* Adjust as needed */
    height: auto;
    width: auto;

}

/* Footer  */
.footer {
    margin-top: auto;
    padding-bottom: 20px;
    text-align: center;
}

.img_Btn {
    padding-bottom: 20px;
}

.btn_RegNow {
    width: 200px;
    margin-right: 30px;
}

.btn_ContactUs {
    width: 200px;
    margin-left: 30px;
}

.footer_Img {
    max-width: 700px;
    /* Adjust as needed */
    height: auto;
    width: 70vw;
}

/* Styles for desktop devices */
@media (max-width: 992px) {

    /* Top  */
    .img_Size {
        display: none;
    }

    /* Center Box */
    .first-box {
        margin-top: -30px;
        margin-bottom: 45px;
        -ms-flex: 0 0 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    /* Left Box, Right Box  */
    .second-box,
    .third-box {
        text-align: center;
        order: 0 !important;
        width: 50% !important;
        -ms-flex: 0 0 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    /* Middle */
    .content_Middle {
        text-align: center;
        padding-top: 20px;
    }

    .carousel-container {
        background-image: url('../../images/signup/Frame.webp');
        background-size: cover;
        background-position: center;
        padding: 1vw;
    }

    .img1_Size {
        width: 25vw;
        padding-top: 30px;
    }

    .img2_Size {
        width: 25vw;
        padding-top: 15px;
    }

    .img3_Size {
        width: 25vw;
    }

    .img4_Size {
        width: 20vw;
        padding-top: 30px;
    }

    .img5_Size {
        width: 20vw;
        padding-top: 30px;
    }
}
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
}

.col-lg-6,
.col-lg-3 {
    padding: 15px;
}

.no-border {
    border: none;
    outline: none !important;
    border-color: #007bff;
}

/* First Box (Main Form) */
.first-box {
    position: relative;
}

.image-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.frame_Img {
    max-width: 100%;
    height: auto;
}

.input-container {
    width: 78%;
    display: flex;
    flex-direction: column;
    gap: 9px !important;
    left: 53%;
}

.input-container div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-control1 {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 100%;
    box-sizing: border-box;
    color: #000000;
    background: #fff;
    left: -41px;
    border-radius: 50px;
    height: 44px;
    padding-left: 40px;
}
.form-control_aff {
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    /* border: 1px solid #ccc; */
    width: 100%;
    box-sizing: border-box;
    color: #fff;
    /* background: #fff; */
    left: -41px;
    border-radius: 50px;
    height: 44px;
    padding-left: 40px;
}

.form-control1:focus {
    outline: none !important;
    border-color: #007bff;
}

.logosignup {
    display: block;
    margin: 0 auto 20px;
    width: 450px !important;
}

.username_Icon1,
.password_Icon1,
.tel_Icon1 {
    width: 51px;
    /* Adjust icon size as needed */
    z-index: 999;
}
.username_Icon_aff,
.password_Icon_aff,
.tel_Icon_aff {
    width: 35px;
    z-index: 999;
}

.btn_reg {
    display: flex;
    justify-content: center;
    border: none;
    padding: 10px;
    cursor: pointer;
    width: 100%;
}

.btn_reg img {
    max-width: 290px;
    /* Adjust size as needed */
    height: auto;
}

.second-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content_Img_Left {
    max-width: 100%;
    height: auto;
}

.third-box {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content_Img_Right {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .first-box {
        width: 100%;
        margin-bottom: 30px;
    }

    .second-box,
    .third-box {
        width: 100%;
    }

    .input-container {
        gap: 15px;
    }

    .logosignup {
        width: 120px;
    }

    .form-control1 {
        font-size: 14px;
        padding: 8px;
        color: #fff;
    }

    .btn_reg {
        font-size: 14px;
        padding: 8px;
    }

    .content_Img_Left,
    .content_Img_Right {
        width: 80%;
    }
}
.img_Size_aff{
    max-width: 395px;
    height: auto;
    width: auto;
    padding-top: 20px;
}
.input-container_aff div {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 17px;
}
.input-container_aff {
    position: absolute;
    top: 51%;
    left: 51%;
    transform: translate(-50%, -50%);
    display: flex;
    align-content: space-around;
    flex-direction: column;
    width: 87.5%;
}

.image-wrapper_aff {
    width: 100%;
    max-width: 600px;
    background-color: rgb(0 0 0 / 60%);
    border-radius: 44px;
    /* padding: 30px; */
    text-align: center;
    color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    height: 639px;
}
.contant-signin{
    font-size: 23px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
.err_div {
    color: red;
    text-align: left;
    line-height: 25px;
    margin-left: 200px;
    width: 55%;
    position: absolute;
    font-size: 15px;
}
.image-wrapper_aff_button {
    margin-top: 39px;
    flex-wrap: wrap;
    position: absolute;
    top: 235px;
}
.registerInput{
    display: flex !important;
    flex-wrap: wrap !important;
}