.payment-method {
    display: flex;
    align-items: center;
    justify-content: center
}


.payment-method img {
    width: 80%;
}

.wrapper {

    display: inline-flex;
    background: #fff;
    /*height: 100px;*/
    width: 100%;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 5px;
    /*padding: 20px 15px;*/
    /*box-shadow: 5px 5px 30px rgba(0,0,0,0.2);*/
}

.wrapper .option {
    background: #fff;
    /*height: 100%;*/
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 5px;
    border-radius: 5px;
    cursor: pointer;
    padding: 5px;
    border: 2px solid lightgrey;
    transition: all 0.3s ease;
}


input[type="radio"] {
    display: none;
}

#option-1:checked:checked ~ .option-1,
#option-2:checked:checked ~ .option-2,
#option-3:checked:checked ~ .option-3 {
    border-color: #2e9cca;
    background: #2e9cca;
}

.wrapper .option span {
    font-size: 20px;
    color: #808080;
}

#option-1:checked:checked ~ .option-1 span,
#option-2:checked:checked ~ .option-2 span,
#option-3:checked:checked ~ .option-3 span {
    color: #fff;
}

    .order-details {
        /*padding: 18px;*/
        margin-top: 0px;
    }

    .col-sm-6, .col-xs-6 {
        width: 50%;
        padding-left: 3px;
        padding-right: 3px;
    }

    p {
        margin: 0;
    }

    .second-color {
        color: #2e9cca;
        /*color: #bd8a36;*/
    }

    .option_item {
        display: block;
        position: relative;
        width: 100%;
        /*height: 175px;*/

        margin: 15px;
    }

    .option_item .checkbox {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        opacity: 0;
    }
    .option_item small {
        font-size: 1.2em;
    }
    .option_item .option_inner {
        width: 100%;
        height: 100%;
        background: #fff;
        border-radius: 20px;
        text-align: center;
        padding: 15px;
        /*padding: 58px 40px;*/
        cursor: pointer;
        color: black;
        display: block;
        border: 1px dashed black;
        position: relative;
    }

    .option_item .option_inner .icon {
        /*margin-bottom: 10px;*/
    }

    .option_item .option_inner .icon {
        font-size: 32px;
    }

    .option_item .option_inner .icon .fab {
        font-size: 32px;
    }

    .option_item .option_inner .name {
        user-select: none;
    }

    .option_item .checkbox:checked ~ .option_inner.facebook {
        border-color: #2e9cca;
        color: white;
        background-color: #2e9cca;

    }

    .option_item .checkbox:checked ~ .option_inner.whatsapp {
        border-color: #2e9cca;
        color: white;
        background-color: #2e9cca;
    }

    .option_item .option_inner.facebook .tickmark {
        border-color: #2e9cca transparent transparent #2e9cca;
    }


    .option_item .option_inner.whatsapp .tickmark {
        border-color: #2e9cca transparent transparent #2e9cca;
    }

    .label_condition {
        display: block !important;
    }

    /*input[type="checkbox"] {*/
    /*    width: unset !important;*/
    /*}*/

    input:checked[type="checkbox"] {

        color: #fff;
        border-color: #19b09a;
        background-color: #19b09a;
    }

    .row label input[type="checkbox"] {
        display: none;
    }

    .row label .icon-box {
        position: relative;
        display: flex;
        width: 100%;
        margin: 10px;
        padding: 10px;
        border-radius: 20px;
        cursor: pointer;
        flex-direction: column;
        align-items: center;
        background-color: black;
        color: #fff;
        font-size: 21px;
        transition: 0.5s;
        user-select: none;
    }

    .row label input[type="checkbox"]:checked ~ .icon-box {
        background: linear-gradient(138deg, #bd8a36, #d4a04b);
        color: #fff;
    }

    .row label .icon-box span {
        margin: 5px;
        font-size: 18px;
    }


    .fixed-bottom {
        position: fixed;
        left: 0;
        z-index: 2;
        bottom: 0;
        width: 100%;
        background-color: #00BCD4;
        color: white;
        border-radius: 50px 40px 0 0;
        padding: 20px;
        text-align: center;
    }
    .footer-area {
        position: relative;
        z-index: unset;
    }

    #form-wrapper {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .radio_form {
        width: 90%;
        max-width: 500px;
    }

    .radio_form #form-title {
        margin-top: 0;
        font-weight: 400;
        text-align: center;
    }

    .radio_form #debt-amount-slider {
        display: flex;
        flex-direction: row;
        align-content: stretch;
        position: relative;
        width: 100%;
        height: 50px;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .radio_form #debt-amount-slider::before {
        content: " ";
        position: absolute;
        height: 2px;
        width: 100%;
        width: calc(100% * (4 / 5));
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #2e9cca;
    }

    .radio_form #debt-amount-slider input, form #debt-amount-slider label {
        box-sizing: border-box;
        flex: 1;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        cursor: pointer;
    }

    .radio_form #debt-amount-slider label {
        display: inline-block;
        position: relative;
        width: 20%;
        height: 100%;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    .radio_form #debt-amount-slider label::before {
        content: attr(data-debt-amount);
        position: absolute;
        left: 50%;
        padding-top: 10px;
        transform: translate(-50%, 45px);
        font-size: 14px;
        letter-spacing: 0.4px;
        font-weight: 400;
        white-space: nowrap;
        opacity: 0.85;
        transition: all 0.15s ease-in-out;
    }

    .radio_form #debt-amount-slider label::after {
        content: " ";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 30px;
        height: 30px;
        border: 2px solid #2e9cca;
        background: #fff;
        border-radius: 50%;
        pointer-events: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        z-index: 1;
        cursor: pointer;
        transition: all 0.15s ease-in-out;
    }

    .radio_form #debt-amount-slider label:hover::after {
        transform: translate(-50%, -50%) scale(1.25);
    }

    .radio_form #debt-amount-slider input {
        display: none;
    }

    .radio_form #debt-amount-slider input:checked + label::before {
        font-weight: 800;
        opacity: 1;
    }

    .radio_form #debt-amount-slider input:checked + label::after {
        border-width: 4px;
        transform: translate(-50%, -50%) scale(0.75);
    }

    .radio_form #debt-amount-slider input:checked ~ #debt-amount-pos {
        opacity: 1;
    }

    .radio_form #debt-amount-slider input:checked:nth-child(1) ~ #debt-amount-pos {
        left: 92.82%;
    }

    .radio_form #debt-amount-slider input:checked:nth-child(3) ~ #debt-amount-pos {
        left: 78.54%;
    }

    .radio_form #debt-amount-slider input:checked:nth-child(5) ~ #debt-amount-pos {
        left: 64.26%;
    }

    .radio_form #debt-amount-slider input:checked:nth-child(7) ~ #debt-amount-pos {
        left: 49.98%;
    }

    .radio_form #debt-amount-slider input:checked:nth-child(9) ~ #debt-amount-pos {
        left: 35.7%;
    }

    .radio_form #debt-amount-slider input:checked:nth-child(11) ~ #debt-amount-pos {
        left: 21.42%;
    }

    .radio_form #debt-amount-slider input:checked:nth-child(13) ~ #debt-amount-pos {
        left: 7.14%;
    }


    .radio_form #debt-amount-slider #debt-amount-pos {
        display: block;
        position: absolute;
        top: 50%;
        width: 12px;
        height: 12px;
        background: #2e9cca;
        border-radius: 50%;
        transition: all 0.15s ease-in-out;
        transform: translate(-50%, -50%);
        border: 2px solid #fff;
        opacity: 0;
        z-index: 2;
    }

    .radio_form:valid #debt-amount-slider input + label::before {
        transform: translate(-50%, 45px) scale(0.9);
        transition: all 0.15s linear;
    }

    .radio_form:valid #debt-amount-slider input:checked + label::before {
        transform: translate(-50%, 45px) scale(1.1);
        transition: all 0.15s linear;
    }

    .radio_form + button {
        display: block;
        position: relative;
        margin: 56px auto 0;
        padding: 10px 20px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        transition: all 0.15s ease-in-out;
        font-family: inherit;
        font-size: 24px;
        font-weight: 600;
        background: #fff;
        border: 2px solid #2e9cca;
        border-radius: 8px;
        outline: 0;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        cursor: pointer;
    }

    .radio_form + button:hover {
        background: #2e9cca;
        color: #fff;
    }

    .radio_form + button:hover:active {
        transform: scale(0.9);
    }

    .radio_form + button:focus {
        background: #4caf50;
        border-color: #4caf50;
        color: #fff;
        pointer-events: none;
    }

    .radio_form + button:focus::before {
        -webkit-animation: spin 1s linear infinite;
        animation: spin 1s linear infinite;
    }

    .radio_form + button::before {
        display: inline-block;
        width: 0;
        opacity: 0;
        content: "";
        font-family: "Font Awesome 5 Pro";
        font-weight: 900;
        margin-right: 0;
        transform: rotate(0deg);
    }

    .radio_form:invalid + button {
        pointer-events: none;
        opacity: 0.25;
    }

    @-webkit-keyframes spin {
        from {
            transform: rotate(0deg);
            width: 24px;
            opacity: 1;
            margin-right: 12px;
        }
        to {
            transform: rotate(360deg);
            width: 24px;
            opacity: 1;
            margin-right: 12px;
        }
    }

    @keyframes spin {
        from {
            transform: rotate(0deg);
            width: 24px;
            opacity: 1;
            margin-right: 12px;
        }
        to {
            transform: rotate(360deg);
            width: 24px;
            opacity: 1;
            margin-right: 12px;
        }
    }

