.voucher-section {
    display: flex;
    flex-direction: column;

    div.list-more ul {
        justify-content: space-between;
    }
}

.voucher-steps {
    display: flex;
    justify-content: center;
}

ul.form-stepper.form-stepper-horizontal.text-center.mx-auto.pl-0 {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px;
}

li.form-stepper-active.text-center.form-stepper-list .step-line {
    transition: .5s ease-out;
    background: var(--e-global-color-d2857b8);
    background: linear-gradient(to left, var(--e-global-color-secondary) 50%, grey 50%) right;
    background-size: 200%;
    transition: .8s ease-out;
}


li.form-stepper-active.text-center.form-stepper-list span {
    color: var(--e-global-color-d2857b8);
    font-weight: 500;
}

li.form-stepper-list i {
    padding: 3px 0;
}

ul.form-stepper.form-stepper-horizontal li {
    padding: 0 5px 4px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

li.form-stepper-active.text-center.form-stepper-list .step-line {
    transition: .5s ease-out;
    background: var(--e-global-color-d2857b8);
    background: linear-gradient(to left, var(--e-global-color-d2857b8) 50%, grey 50%) right;
    background-size: 200%;
    transition: .8s ease-out;
}

.step-line {
    width: 13vw;
    height: 3px;
    background: var(--e-global-color-c501ac7);
}

.voucher-form-1 {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.input-voucher {
    display: flex;
    align-items: center;
}

section#step-1, section#step-2, section#step-3, section#step-4 {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px 0;
    width: 100%;
}

section#step-4 div.level-1 {
    min-width: 400px;

    div.method-div {
        justify-content: space-around;
    }
}

.voucher-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.relative {
    text-align: right;
    padding: 8px;
    width: 270px;
}

label.voucher-label {
    position: relative;
    font-size: 14px;
    line-height: 24px;
    vertical-align: super;
    margin-left: 4px;
    color: var(--e-global-color-c12c756);
}

.voucher-sum-value {
    display: flex;
    flex-direction: row;
    gap: 32px;
    justify-content: space-between;
    align-items: center;

    input[type=button] {
        font-weight: 500;
        padding: 0px 32px;
        min-width: auto;
    }
}

.voucher-sum-payment-method {
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: space-between;
    align-items: center;
}

.show-sum {
    display: flex;
    justify-content: space-around;
}

.ditels {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.to-pay {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
}

.to-pay p:last-child {
    line-height: 21px;
}

.voucher-loader {
    display: flex;
    gap: 8px;
    flex-direction: column;
    align-items: center;
}

.voucher-loader svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(1turn);
    }
}

.method-div {
    display: flex;
    gap: 24px;
}

.payment-button {
    width: 100%;
}

.button-input {
    color: black;
    padding: 0px;
    border: 0px;
}

.payment-button .button-tile:hover {
    border: 2px solid var(--e-global-color-c501ac7);
    color: black;
}

.button-tile {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    border: 1px solid var(--e-global-color-752e732);
    background-color: var(--e-global-color-8d5e3bd);
    cursor: pointer;
    position: relative;
    height: 155px;
    width: 12vw;
    gap: 16px;
    padding: 34px 0;
    justify-content: flex-end;
    align-items: center;
}

section#step-3 {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;

    div.level-2 {
        width: 100%;
    }
}

section#step-4, section#step-4 .level-2 {
    width: 100%;
    min-height: 100px;
}

.pay-content-div {
    display: flex;
    gap: 16px;
    flex-direction: column;
}

.pay-content {
    display: flex;
    gap: 24px;
    flex-direction: column;
}

.content-div {
    display: flex;
    gap: 36px;
}

.cvv-input {
    width: 5vw !important;
}

.pay-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pay-method-content {
    display: flex;
}

.date div {
    display: flex;
    gap: 11px;
}

