body {
    margin: 0px;
    padding: 0px;
    font-family: 'Poppins', sans-serif;
    background: url('../images/bg.jpg') no-repeat center;
    background-size: cover;
    background-attachment: fixed;
}

div#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.top-header {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    margin-bottom: 14px;
}

.top-header img {
    width: 250px;
    margin-bottom: 10px;
}

.form-section {
    display: none;
    height: 831px;
    color: #474747;
    background-color: #ffffffdb;
    border-color: #e8e8e8;
    transition: 0.1s;

    padding: 0px 1px;
    border-radius: 15px;
    box-shadow: 8px 8px 54px 0 rgba(0, 0, 0, .5);
    overflow-y: auto;
}

a.link-item {
    font-size: 14px;
    color: #222;
}

.form-section.active {
    display: block;
}

img {
    max-width: 100%;
}

.form-group label span {
    font-size: 12px;
}

/* Part 1 */
.error-message {
    color: red;
    /* Change the color to whatever you prefer */
    font-size: 0.9em;
    margin-top: 5px;
    /* Add space above the error message */
}

.gender-wrapper {
    gap: 20px;
}

.radio-img {
    width: 80px;
    height: 80px;
    cursor: pointer;
}

.radio-img.selected {
    border: 2px solid #3aa278;
}

.image-radio {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: border 0.3s ease, background-color 0.3s ease;
    text-align: center;
}

.image-radio input[type="radio"] {
    display: none;
}

.image-radio.selected .checkmarkShow {

    padding: 10px;
    display: block;
    color: #3aa278;

}

.checkbox-img {
    width: 100%;

    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.2s ease;
    border-radius: 9px;
}

p.image-label {
    margin: 0;
    margin-top: 0;
    text-align: center;
}