/* Modern demo-page form controls */
.wrapper {
    gap: 12px;
    padding: 8px;
    background: #eef6f5;
    border: 1px solid #dbe7e7;
    border-radius: 8px;
}

.wrapper .option {
    min-height: 58px;
    margin: 0;
    border: 1px solid #dbe7e7;
    border-radius: 8px;
    background: #fff;
    color: #122023;
    box-shadow: 0 8px 22px rgba(17, 32, 35, .06);
}

.wrapper .option:hover {
    border-color: rgba(15, 139, 141, .38);
    transform: translateY(-1px);
}

.wrapper .option span {
    color: #122023;
    font-size: 1rem;
    font-weight: 700;
}

#option-1:checked:checked ~ .option-1,
#option-2:checked:checked ~ .option-2,
#option-3:checked:checked ~ .option-3 {
    border-color: #0f8b8d;
    background: #0f8b8d;
    box-shadow: 0 12px 28px rgba(15, 139, 141, .2);
}

.option_item {
    margin: 8px 0;
}

.option_item .option_inner {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #dbe7e7;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 22px rgba(17, 32, 35, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

.option_item .option_inner:hover {
    transform: translateY(-2px);
    border-color: rgba(15, 139, 141, .38);
    box-shadow: 0 14px 32px rgba(17, 32, 35, .1);
}

.option_item .checkbox:checked ~ .option_inner.facebook,
.option_item .checkbox:checked ~ .option_inner.whatsapp {
    border-color: #0f8b8d;
    background-color: #0f8b8d;
    color: #fff;
    box-shadow: 0 14px 32px rgba(15, 139, 141, .22);
}

.option_item small {
    color: inherit;
    font-size: 1rem;
    font-weight: 700;
}

.second-color {
    color: #0f8b8d;
}

.fixed-bottom {
    background-color: #173c38;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -12px 32px rgba(17, 32, 35, .16);
}

.radio_form #debt-amount-slider::before {
    height: 4px;
    border-radius: 999px;
    background: #d5e4e4;
}