.date-cvv {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

select.validity {
    border: 0;
    border-bottom: 1px solid var(--e-global-color-c501ac7);
    border-radius: 0;
    color: var(--e-global-color-c12c756);
}

.go-back,
.go-back:hover,
.go-back:focus {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: flex-end;
    color: #000;
    padding: 0px 0 24px 0;
    gap: 8px;
}

.go-back:hover,
.go-back:focus {
    font-weight: 700;
}

button.clean-btn {
    border: 0;
    text-decoration-line: underline;
    font-weight: 600;
}

.btn-action {
    display: flex;
    gap: 8px;
}

.btn-div {
    display: flex;
    gap: 36px;
}

.credit-div {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.success-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.success {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.success-more {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.list-more ul {
    list-style: none;
    display: flex;
    gap: 16px;
    padding: 0;
}

.list-more ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bit-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    text-align: center;
    background-color: white;
    margin: auto;
    padding: 50px 25px;
    width: 30%;
    border-radius: 10px;
    position: relative;
}
/* 
.modal {
    position: fixed;
    z-index: 1;
    padding-top: 250px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
} */

.bit-title {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 48px;
}

.bit-close {
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    align-items: center;
}

input.close-btn {
    border: 0px;
    padding: 8px;
}

input.close-btn:hover {
    background: none;
}

input.close-btn:focus {
    background: none;
}

.voucher-type-card-data {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 25px 27px;
    border-radius: 10px;
    width: 100%;
    gap: 16px;
}

.card-row {
    display: flex;
    width: 100%;
    gap: 16px;
    padding: 16px 0;
}

.voucher-type-card {
    list-style: none;
    display: flex;
    border: 1px solid var(--e-global-color-752e732);
    border-radius: 8px;
    width: 30%;
    cursor: pointer;
    margin: 8px 4px;
    font-size: 17px;
    padding: 0px;
}

.voucher-type-card.active {
    background-color: var(--e-global-color-90c60cb);
}

.voucher-type-card .svg {
    display: flex;
    border-left: 1px solid #DCDFEA;
    padding: 16px 8px;
    align-items: center;
    border-radius: 8px;
    width: 25%;
    justify-content: center;
    background-color: var(--e-global-color-90c60cb);
}

.voucher-type-card .voucher-type-card-icon {
    display: flex;
    align-items: center;
    padding: 8px;
}

.voucher-type-card .voucher-type-card-name {
    display: flex;
    align-items: center;
    text-align: right;
    line-height: 100%;
}

ul.voucher-type-card-list {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    width: 100%;
    /* justify-content: space-around; */
}

div.personal-details-not-editable {
    display: flex;
    flex-direction: column;
    gap: 8px;

    div.edit-personal-details {
        display: flex;
        justify-content: end;
        gap: 8px;
        
        span, svg {
            cursor: pointer;
        }
    }

    div.middle-personal-details {
        display: flex;
        justify-content: space-between;
    }

    div.bottom-personal-details {
        display: flex;
        justify-content: space-between;
    }
}

div.personal-details-editable {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
}

div.personal-details-editable > div {
    display: flex;
    gap: 16px;
    flex-direction: column;
    align-items: center;
}

div.information-box {
    display: flex;
    gap: 8px;
    justify-content: center;
    border: 1px solid var(--e-global-color-d2857b8);
    border-radius: 8px;
    padding: 16px 24px;
    background: var(--e-global-color-1065d64);
    margin-top: 8px;
}

div.information-box-new-user {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 88px;
    border: 1px solid var(--e-global-color-d2857b8);
    border-radius: 8px;
    padding: 16px;
    background: var(--e-global-color-1065d64);
    margin-top: 8px;

    .information-box-top {
        display: flex;
        flex-direction: column;

        .information-box-title {
            display: flex;
            flex-direction: row;
    
            .target-arrow-icon {
                width: 42px;
                height: 42px;
            }
    
            .message-to-user {
                padding: 9px;
            }
        }
    }

    .button-to-register-user {
        border: 2px solid var(--e-global-color-d2857b8);
        gap: 8px;
        color: var(--e-global-color-d2857b8);
        padding: 6px;
        font-weight: 600;
        padding: 6px;

        &:hover {
            cursor: pointer;
            svg path {
                fill: white;
            }
        }

        &:focus {
            color: white;
            svg path {
                fill: white;
            }
        }
    }
}

.delivery-option{
    flex-direction: row-reverse !important;
    width: fit-content !important;
    cursor: pointer;
}

.delivery-methods {
    gap: 20px;
    margin: 0 0 40px 0;
}
.delivery-methods .delivery-option {
    gap: 8px;
    margin: 0px 12px;
    align-items: center;
}
.delivery-methods .delivery-option.selected-disabled{
    pointer-events: none;
    opacity: 0.6;
}

.delivery-methods .delivery-option.selected svg.selected-icon{
    display: block !important;
}


.delivery-methods .delivery-option .selection-icons{
    position: relative;
}

.delivery-methods .delivery-option .selection-icons .selected-icon{
    position: absolute;
    top: -6px;
    right: -7px;
}

input[type="number"],
input[type="email"]{
    direction: ltr;
    text-align: left;
}

input[type="number"]:placeholder-shown,
input[type="email"]:placeholder-shown {
  direction: rtl !important;
  text-align: right !important;
  unicode-bidi: isolate !important;
}

div#register-voucher-email .modal-close{
    position: absolute;
    top: 14px;
    left: 14px;
}

.step-navigation-back button{
    padding: 0px 13px 0 5px;
    border: 0;
}

.step-navigation-back{
    position: absolute;
    left: 0; 
}

div#register-voucher-email {
    max-width: 1000px;
    max-height: initial;
}

div#register-voucher-email div.main-modal-content-contact-info .main-modal-content label[for="email"] {
    color: var(--e-global-color-875e7a6);
}

