#mm-referral-form .step {
    margin-bottom: 20px;
}
#mm-referral-form label {
    display: block;
    margin-bottom: 10px;
}
.next-btn {
    background: #0073aa;
    color: white;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
}

.first-step-active{
    display:none !important;
}





#wizard{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 20px;
    /*border: 1px solid grey;*/
}

#wizard ul.mm-checkbox-selection {
    list-style-type: none;
    display:flex;
    flex-wrap: wrap;
    margin:0;
    padding:20px 0px;
    gap: 20px;
}

#wizard ul.mm-checkbox-selection li {
    /*display: inline-block;*/
    flex-basis: 100%;
    text-align: center;
    font-size: .9rem;
    font-weight: 600;
    display: flex;
    flex: 1 1 calc(33.333% - 20px); /* 3 columns with gap */
    box-sizing: border-box;
    flex-direction: column;
}

#wizard input[type="checkbox"][id^="myCheckbox"] {
    display: none;
}

#wizard ul.mm-checkbox-selection label {
    border: 3px solid #fff;
    padding: 10px;
    display: block;
    position: relative;
    /*margin: 10px;*/
    cursor: pointer;
}

#wizard ul.mm-checkbox-selection label {
    height: 100%;
}

#wizard ul.mm-checkbox-selection label:before {
    background-color: white;
    color: white;
    content: " ";
    display: block;
    border-radius: 50%;
    border: 1px solid grey;
    position: absolute;
    top: -5px;
    left: -5px;
    width: 25px;
    height: 25px;
    text-align: center;
    line-height: 28px;
    transition-duration: 0.4s;
    transform: scale(0);
}

#wizard ul.mm-checkbox-selection label img {
    height: auto;
    width: auto;
    max-width: 100%;
    transition-duration: 0.2s;
    transform-origin: 50% 50%;
}

#wizard ul.mm-checkbox-selection :checked + label {
    border-color: #058c00;
}

#wizard  ul.mm-checkbox-selection  :checked + label:before {
    content: "✓";
    /*background-color: grey;
    transform: scale(1);*/
}

#wizard  ul.mm-checkbox-selection  :checked + label img {
    transform: scale(0.9);
    /* box-shadow: 0 0 5px #333; */
    z-index: -1;
}

#wizard ul.mm-checkbox-selection li div{
    padding: 10px 0;
}

.mm-referral-link-text{
    background: #ff00001c;
    font-size: 1.5rem;
}


.clearfix{
    clear:both;
    float: none;
    display: block;
}

/***************
Form Design
 */


#wizard .form-content{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#wizard .form-row{
    display: flex;
    /* flex-direction: row; */
    gap: 20px;
}

#wizard  .form-header{
    flex: 1;
    display: flex;
    text-align: center;
    flex-direction: column;
}

#wizard .form-row .form-holder{
    flex: 1;
}

/* Style for the list container */
#wizard .actions ul {
    list-style: none; /* Removes default bullets */
    padding: 0; /* Removes default padding */
    margin:0px;
    display: flex;
    gap: 20px;
    justify-content: center;
}


#wizard .actions a[href='#next']{
    background-color: #2c60c1;
    color: #ffffff;
    /* line-height: 3.3rem; */
    font-size: 1.3rem !important;
    border: none !important;
    text-decoration: none;
    border-radius: 2px;
    border-radius: 10px;
    padding: 10px 20px;
    display: flex;
}

#wizard .actions a[href='#previous']{
    background-color: rgba(21, 28, 52, .06);
    color: #ffffff;
    /* line-height: 3.3rem; */
    font-size: 1.3rem !important;
    border: none !important;
    text-decoration: none;
    border-radius: 2px;
    border-radius: 10px;
    padding: 10px 20px;
    display: flex;
}

#wizard .actions a[href='#finish']{
    background-color: #2c60c1;
    color: #ffffff;
    /* line-height: 3.3rem; */
    font-size: 1.3rem !important;
    border: none !important;
    text-decoration: none;
    border-radius: 2px;
    border-radius: 10px;
    padding: 10px 20px;
    display: flex;
}

.mm-div-block-25 {
    width: 100%;
    min-height: 60px;
    border: 2px solid rgba(0, 0, 0, .05);
    border-radius: 10px;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px 20px;
    display: flex;
}

.mm-text-block-27 {
    margin-right: 20px;
    font-size: 1.2rem;
    color: #60697b;
    font-weight: 500;
    word-break: break-all;
}

.mm-div-block-23 {
    width: 100%;
    border: 2px solid rgba(0, 0, 0, .05);
    border-radius: 10px;
    padding: 20px 40px 20px 20px;
}

.mm-div-block-18 {
    width: 100%;
    margin-top: 20px;
}

.mm-link-block-3 {
    width: 100%;
    height: 60px;
    color: #343f52;
    background-color: #5b3acc;
    border: 2px solid rgba(0, 0, 0, .05);
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    display: flex;
}

.mm-image-12 {
    width: 50px;
    margin-right: 20px;
}

.mm-text-block-17 {
    color: #fff;
    font-weight: 600;
}

.mm-link-block-3 {
    width: 100%;
    height: 60px;
    color: #343f52;
    background-color: #5b3acc;
    border: 2px solid rgba(0, 0, 0, .05);
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    display: flex;
}

#reference-send-link{
    height: 200px;
    overflow-y: scroll;
}

#reference-send-link,
.mm-referral-common-text{
    font-size: 1.2em;
    font-weight: 400;
    color:#60697b;
}

.mm-referral-common-text{
    color:#000000;
}


#mm-final-steps-with-div .form-header{
    text-align:center;
}

.mm-image-8 {
    width: 20px;
    opacity: .54;
}

.mm-image-8:hover {
    cursor:pointer;
    opacity: 1;
}

.copy-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 9999;
    pointer-events: none;
}
.copy-alert.show {
    opacity: 1;
}

#mm-wizerd-form-container h4{
    font-size: 1.2em;
}

/**********
ERROR FORM
 */

#mm-wizerd-form-container .form-control.error{
    border: 1px solid red;
    color: red;
}

#mm-wizerd-form-container .form-holder label.error{
    color: red;
    font-weight: 600;
    font-size: 14px;
}

#mm-selected-error-container .error{
    text-align: center;
    border: 1px solid red;
    line-height: 2.0rem;
    width: 100%;
}

img.mm-referal-image-logo{
    /*border: 6px solid red !important;
    border-radius: 20px !important;*/
}


img.mm-referral-back-icon{
    width: 32px;
    max-width: 100%;
}

.whats-app-icon {
    width: 48px;
}

.whats-app-btn {
    margin: auto;
    grid-column-gap: 20px;
    background-color: #521ffd;
    color: #fff;
    border-radius: 12px;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    display: flex;
    max-width: 340px;
}

@media only screen and (max-width: 558px) {

    #wizard ul.mm-checkbox-selection {
        gap: 10px;
    }

    #wizard ul.mm-checkbox-selection li{
        flex: 1 1 calc(50% - 8px); /* 2 columns */
    }

    /*#wizard .actions ul {
        flex-direction: row;
    }*/

    #wizard .actions a[href='#next'] {
        font-size: 1.0rem !important;
    }

    #wizard .actions a[href='#previous'] {
        justify-content: center;
    }

    #wizard .actions a[href='#finish'] {
        font-size: 1.0rem !important;
    }


    #wizard ul.mm-checkbox-selection label img {
        height: auto;
        /*width: 50px;*/
    }

    .mm-referral-link-text{
        font-size: 1rem;
    }

    img.mm-referral-back-icon{
        width: 25px;
    }

}