.radio_form #debt-amount-slider label::after {
    width: 28px;
    height: 28px;
    border: 2px solid #b9cccc;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 6px #fff;
}

.radio_form #debt-amount-slider input:checked + label::after {
    border-color: #0f8b8d;
    background: #0f8b8d;
}

.radio_form #debt-amount-slider #debt-amount-pos {
    width: 10px;
    height: 10px;
    background: #fff;
    border: 0;
}

@media (max-width: 767.98px) {
    .wrapper {
        gap: 6px;
        padding: 6px;
    }

    .wrapper .option {
        min-height: 52px;
        padding: 8px 4px;
    }

    .wrapper .option span {
        font-size: .86rem;
    }

    .option_item .option_inner {
        min-height: 104px;
        padding: 12px 8px;
    }
}

/* Demo page alignment with full redesign */
.wrapper {
    max-width: 760px;
    margin: 0 auto;
    background: #ffffff;
    border-color: #d8e3e7;
    box-shadow: 0 12px 34px rgba(7, 25, 35, .08);
}

.wrapper .row {
    margin: 0;
}

.wrapper .option {
    border-color: #d8e3e7;
    background: #f9fbfc;
    color: #071923;
}

.wrapper .option span {
    color: #071923;
}

#option-1:checked:checked ~ .option-1,
#option-2:checked:checked ~ .option-2,
#option-3:checked:checked ~ .option-3 {
    border-color: #006d77;
    background: #006d77;
    box-shadow: 0 14px 34px rgba(0, 109, 119, .22);
}