div#register-voucher-email .modal-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

div#register-voucher-email .modal-content .modal-div {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

div#register-voucher-email .modal-content .modal-div .modal-close {
    display: flex;
    flex-direction: column;
    align-items: end;
}

div#register-voucher-email .modal-content .modal-div .modal-close a {
    display: flex;
    gap: 8px;
}

div#register-voucher-email .modal-content .modal-div .modal-close a span {
    line-height: 24px;
}

div#register-voucher-email .modal-content .modal-div .modal-close a i {
    font-size: 24px;
}

div#register-voucher-email .modal-content .modal-div .main-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 0 75px;
    color: var(--e-global-color-c12c756);
}

div#register-voucher-email .modal-content .modal-div .main-modal-content .modal-form {
    display: flex;
    flex-direction: column;
    gap: 11px;
    width: 100%;
}

div#register-voucher-email .modal-content .modal-div .main-modal-content .modal-form div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

div#register-voucher-email .modal-content .modal-div .main-modal-content .modal-form div input {
    line-height: 40px;
}

div#register-voucher-email .modal-content .modal-div .main-modal-content .modal-form div.consent-checkbox {
    gap: 16px;
    border: 1px black solid;
    border-radius: 10px;
    padding: 10px;
    background: aliceblue;
}

div#register-voucher-email .modal-content .modal-div .main-modal-content .modal-form div.consent-checkbox label {
    display: flex;
    gap: 8px;
}

div#register-voucher-email .modal-content .modal-div .main-modal-content .modal-form div.consent-checkbox pre {
    font-family: 'rubik';
}

div#register-voucher-email .modal-content .modal-div .main-modal-content .delivery-options {
    display: flex;
    flex-direction: row;
    gap: 48px;
}

div#register-voucher-email .modal-content .modal-div .main-modal-content .delivery-options .delivery-option {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

div#register-voucher-email .modal-content .modal-div .main-modal-content .delivery-options .unselected {
    color: var(--e-global-color-accent);
}

div#register-voucher-email .modal-content .modal-div .main-modal-content .delivery-options .unselected path {
    stroke: var(--e-global-color-accent);
}

div#register-voucher-email .modal-content .modal-div .main-modal-content .delivery-options .selected {
    color: var(--e-global-color-d2857b8);
}

div#register-voucher-email .modal-content .modal-div .main-modal-content .delivery-options .selected path {
    stroke: var(--e-global-color-d2857b8);
}

div#register-voucher-email .bottom-modal {
    padding: 20px 0px;
}

div#register-voucher-email .bottom-modal div {
    display: flex;
}


