.refral-form-wrapper {
    border-radius: 24px;
    border: 1px solid #E2E8F0;
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.756) 0%, rgba(247, 251, 255, 0.84) 100%);
    padding: 40px 60px;
    box-shadow: 0px 4px 8.9px 0px #0000000A;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.form-plus {
    position: absolute;
    left: 0;
    bottom: 0;
}

.refral-form-left {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 48px;
    /* max-width: 444px; */
}

.refral-form-right {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}


.refral-form-left h1 {
    font-weight: 600;
    font-size: 30px;
    line-height: 1.4;
    letter-spacing: 0;
    margin-bottom: 0;
}

.form-circle-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 8px;
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.756) 0%, rgba(247, 251, 255, 0.84) 100%);
    justify-content: center;
}

.form-circle {
    min-height: 16px;
    min-width: 16px;
    border: 1px solid #94A3B8;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
}

.form-circle.active {
    border: 4px solid #0274F9
}

.form-circle.completed {
    border-color: #28a745;
    background-color: #28a745;
}

.form-circle .checkmark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    opacity: 0;
    stroke: white;
    transition: opacity 0.3s ease;
}

.form-circle.completed .checkmark {
    opacity: 1;
}

.form-line {
    /* height: 58px; */
    border: 1px solid #94A3B8;
    width: 100%;
    margin-left: 6px;
    opacity: 0.5;
    max-width: 95px;
}

.form-circle-grp {
    min-width: 140px;
}

.referral-form {
    border: 1px solid #E0E0E0;
    box-shadow: 0px 4px 24.5px 0px #00000008;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #FFFFFF;
}

.contact-method {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method .form-circle {
    min-height: 12px;
    min-width: 12px;
    border-radius: 4px
}

.referral-form .btn-main,
.referee-btns .btn-main {
    padding: 6px 30px;
}

.referee-form {
    border: 1px solid #E0E0E0;
    box-shadow: 0px 4px 24.5px 0px #00000008;
    border-radius: 16px;
    padding: 24px 11px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #FFFFFF;
}

.referee-btns {
    display: flex;
    gap: 16px;
}

.previous-btn {
    border: 1px solid var(--color-primary) !important;
}

.referee-form-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-height: 379px;
    overflow-y: scroll;
    padding-right: 8px;
}

/* For WebKit browsers (Chrome, Safari, Edge) */
.referee-form-content::-webkit-scrollbar {
    width: 5px;
}

.referee-form-content::-webkit-scrollbar-thumb {
    background-color: #0274F9;
    border-radius: 4px;
}

/* Optional: scrollbar track */
.referee-form-content::-webkit-scrollbar-track {
    background: #D1E6FF;
}

.form-content {
    display: none;
}

.form-content.show {
    display: block;
}



/* modal */
.recipt-modal.modal {
    --bs-modal-width: 834px;
}

.recipt-modal .modal-header {
    padding: 40px 40px 0 40px;
    border-bottom: none;
}

.seperate-line {
    border: 1px solid #E2E8F0;
    opacity: 0.5;
}

.recipt-modal .modal-body {
    padding: 24px 18px 0 40px;
}

.modal-body-content::-webkit-scrollbar {
    width: 5px;
}

.modal-body-content::-webkit-scrollbar-thumb {
    background-color: #0274F9;
    border-radius: 4px;
}

/* Optional: scrollbar track */
.modal-body-content::-webkit-scrollbar-track {
    background: #D1E6FF;
}

.modal-body-content {
    max-height: 420px;
    overflow-y: scroll;
    padding-right: 17px;
}

.modal-body-wrapper {
    border: 1px solid var(--Grey-8, #E2E8F0);
    padding: 16px;
    border-radius: 16px 16px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-bottom: none;
}

.edit-img {
    height: 14px;
    width: 14px;
}

.recipt-modal .modal-footer {
    padding: 24px 40px 40px 40px;
    border-top: none;
    justify-content: flex-start;
}

.recipt-modal .modal-footer .btn-primary {
    border-radius: 4px;
}

.conformation-modal .modal-header {
    display: none;
}

.conformation-modal .modal-body {
    display: flex;
    flex-direction: column;
    padding: 20px;
    align-items: center;
}

.conformation-modal .modal-content {
    border-radius: 24px;
    border: 1px solid #E2E8F0;
    box-shadow: 0px 4px 8.9px 0px #0000000A;
}

.conformation-modal .modal-footer {
    padding: 0 20px 20px 20px;
    justify-content: center;
    border-top: none;
}


.tick-img {
    max-width: 80px;
    max-height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap6 {
    gap: 6px;
}

.contact-method .form-check-input {
    margin-top: 0;
}

.previous-btn:hover {
    color: #FFFFFF !important;
}

.conformation-modal .btn-main {
    padding: 6px 80px;
}

@media (max-width: 991px) {
    .refral-form-wrapper {
        padding: 0;
        border: none;
        box-shadow: none;
        background: none;
        border-radius: 0;
    }

    .refral-form-left h1 {
        font-size: 20px
    }

    .refral-form-left {
        gap: 16px;
    }

    .form-line {
        height: unset;
        /* width: 80px */
    }

    .referral-form {
        padding: 16px;
    }

    .date-email-box .input-grp {
        max-width: 37.5vw;
    }

    .referral-form .btn-main,
    .referee-btns .btn-main {
        width: 100%;
        padding: 4px 30px;
    }

    .referee-form {
        padding: 16px 11px 16px 16px;
    }

    .referee-form-content::-webkit-scrollbar {
        width: 3px;
    }

    .referee-form-content {
        padding-right: 4px;
    }

    .form-plus {
        display: none;
    }

    .form-circle-grp {
        min-width: 125px;
    }

    .recipt-modal .btn-main {
        width: 100%;
    }

    .recipt-modal .modal-body {
        padding: 16px 7px 0 16px;
    }

    .recipt-modal .modal-header {
        padding: 16px 16px 0 16px;
        align-items: unset;
    }
    .modal-body-content{
        padding-right: 10px;
        max-height: 350px;
    }
    .modal-body-wrapper{
        padding: 10px;
    }
    .recipt-modal .modal-footer{
        padding: 16px;
    }
}

@media (max-width: 575px) {
    .date-email-box .input-grp {
        max-width: 41.5vw;
    }
}

@media (max-width: 410px) {
    .date-email-box .input-grp {
        max-width: 38vw;
    }
}