#option-1:checked:checked ~ .option-1 span,
#option-2:checked:checked ~ .option-2 span,
#option-3:checked:checked ~ .option-3 span {
    color: #fff;
}

#additional_services {
    max-width: 980px;
    margin: 0 auto 24px !important;
}

.option_item .option_inner {
    min-height: 132px;
    border-color: #d8e3e7;
    background: #ffffff;
}

.option_item .option_inner .name {
    color: #071923;
    font-weight: 700;
}

.option_item .checkbox:checked ~ .option_inner.facebook,
.option_item .checkbox:checked ~ .option_inner.whatsapp {
    border-color: #006d77;
    background-color: #006d77;
    color: #fff;
}

.option_item .checkbox:checked ~ .option_inner .name {
    color: #fff;
}

.second-color {
    color: #006d77;
}

.payment-method {
    padding: 14px;
    background: #f9fbfc;
    border: 1px solid #d8e3e7;
    border-radius: 8px;
}

.fixed-bottom {
    background-color: #071923;
}

@media (max-width: 767.98px) {
    .wrapper .col-lg-4,
    .wrapper .col-4 {
        padding-right: 4px;
        padding-left: 4px;
    }

    #additional_services {
        margin-bottom: 14px !important;
    }

    .option_item .option_inner {
        min-height: 112px;
    }
}

/* Demo typography and alignment refinement */
.wrapper {
    max-width: 680px;
}

.wrapper .option {
    min-height: 52px;
}

.wrapper .option span {
    font-size: .92rem;
    line-height: 1.3;
}

#additional_services {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

#additional_services > [class*="col-"] {
    display: flex;
}

.option_item {
    display: flex;
    margin: 6px 0;
}

.option_item .option_inner {
    min-height: 112px;
    border-radius: 8px;
}

.option_item .option_inner .name {
    font-size: .9rem;
    line-height: 1.45;
}

.option_item small {
    font-size: .92rem;
}

.radio_form #debt-amount-slider label::before,
.radio_form #students-number-slider label::before {
    font-size: .78rem;
}

.fixed-bottom {
    border-radius: 8px 8px 0 0;
}

@media (max-width: 767.98px) {
    .wrapper .option {
        min-height: 48px;
    }

    .wrapper .option span,
    .option_item .option_inner .name,
    .option_item small {
        font-size: .82rem;
    }

    .option_item .option_inner {
        min-height: 96px;
    }
}