label.image-radio {
    width: 200px;
    background: linear-gradient(141.17deg, rgb(255 255 255), #44bd89);
    border: 2px solid #44bd89;
    border-radius: 12px;
    height: 200px;
}

.image-radio img {
    width: 165px;

}

.checkbox-img.selected {
    border: 2px solid #000000;
}

.btn-custom {
    background-color: #44bd89;
    color: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    border: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin-top: 30px;
}

.btn-custom:hover {
    background-color: #3aa278;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


.image-checkbox {
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    transition: border 0.3s ease;
}


.image-checkbox input[type="checkbox"] {
    display: none;
}

.imageContainer .image-checkbox p {
    margin: 0;
    text-align: center;
    color: #fff;
    z-index: 999;
    left: 50%;
    font-size: 14px;
    transform: translateX(-50%);
    width: 100%;
    height: 30px;
    opacity: 1;
    background: linear-gradient(180deg, transparent, #000);
    position: absolute;
    bottom: 0;
}

.image-checkbox.checked {
    border: 2px solid #44bd89;
}

.section-header {
    text-align: center;
    margin: 20px 0;
}

.checkbox-circle {
    position: absolute;
    cursor: pointer;
    left: 9px;
    top: 9px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #9da2ad;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, .3);
    background: hsla(0, 0%, 100%, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.checkbox-circle.checked {
    background-color: #44BD89A1;
    /* Change this to your preferred checked color */
}

.checkbox-circle .checkmark {
    display: none;
    color: white;
    font-size: 16px;
}

.checkbox-circle.checked .checkmark {
    display: flex;
    /* Show checkmark when checked */
    align-items: center;
    justify-content: center;
}

.part_3_son_mask {
    width: 100%;
    height: 40px;
    opacity: 1;
    background: linear-gradient(180deg, transparent, #000);
}




.form-group {
    margin-bottom: 26px;
}

label {
    margin-bottom: 6px;
}

.form-control {
    display: block;
    width: 100%;
    height: calc(2em + .75rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    border-color: #fff;
    border-radius: 0;
    box-shadow: 0 0 24px rgba(91, 94, 222, 0.16);
    font-size: 14px;
    padding: 5px 20px;
}

.imageContainer {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-gap: 24px;
    margin: 2px 12px 2px 2px;
}

.container.mt-5 {
    position: relative;
    z-index: 9;
}

.slick-dotted.slick-slider {
    margin-bottom: 0;
    width: 40%;
    background: red;
    border-radius: 15px 0px 0px 15px;
    overflow: hidden;
    margin-left: -1px;
}

.slick-slide img {
    object-fit: cover;
}

.step-one {
    width: 60%;
    /* background: #fff; */
    padding: 20px 34px;
}

div#part2,
div#part3,
div#part4,
div#part5 {


    padding: 20px 32px;
}


/* Part 4 */

.example_example-container {
    display: flex;
    gap: 11px;
}

.good-photo-example {
    width: 40%;
    padding: 8px;
    border-radius: 5px;
    box-shadow: 0px 2px 6px 2px #41414142;
}



.good-photo-example p {
    font-size: 13px;
    line-height: 16px;
    text-align: center;
    margin-top: 6px;
    margin-bottom: 6px;
}

.upload-area {
    text-align: center;
    background-color: transparent;
    --background-overlay: '';
    background-image: linear-gradient(45deg, #FFFFFF 40%, #9FF5D0 40%);
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0px 2px 6px 2px #41414142;
}

.upload-area .para-text {
    font-size: 12px;
}

.photo-requirements img,
.upload-area img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.photo-requirements {
    background-color: transparent;
    --background-overlay: '';
    background-image: linear-gradient(45deg, #FFFFFF 40%, #9FF5D0 40%);
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0px 2px 6px 2px #41414142;
}




.bad-photo-examples {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 6px;
    width: 60%;
    padding: 8px;
    border-radius: 5px;
    box-shadow: 0px 2px 6px 2px #41414142;
}

.bad-example p {
    font-size: 12px;
    line-height: 13px;
    text-align: center;
    margin-top: 6px;
    margin-bottom: 6px;
}

.bad-example {
    width: 100%;
}


.ft-avatar-upload-operation {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 308px;
    background-color: transparent;
    --background-overlay: '';

    border-radius: 8px;

}

.ft-avatar-upload-area {
    width: 100%;
    height: 308px;
    border-radius: 6px;
    opacity: 1;
    flex: 1 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 32px;
    grid-gap: 24px;
    gap: 24px;
    align-self: stretch;
    background: #9df1cd;
    box-sizing: border-box;
    border: 2px dashed #44BD89;
    cursor: pointer;
}

.ft-upload-full-face * {
    box-sizing: border-box;
}

.ft-avatar-upload-area .ft-avatar-upload-area--title {
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: #222222;
    text-align: center;
}

.ft-avatar-upload-area--sub-title {
    font-size: 14px;

    line-height: 24px;
    color: #222222;
    text-align: center;
}

.ft-avatar-upload-area .ft-avatar-upload-area--desc {
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    text-align: center;
    color: #222;
    margin: 12px 0 12px;
}

.selectImage_select-arrow-fra__8zKmG {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    background-color: #222;
    padding: 12px;
    color: #fff;
    border-radius: 8px;
}

/* Your existing CSS styles here */
.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    justify-content: center;
}

.image-preview {
    width: 100px;
    height: 100px;
    border: 2px dashed #3c3d3f;
    background: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 6px;
    position: relative;
}

.image-preview img {
    max-width: 100%;
    max-height: 100%;
}

.remove-image {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff0000;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
}

div#part5 {
    display: flex;
    align-content: center;
}

.loader {
    display: none;
	position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background-color: #00000038;
    width: 100%;
    height: 100%;
  
    justify-content: center;
    align-items: center;
}
.loader p {
    color: #222;
    font-size: 30px;
    background: #9FF5D0;
    padding: 20px;
    width: 90%;
    border-radius: 10px;
    text-align: center;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px, rgba(17, 17, 26, 0.1) 0px 24px 80px;
}

/* Part 5 */
.image-result-container {
    color: #474747;
    background-color: #ffffffdb;
    border-color: #e8e8e8;
    transition: 0.1s;
    padding: 0px 1px;
    border-radius: 15px;
    box-shadow: 8px 8px 54px 0 rgba(0, 0, 0, .5);
    overflow-y: auto;
    padding: 50px;
}

.uploaded-images-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 16px;
    margin: 0;
}

.uploaded-images-item {
    border: 1px solid;
}

.result-images-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 16px;
    margin: 0;
}

#downloadBtn {
    width: 100%;

}

img.logo.mb-3 {
    background-color: 9ff5d0;
    width: 300px;
}

.user-details {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 13px;
    padding-left: 0;
}

.part-5-top-body-img {
    width: 100%;
    margin: 10px 0 20px 0;
}

/* Responsive for smaller screens */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    #part1 .d-flex {
        display: flex;
        flex-direction: column;
    }

    .d-sm-none {
        display: none !important;
    }

    .d-sm-block {
        display: block !important;
    }

    .photo-requirements,
    .upload-area {
        width: 100%;
        margin-bottom: 20px;
    }

    .form-section {

        height: auto;
    }

    div#part1 {
        flex-direction: column;
    }

    .slick-dotted.slick-slider {
        border-radius: 0;
        width: 100%;
        margin-left: 0;
        height: 250px;
    }

    .slick-slide img {
        display: block;
        object-fit: cover;
    }

    .step-one {
        width: 100%;
        /* background: #fff; */
        padding: 20px 34px;
    }

    .container.mt-5 {
        position: relative;
        z-index: 9;
        padding-bottom: 32px;
    }

    .imageContainer {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-gap: 10px;
        margin: 0;
    }

    div#part2,
    div#part3,
    div#part4,
    div#part5 {
        padding: 17px 18px;
    }

    div#part2,
    div#part3,
    div#part4,
    div#part5 {
        padding: 17px 18px;
    }

    .good-photo-example {
        width: 100%;
    }


    div#part4 .row {
        display: flex;
        flex-direction: column-reverse;
    }

    div#preview-container img {
        width: 60px !important;
    }

    .example_example-container {
        display: flex;
        gap: 11px;
        flex-direction: column;
    }

    .bad-photo-examples {
        width: 100%;
    }

    .photo-requirements img,
    .upload-area img {
        max-width: 100%;
        height: auto;
        display: block;
        border-radius: 13px;
    }

    h3.form-section-heading {
        font-size: 20px;
    }

    .ft-avatar-upload-operation,
    .ft-avatar-upload-area {
        height: auto;
    }

    .result-body {
        padding: 10px;
    }

    .image-result-container {
        padding: 26px;
    }

    .uploaded-photos-section h5 {
        font-size: 16px;
    }

    .ai-photos-section h5.mt-5.mb-2 {
        font-size: 16px;
        margin-top: 0 !important;
    }

    .download-section {
        text-align: left !important;
    }

    .result-images-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 10px;

    }

    .user-details {
        list-style: none;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 13px;
        padding-left: 0;
    }

    .top-header h4 {
        text-align: center;
        font-size: 14px;
        font-weight: 600;
    }

    .step-header {
        text-align: center;
    }

    .step-header h5 {
        font-size: 18px;
    }

    .part-5-top-header {
        text-align: center;
    }

    .part-5-top-body {
        text-align: center;
    }
}