/* div#register-voucher-email {
    max-width: 1000px;
    max-height: initial;

    div.main-modal-content-contact-info {
        .main-modal-content {
            label[for="email"] {
                color: var(--e-global-color-875e7a6);
            }
        }
    }

    .modal-content {
        display: flex;
        flex-direction: column;
        gap: 24px;

        .modal-div {
            display: flex;
            flex-direction: column;
            gap: 24px;
    
            .modal-close {
                display: flex;
                flex-direction: column;
                align-items: end;
    
                a {
                    display: flex;
                    gap: 8px;
    
                    span {
                        line-height: 24px;
                    }
    
                    i {
                        font-size: 24px;
                    }
                }
            }
    
            .main-modal-content{
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 24px;
                padding: 0 75px;
                color: var(--e-global-color-c12c756);
    
                .modal-form {
                    display: flex;
                    flex-direction: column;
                    gap: 11px;
                    width: 100%;
    
                    div {
                        display: flex;
                        flex-direction: column;
                        gap: 4px;
    
                        input {
                            line-height: 40px;
                        }
                    }

                    div.consent-checkbox {
                        gap: 16px;
                        border: 1px black solid;
                        border-radius: 10px;
                        padding: 10px;
                        background: aliceblue;

                        label {
                            display: flex;
                            gap: 8px;
                        }

                        pre {
                            font-family: 'rubik';
                        }
                    }
                }

                .delivery-options {
                    display: flex;
                    flex-direction: row;
                    gap: 48px;
                    
                    .delivery-option {
                        display: flex;
                        flex-direction: column;
                        gap: 8px;
                        align-items: center;
                    }

                    .unselected {
                        color: var(--e-global-color-accent);
                        path {
                            stroke: var(--e-global-color-accent);
                        }
                    }

                    .selected {
                        color: var(--e-global-color-d2857b8);
                        path {
                            stroke: var(--e-global-color-d2857b8);
                        }
                    }

                }
            }
        }
    }
    
    .bottom-modal {
        padding: 20px 0px;
        
        div {
            display: flex;
        }
    }
} */

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

    div#register-voucher-email {
        padding: 12px;

        .modal-content {
            .modal-div {
                .main-modal-content, .main-modal-content-success, .main-modal-content-failure {
                    padding: 13px;
                }
            }
        }
    }

    div.information-box-new-user {
        flex-direction: column;
        gap: 4px;
    }

    .voucher-form-1 {
        display: flex;
        gap: 16px;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    section#step-1 {
        padding: 0;
    }

    .show-sum {
        display: flex;
        justify-content: space-between;
        flex-direction: column;
        gap: 16px;
    }

    .to-pay {
        align-items: center;
    }

    .payment-radio .checkbox-tile {
        height: 140px;
        gap: 16px;
        padding: 12px;
        justify-content: center;
        align-items: center;
        width: auto;
    }

    .date-cvv {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        flex-direction: column;
        gap: 24px;
    }

    .btn-action {
        display: flex;
        gap: 8px;
        flex-direction: column;
    }

    .btn-action input {
        width: -webkit-fill-available;
    }

    .date {
        width: 100%;
    }

    .cvv-input {
        width: 18vw !important;
    }

    button.clean-btn {
        float: left;
    }

    .list-more ul {
        list-style: none;
        display: flex;
        gap: 16px;
        padding: 0;
        flex-direction: row;
    }

    .bit-div {
        height: 100%;
        width: 100%;
        justify-content: center;
    }

    .btn-div {
        display: flex;
        gap: 36px;
        flex-direction: column;
    }

    ul.form-stepper.form-stepper-horizontal .font-grey {
        display: none;
    }

    li.form-stepper-active.text-center.form-stepper-list span {
        display: block;
        position: absolute;
        padding-top: 8px;
    }

    ul.form-stepper.form-stepper-horizontal.text-center.mx-auto.pl-0 {
        align-items: flex-start;
    }

    ul.voucher-type-card-list {
        padding: 0;
        display: flex;
    }

    .voucher-type-card {
        width: 100%;
        min-height: 60px;
    }

    .second-btn-border {
        width: 100%;
    }

    .voucher-type-card-data {
        padding: 25px 0;
    }

    div.personal-details-editable {
        flex-direction: column;
    }
    
}

@media only screen and (max-width: 400px) {
        .list-more ul {
        list-style: none;
        display: flex;
        gap: 16px;
        padding: 0;
        flex-direction: column;
    }
}