:root {
    --color-leireg-primary: #007187;
    --color-leireg-primary-dark: #005A6C;
    --color-green-light: #BDE8E4;
    --color-green-light-background: #E5F6F4;
    --color-green: #A7E0DA;
    --color-green-background: #F5F7FB;
    --color-green-dark: #014D5C;
    --color-green-dark-hover: #014037;
    --color-cta-default: #F0782F;
    --color-cta-click: #EF5F00;
    --color-cta-hover: #FFE6D4;
    --color-cta-orange: #F07830;
    --color-green-bright-success: #00C950;
    --color-green-bright-background: #E9FBF0;
    --color-green-bright-2: rgba(185, 248, 207, 0.75);
    --color-lapsed-red: #CB0707;
    --color-meta-bar-teal: #006553;
    --color-text-primary: #1D1D1B;
    --color-text-secondary: #4A5565;
    --color-grey: #D1D5DC;
    --color-border-grey: #D1D5DC;
    --color-step-number: rgba(0, 67, 58, 0.5);
    --color-info-avoid-multi-apps: #EF5F00;
    --color-info-free-transfer: #4A5565;
    --info-note-border-color: #EF5F00;
    --info-note-text-color: #1D1D1B;
    --info-note-icon-color: #EF5F00;
    --info-note-icon-filter: none;
    --color-light-green : #E5F6F4;
    --color-light-green-border: #BDE8E4;
    --color-dark-blue-gray: #1E2939;
    --color-dark-blue: #364153;
}

html {
    scrollbar-gutter: stable;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--color-green-background);
    font-family: "HK Grotesk", Arial, Helvetica, sans-serif;
    font-size: 16px;
}
body.locked {
    position: fixed;
    inset: 0;
}
/* #header, footer */
#test-warning {
    background-color: #f00;
    color: #fff;
    font-size: 1.5em;
    font-weight: 600;
    padding: 1rem;
    position: fixed;
    z-index: 4;
}

/* cards */
.card {
    background-color: #fff;
    border: none;
    border-radius: 0;
}
.card-header {
    background-color: transparent;
    border-bottom: none;
    padding: 1.5rem 1.5rem 0.75rem;
}
.card-body h2 {
    margin: 0 -1rem 0.5rem;
    padding: 0.5rem 1rem;
}
.card-body h2 a.info {
    vertical-align: text-bottom;
}
form .card-body h3.noseparator {
    border-top: none;
}
#main .component-wizard .component-cascade.card div.float-right {
    float: right;
}
.card .btn-link {
    color: #d64933;
    text-decoration: none;
}
.card .btn-link:hover {
    text-decoration: underline;
}
#main .card .btn-primary {
    background-color: #127060;
    border-color: #127060;
    color: #fff;
}
#main .card .btn-primary:focus,
#main .card .btn-primary:hover,
#main .card .btn-primary:active {
    box-shadow: 0 0 0 0.2rem rgba(18, 112, 96, 0.5);
}
#main .card .btn-secondary:focus,
#main .card .btn-secondary:hover,
#main .card .btn-secondary:active {
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}
.card select,
.card select:focus {
    background-color: #f1f1f1;
}
#main .card .error-header-panel {
    padding: 1rem 0;
}
#main .card .form-group.row {
    margin-bottom: 1rem;
}
#main .card .row {
    margin-right: -5px;
    margin-left: -5px;
}

#main.green-page,
#main.green-page .maincontent,
#main.green-page .card-body
{
    background-color: var(--color-leireg-primary);
}

#main .error-card .card-header,
#main.green-page .card-header
{
    display: none;
}
#main .error-card .card-body .robot {
    display: block;
    margin: auto;
    max-height: 6.25rem;
    width: 4rem;
}
#main .error-card .card-body h1,
#main .error-card .card-body h2,
#main .error-card .card-body p {
    text-align: center;
}

#main .error-card .error-main-text {
    font-size: 2.625rem;
    font-weight: 700;
    font-style: normal;
    line-height: 120%;
    margin: 1.5rem auto;
    color: #FFFFFF;
}
#main .error-card .error-additional-text {
    font-size: 1.125rem;
    font-weight: normal;
    line-height: 130%;
    color: #BDE8E4;
}
#main .error-card .error-additional-text a {
    font-weight: 500;
    color: #fff;
    text-decoration: underline;
}
#main .error-card {
    background-color: var(--color-leireg-primary);
}
#main .error-card .card-body {
    background-color: var(--color-leireg-primary);
}

/* text */
.card ul li,
.card ol li {
    color: #666;
    margin-bottom: 0.5rem;
}
p.important,
span.required,
.required span {
    color: #be0b1e;
    font-weight: 600;
}
#main a {
    text-transform: none;
    text-decoration: none;
}
#main a:before {
    font: normal normal normal 14px/1 FontAwesome;
}
#main a.doc:before,
#main a.down:before,
#main a.ext:before,
#main a.int:before {
    padding-right: 0.25rem;
}
#main a.doc:before {
    content: "\f019";
}
#main a.down:before {
    content: "\f103";
}
#main a.ext:before {
    content: "\f08e";
}
#main a.doc:focus,
#main a.doc:hover,
#main a.doc:active,
#main a.down:focus,
#main a.down:hover,
#main a.down:active,
#main a.ext:focus,
#main a.ext:hover,
#main a.ext:active,
#main a.int:focus,
#main a.int:hover,
#main a.int:active {
    color: #d64933;
    text-decoration: underline;
}
#main a.info {
    display: inline-block;
    text-decoration: none;
}
#main a.info:focus,
#main a.info:hover {
    text-decoration: none;
}
#main .fa.fa-info-circle {
    background: url(/img/icon-help.svg) center no-repeat;
    color: transparent;
    display: block;
    height: 24px;
    margin-top: 4px;
    width: 24px;
}
#main h3 .fa.fa-info-circle {
    position: relative;
    top: -4px;
}
/* forms */
#main .form-group label.form-check-label {
    display: inline;
}
#main .form-group .form-group {
    margin-bottom: 0;
}
#main .form-group .form-group:not(:first-child) {
    margin-top: 1rem;
}
#main select,
#main textarea,
.dropdown-menu {
    border: 1px solid #ced4da;
    border-radius: 0;
}
#main .input-group.disabled input.form-control,
#main .input-group.disabled .input-group-append {
    opacity: 0.65;
}
#main .dropdown-menu ul li {
    color: inherit;
    margin-bottom: 0;
}
#main .dropdown-item {
    color: inherit;
}
.dropdown-item.active {
    background-color: #f8f9fa;
    color: #212529;
}
.dropdown-item:hover,
.dropdown-item:focus {
    background-color: #eee;
}
.dropdown-item.active,
.dropdown-item:active {
    background-color: #ddd;
}
#main .form-group label.custom-file-label {
    font-weight: normal;
}
#main .form-group label.custom-file-label:after {
    content: "\f115";
    font-family: FontAwesome;
}
#main .form-group label.target {
    border: 2px dashed #aaa;
    clear: both;
    display: block;
    font-weight: normal;
    margin: 1rem 0;
    padding: 1rem;
    transition: 0.25s;
}
#main .streetpostbox {
    display: inline-flex;
}
#main .streetpostbox .form-check:last-child {
    margin-left: 10%;
}
#main form .has-error,
#main form .has-error label {
    color: #a94442;
}
#main form .has-error .form-control,
#main form .has-error .dropdown-toggle {
    border-color: #a94442;
}
#main form .has-error ul.form-text {
    margin-bottom: 0;
    padding-left: 0;
}
#main form .has-error ul.form-text:empty {
    display: none;
}
#main ul.feedbackPanel {
    padding-left: 0;
}
#main ul.feedbackPanel li a {
    font-weight: bold;
    text-decoration: underline;
}
#main form .has-error ul.form-text li,
#main form .has-error ul.form-text li p,
#main ul.feedbackPanel li.has-error {
    color: #a94442;
    font-size: 0.875rem;
    line-height: 1.25rem;
    list-style-type: none;
}
#main form.table-form {
    margin-bottom: 3rem;
}

/* search */
#main .card-body .form-group div[data-toggle="datetimepicker"] span {
    height: 100%;
}
@media (min-width: 992px) { /* .d-lg-block */
    #main form.filter-form .row {
        display: block;
    }
}
#main form.filter-form .col-lg-5 {
    max-width: 100%;
}
#main .input-group .btn {
    z-index: 1;
}

/* maintenance */
#main .maintenance-card {
    border: 1px solid #f00;
}
#main .maintenance-card h2 {
    background-color: #f00;
    color: #fff;
    padding-bottom: 1rem;
    padding-top: 1rem;
}
#main .maintenance-card .card-body {
    padding-top: 1.5rem;
}

#main .successor_form .breakup {
    position: relative;
}
#main .successor_form .breakup .btn.add,
#main .successor_form .breakup .btn.remove {
    position: absolute;
    right: 0;
    top: 0;
}

/* legal entity events */
#main .form-group label.col-form-label-top {
    font-weight: normal;
    font-size: 10pt;
}
#main .form-group label.col-form-label-top.upper {
    text-align: center;
    font-size: 12pt;
}

/* ? */
#main span.doc-info {
    padding-left: 1ex;
}

/* check slider */
.switch {
    display: inline-block;
    height: 17px;
    margin: 10px 0 9px;
    position: relative;
    width: 30px;
}
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 13px;
    width: 13px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #d64933;
}
input:focus + .slider {
    box-shadow: 0 0 1px #d64933;
}
input:checked + .slider:before {
    -webkit-transform: translateX(13px);
    -ms-transform: translateX(13px);
    transform: translateX(13px);
}

/* rounded slider */
.slider.round {
    border-radius: 9px;
}
.slider.round:before {
    border-radius: 50%;
}


/* hotfix 2021-04-17 */
.doc:before,
.doc i {
    font-style: normal;
    color: #d64933;
}
/* popover */
.popover {
    max-width: 50%;
    width: 500px;
}
h3.popover-header {
    color: #127060;
    text-transform: none;
}

/* lee */
.corr-proved {
    text-align: center;
}
.corr-proved input {
    margin-top: 0.75rem;
    position: relative;
}

div.dropdown.bootstrap-select button.dropdown-toggle::placeholder {
    color: #6c757d !important;
}
/* spinning circle area */
#main .maincontent {
    position: relative;
}
#main .maincontent::before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #ffffff;
    z-index: 10;
}

@keyframes spinner {
    0% {
        transform: translate3d(-50%, -50%, 0) rotate(0deg);
    }
    100% {
        transform: translate3d(-50%, -50%, 0) rotate(360deg);
    }
}

#main .maincontent.show-circle::after {
    animation: 1.5s linear infinite spinner;
    animation-play-state: inherit;
    border: solid 5px #ccdcd9;
    border-bottom-color: #127060;
    border-radius: 50%;
    content: "";
    height: 40px;
    width: 40px;
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    will-change: transform;
    z-index: 20;
}

/*!*if page loads fast, class show-circle is still there. so content needs to be removed with class show-circle*!*/
#main .maincontent.remove-after::after,
#main .maincontent.remove-after.show-circle::after,
#main .maincontent.remove-before::before {
    display: block;
    content: none;
}
/* end spinning circle area */

ul.feedbackPanel li::marker {
    content: none;
}

/* container */
#main {
    padding: 0 1.25rem;
    .main-container {
        padding: 0;
        margin: 0 auto;
        max-width: 70rem;
        .maincontent {
            & > .card {
                padding: 0;
                margin-bottom: 0;
                border: none;
                background-color: var(--color-green-background);
                > .card-body {
                    padding: 0;
                    width: 100%;
                    .main-wrapper {
                        padding: 2.75rem 1.75rem;
                        margin: 2rem 0 4.75rem;
                        background: #FFFFFF;
                        border: 1px solid var(--color-border-grey);
                        border-radius: 20px;
                        .card {
                            display: flex;
                            flex-direction: column;
                            padding: 0;
                            border: none;
                        }
                        &:has(.step_4_confirmation-card) {
                            padding: 0;
                            border: none;
                        }
                    }
                }
            }
        }
    }
}

/* datetimepicker */
.bootstrap-datetimepicker-widget {
    /* background: yellow; */
    inset: 38px auto auto 0 !important;
    border: 1px solid var(--color-border-grey);
    border-radius: 0 0 20px 20px;
    padding: 20px !important;
    margin: 0 !important;
    width: 100% !important;
    &.dropdown-menu:before,
    &.dropdown-menu:after {
        content: none !important;
    }
    & table {
        & thead {
            color: var(--color-text-primary);
            & th {
                &.picker-switch {
                    font-weight: 400;
                }
            }
            & th.dow {                   /* day of week */
                font-weight: 500;
                padding: 20px 2px;
                &:first-child,
                &:last-child {
                    color: var(--color-lapsed-red);
                }
            }
            & tr:first-child {
                & th {
                    padding: 0;
                }
            }
        }
        & tbody {
            font-weight: 400;
            color: var(--color-text-secondary);
            & td {
                padding: 8px;
                &.today {
                    color: var(--color-text-primary);
                    font-weight: 700;
                    &:before {
                        content: none;
                    }
                }
            }
        }
        & thead, & th, & tr, & td, & tfoot {
            border: none;
        }
        & .day, & .month, & .year {
            &.active {
                background-color: var(--color-leireg-primary) !important;
            }
        }
    }
}

/* progressbar */
.progressbar {
    display: flex;
    width: 100vw;
    padding: 0.75rem 1.25rem;
    margin-left: calc(50% - 50vw);
    background-color: var(--color-leireg-primary);
    .main-container {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: clamp(1rem, 3rem, 4.25rem);
        align-self: stretch;
        width: 100%;
        @media (max-width: 991px) {
            max-width: none !important;
        }
        @media (max-width: 450px) {
            flex-wrap: wrap;
            gap: 0.5rem 1rem;
            .back-to-home {
                flex: 1 0 100%;
                justify-content: center;
            }
        }
        .back-to-home {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 0.875rem;
            color: var(--color-green-bright-2);
            & a.back-to-home-link {
                font-weight: 500;
                text-decoration: none;
                white-space: nowrap;
                color: var(--color-green-bright-2) !important;
            }
        }
        .stepper {
            display: flex;
            align-items: center;
            gap: 2.5rem;  /*clamp(0.75rem, 3vw, 2.375rem);*/
            flex: 1 1 0;
            min-width: 0;
            @media (max-width: 848px) {
                gap: 1.75rem;
            }
            @media (max-width: 767px) {
                flex-wrap: wrap;
                gap: 1.25rem;
                .progress-step {
                    flex: 0 0 auto;
                }
                .separator {
                    flex: none;
                    width: clamp(1rem, 5vw, 2.5rem);
                }
            }
            .progress-step {
                display: flex;
                align-items: center;
                gap: 0.625rem;
                flex: 0 0 auto;
                .step_number {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 2.375rem;
                    height: 2.375rem;
                    font-size: 1.5rem;
                    font-weight: 700;
                    color: var(--color-green-bright-2);
                    background-color: var(--color-step-number);
                    border-radius: 50%;
                }
                .step_description {
                    display: none;
                    color: var(--color-green-bright-2);
                    font-weight: 700;
                    @media (min-width: 768px) {
                        display: block;
                    }
                }
                &.stepReached {
                    .step_number {
                        color: var(--color-leireg-primary);
                        background-color: #FFFFFF;
                    }
                    .step_description {
                        color: #FFFFFF;
                    }
                }
            }
            .separator {
                width: clamp(1.5rem, 6vw, 10rem);
                height: 1px;
                background-color: var(--color-green-bright-2);
                flex: 1;
            }
            > .progress-step:has(~ .stepReached),
            > .separator:has(~ .stepReached) {
                .step_number {
                    color: var(--color-leireg-primary);
                    background-color: #FFFFFF;
                }
                .step_description {
                    color: #FFFFFF;
                }
            }
            > .separator:has(~ .stepReached) {
                background-color: white;
            }
        }
    }
}

/* Info-Note */
.info-note {
    display: flex;
    padding: 0.5rem 1rem;
    border-radius: 1.25rem;
    align-items: center;
    gap: 0.625rem;
    line-height: 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    .info-note-icon {
        display: block;
        width: 1rem;
        height: 1rem;
        flex-shrink: 0;
        -webkit-mask: url("../../../../img/info-note.svg") center / contain no-repeat;
        mask: url("../../../../img/info-note.svg") center / contain no-repeat;
    }
    .info-note-text {
        transform: translateY(1px);
    }
    &.info-free-of-charge,
    &.info-avoid-multi-apps {
        margin-top: 1.25rem;
        color: var(--color-info-avoid-multi-apps);
        background-color: #FFFFFF;
        border: 1px solid var(--color-info-avoid-multi-apps);
        .info-note-icon {
            background-color: var(--color-info-avoid-multi-apps);
        }
    }
    &.info-free-of-charge {
        margin-top: 0 !important;
        margin-bottom: 2rem;
    }
    &.info-free-transfer,
    &.info-moved-to-transfer {
        color: var(--color-info-free-transfer);
        background-color: var(--color-green-background);
        border: 1px solid var(--color-info-free-transfer);
        .info-note-icon {
            background-color: var(--color-info-free-transfer);
        }
    }
    &.info-free-transfer {
        margin: 2rem 0;
    }
    &.info-moved-to-transfer {
        margin: 0.625rem 0;
        font-weight: 400;
    }
}

/* container */
.type_selection {
    margin-bottom: 4.75rem;
}

/* Type Header */
.type_header {
    padding-bottom: 1rem;
    line-height: 1.25rem;
    color: var(--color-text-primary);
}

/* Application Type */
.application_type {
    display: inline-flex;
    padding: 0.625rem;
    gap: 0.625rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    background-color: var(--color-green-background);
    & a {
        display: flex;
        padding: 1.25rem;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        color: inherit;
        text-decoration: none;
        border: 1px solid transparent;
        .icon {
            width: 1.75rem;
            height: 1.75rem;
            background-color: var(--color-text-secondary);
            &.company {
                -webkit-mask: url("../../../../img/company_switch.svg") no-repeat center;
                mask: url("../../../../img/company_switch.svg") no-repeat center;
            }
            &.fund {
                -webkit-mask: url("../../../../img/fund_switch.svg") no-repeat center;
                mask: url("../../../../img/fund_switch.svg") no-repeat center;
            }
        }
        .text {
            color: var(--color-text-secondary);
            white-space: nowrap;
            font-weight: 700;
        }
        .checkmark {
            display: none;
        }
        &.active {
            cursor: default;
            border-color: var(--color-grey);
            border-radius: 1.25rem;
            background: #FFFFFF;
            .icon {
                background-color: var(--color-leireg-primary);
            }
            .text {
                color: var(--color-leireg-primary);
            }
        }
    }
    @media (max-width: 767px) {
        flex-direction: column;
        width: 100%;
        box-sizing: border-box;
        & a {
            padding: 1rem;
            min-width: 0;
            .text {
                white-space: normal;
                text-align: center;
            }
        }
    }
}

/* Service Type */
.service_type {
    display: flex;
    gap: 1rem;
    & a {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        flex: 1;
        gap: 0.5rem;
        align-items: center;
        position: relative;
        border: 1px solid var(--color-grey);
        border-radius: 14px;
        box-sizing: border-box;
        cursor: pointer;
        background: #FFFFFF;
        .icon {
            position: relative;
            width: 2.25rem;
            height: 2.25rem;
            border-radius: 2.5rem;
            background: var(--color-green-background);
            &::after {
                content: "";
                position: absolute;
                inset: 0;
                background-color: var(--color-leireg-primary);
            }
            &.new::after {
                -webkit-mask: url("../../../../img/new-registration.svg") no-repeat center;
                mask: url("../../../../img/new-registration.svg") no-repeat center;
            }
            &.renew::after {
                -webkit-mask: url("../../../../img/renewal.svg") no-repeat center;
                mask: url("../../../../img/renewal.svg") no-repeat center;
            }
            &.transfer::after {
                -webkit-mask: url("../../../../img/transfer.svg") no-repeat center;
                mask: url("../../../../img/transfer.svg") no-repeat center;
            }
        }
        .text {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            .type {
                font-size: 1rem;
                font-weight: 700;
                line-height: 1.25rem;
                margin-bottom: 0.12rem;
                color: var(--color-text-primary);
            }
            .description {
                font-size: 1rem;
                font-weight: 400;
                line-height: 1.25rem;
                color: var(--color-text-primary);
            }
        }
        .checkmark {
            display: none;
            position: absolute;
            right: 0.625rem;
            top: 0.625rem;
        }
        &.active {
            border: 1px solid var(--color-leireg-primary);
            background: var(--color-green-light-background);
            cursor: default;
            .icon {
                background-color: var(--color-leireg-primary);
                &::after {
                    background-color: #FFFFFF;
                }
            }
            .type,
            .description {
                color: var(--color-leireg-primary);
            }
            .checkmark {
                display: block;
            }
        }
    }
    @media (max-width: 767px) {
        flex-direction: column;
    }

}

/* Wizard steps info */
.steps_header {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 2rem;
    .step_title {
        font-size: 1rem;
        font-weight: 700;
        line-height: 1rem;
        text-transform: uppercase;
        margin: 0;
        color: var(--color-leireg-primary);
    }
    .step_request {
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 1.875rem;
        letter-spacing: -0.24px;
        margin: 0;
        padding: 0;
        color: var(--color-text-primary);
    }
    .step_hint {
        font-size: 0.875rem;
        font-weight: 500;
        line-height: 1rem;
        color: var(--color-text-secondary);
        & p {
            margin: 0;
        }
    }
}

/* Wizard step 1 formular */
.step_1_data-card {
    margin-bottom: 0;
    .card-body {
        width: 100%;
        .search-area {
            display: flex;
            align-items: center;
            gap: 2.5rem;
            .transfer-lei-wrapper {
                flex: 1;
            }
            &:has(.lei-found-box) {
                .transfer-lei-wrapper {
                    flex: unset;
                    width: 50%;
                }
            }
            .transfer-lei-hint {
                & a {
                    font-weight: 500;
                    text-decoration: underline !important;
                    color: var(--color-text-primary);
                }
            }
            .lei-found-box {
                width: 50%;
                padding: 1.5rem;
                border: 1px solid var(--color-leireg-primary);
                border-radius: 0.875rem;
                background-color: var(--color-green-light-background);
                & h3 {
                    text-transform: none;
                }
                & p {
                    margin: 0.375rem 0 0;
                    line-height: 1.25rem;
                    color: var(--color-text-primary);
                }
                & p:last-of-type {
                    margin: 1rem 0 0;
                    color: var(--color-text-secondary);
                }
                & a {
                    font-weight: 500;
                    text-decoration: underline !important;
                    color: var(--color-text-primary);
                    float: right;
                }
            }
            @media (max-width: 767px) {
                flex-direction: column;
                gap: 1.5rem;
                .transfer-lei-wrapper,
                .lei-found-box {
                    width: 100% !important;
                }
            }
        }
        .company-master-data {
            display: flex;
            gap: 2.5rem;
            margin-top: 2rem;
            @media (max-width: 767px) {
                flex-direction: column;
            }
            .company-information,
            .company-address {
                display: flex;
                flex-direction: column;
                flex: 1;
                gap: 1rem;
            }
            .form-data {
                display: flex;
                flex-direction: column;
                gap: 1.5rem;
            }
        }
        .corporate-fund-structure {
            display: flex;
            gap: 2.5rem;
            @media (max-width: 767px) {
                flex-direction: column;
            }
        }
        .corporate-structure {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 5rem;
            .corporate-structure-options {
                display: flex;
                gap: 2.5rem;
                @media (max-width: 767px) {
                    flex-direction: column;
                }
                .different-headquarter,
                .parent-company {
                    display: flex;
                    flex-direction: column;
                    flex: 1;
                    gap: 2rem;
                    .information-title {
                        font-weight: 700;
                        line-height: 1.25rem;
                        margin: 0;
                        color: #000000;
                    }
                }
                .parent-company {
                    .component-select {
                        margin-bottom: 1.5rem;
                    }
                }
            }
        }
        .fund-structure {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-top: 5rem;
            .form_title {
                margin-bottom: 5px;
                padding-bottom: 1rem;
            }
            @media (max-width: 767px) {
                margin-top: 0;
            }
        }
        .contact-details {
            display: flex;
            flex-direction: column;
            gap: 2rem;
            margin-top: 5rem;
            .contact-details-data {
                display: flex;
                flex-direction: column;
                row-gap: 1rem;
                .form_subtitle2 {
                    font-weight: 700;
                    line-height: 1rem;
                    text-transform: uppercase;
                    color: var(--color-text-primary);
                }
                .data-columns {
                    display: flex;
                    column-gap: 2.5rem;
                    .first-last-name,
                    .email-phone {
                        display: flex;
                        flex-direction: column;
                        flex: 1;
                        gap: 1.5rem;
                        .phone-number {
                            display: flex;
                            column-gap: 0.625rem;
                            .component-select {
                                flex: 1;
                                white-space: nowrap;
                            }
                            .component-text-input {
                                flex: 2;
                            }
                        }
                    }
                    @media (max-width: 767px) {
                        flex-direction: column;
                        row-gap: 1.5rem;
                    }
                }
            }
        }
    }
}

.step_2_authorization-card {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    .card-body {
        margin: 0 auto;
        max-width: 45rem;
        .form-radio-wrapper {
            display: flex;
            align-items: start;
            gap: 0.75rem;
            &:first-of-type {
                margin-bottom: 2rem;
            }
            & input {
                flex-shrink: 0;
                width: 1.25rem;
                height: 1.25rem;
                accent-color: var(--color-text-secondary);
            }
        }
    }
    .authorization-inputs {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }
    .download_auth_doc,
    .download_transfer_doc {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        padding: 1rem;
        margin-top: 2rem;
        background: var(--color-grey);
        border-radius: 1.25rem;
        & img {
            width: 1rem;
        }
        .button-download-auth-doc,
        .button-download-transfer-doc {
            color: var(--color-text-secondary);
        }
    }
    .pdf-download-buttons {
        display: flex;
        gap: 1rem;
        justify-content: center;
    }
    .pdf-download-buttons a.download_auth_doc,
    .pdf-download-buttons a.download_transfer_doc,
    .pdf-download-buttons-stacked a.download_auth_doc,
    .pdf-download-buttons-stacked a.download_transfer_doc {
        color: var(--color-text-secondary);
        text-decoration: none;
    }
    .pdf-download-buttons-stacked {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    .button-forward {
        width: unset;
        padding-right: 2.5rem;
        text-align: left;
        background-position: calc(50% + 2.5rem) center;
    }
    .button-generate-auth-doc {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.625rem;
        width: 19.75rem;
        color: #FFFFFF;
        background: var(--color-leireg-primary);
        &::after {
            content: "";
            display: inline-block;
            flex-shrink: 0;
            width: 1rem;
            height: 1rem;
            background: url("/img/arrows_rotating.svg") center / contain no-repeat;
        }
    }
    @media (max-width: 767px) {
        .card-body {
            width: 100%;
        }
        .pdf-download-buttons {
            flex-direction: column;
            gap: 0;
            width: 100%;
        }
        .download_auth_doc,
        .download_transfer_doc {
            width: 100%;
            margin-top: 2rem;
            gap: 1rem;
        }
        .button-generate-auth-doc {
            width: 100%;
        }
        .button-forward {
            width: 100%;
            margin-top: 1rem;
            text-align: center;
            background-position: calc(50% + 2.5rem) center;
        }
        /*padding: 1rem;*/
    }
}
.step_3_payment-card,
.step_3_extern_payment-card {
    margin-bottom: 0;
    .steps_header + .card-body {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        .info-note {
            margin: 0;
        }
        .payment-section {
            display: flex;
            gap: 2rem;
            & > * {
                flex: 1;
            }
            @media (max-width: 767px) {
                flex-direction: column;
            }
        }
    }
    .payment-billing-section {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        .form-radio-wrapper {
            display: flex;
            align-items: center;
            gap: 1.25rem;
            padding: 1.25rem 2.5rem;
            border: 1px solid var(--color-grey);
            border-radius: 1.25rem;
            &:not(:last-child) {
                margin-bottom: 0.75rem;
            }
            & input[type="radio"] {
                width: 1.25rem;
                height: 1.25rem;
                accent-color: var(--color-text-secondary);
            }
            & label {
                transform: translateY(2px);
                margin-bottom: 0;
            }
            .razorpay-logo {
                display: flex;
                gap: 0.5rem;
                font-weight: 700;
                margin-left: auto;
                color: var(--color-text-primary);
                .razorpay-logo-icon {
                    padding: 0.25rem;
                }
            }
        }
        .billing-information {
            .component-text-input {
                &:first-of-type {
                    margin-bottom: 0.75rem;
                }
            }
        }
        .payment-inputs {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }
    }
    .summary-payment-section {
        .payment-info-box {
            display: flex;
            flex-direction: column;
            align-items: start;
            gap: 0.75rem;
            padding: 1.5rem 2.25rem;
            border-radius: 1.25rem;
            border: 1px solid var(--color-grey);
            background: var(--color-green-background);
            & h3 {
                font-size: 1rem;
                font-weight: 700;
                line-height: 1rem;
                text-transform: uppercase;
                margin: 0;
                color: var(--color-text-secondary);
            }
            .duration-price {
                display: flex;
                justify-content: space-between;
                width: 100%;
                .payment-duration {
                    font-size: 1rem;
                    font-weight: 700;
                    line-height: 1.25rem;
                    color: var(--color-text-primary);
                }
                .payment-price {
                    font-size: 1.5rem;
                    font-weight: 700;
                    line-height: 2rem;
                    color: var(--color-leireg-primary);
                }
            }
            & a {
                font-weight: 700;
                line-height: 1.25rem;
                text-decoration-line: underline !important;
                text-decoration-thickness: from-font !important;
                text-underline-position: from-font !important;
                color: var(--color-leireg-primary) !important;
            }
            .voucher-div {
                display: flex;
                gap: 1rem;
                width: 100%;
                .component-text-input {
                    flex: 1;
                    min-width: 0;
                    & label {
                        display: none;
                    }
                }
                .btn-voucher-code {
                    padding: 1rem;
                    border: none;
                    border-radius: 20px;
                    font-weight: 700;
                    color: #FFFFFF;
                    background: var(--color-leireg-primary);
                    flex: 0 0 auto;
                    white-space: nowrap;
                    align-self: flex-start;
                }
            }
            .razorpay-logo {
                display: flex;
                gap: 0.5rem;
                font-weight: 700;
                color: var(--color-text-primary);
                .razorpay-logo-icon {
                    padding: 0.25rem;
                }
            }
        }
        .download_auth_doc,
        .download_transfer_doc {
            display: flex;
            justify-content: center;
            gap: 1rem;
            padding: 1rem;
            margin: 1.5rem 0 0.75rem;
            background: var(--color-grey);
            border-radius: 1.25rem;
            color: var(--color-text-secondary);
            text-decoration: none;
            &:visited,
            &:hover,
            &:active,
            &:focus {
                color: var(--color-text-secondary);
                text-decoration: none;
            }
            & img {
                width: 1rem;
            }
            .button-download-auth-doc,
            .button-download-transfer-doc {
                padding: 0;
                border: none;
                background-color: transparent;
                color: var(--color-text-secondary);
            }
        }
        .leireg-checkbox {
            &.has-error {
                flex-wrap: wrap;
                & ul.form-text {
                    flex-basis: 100%;
                }
            }
            & span.required {
                line-height: 1.25rem;
                transform: translateY(-2px);
                color: var(--color-lapsed-red);
            }
            & label {
                transform: translateX(-6px);
                color: var(--color-lapsed-red);
            }
        }
        .button-forward {
            background-image: url("/img/arrow_right.svg");
            background-repeat: no-repeat;
            background-position: calc(50% + 5rem) center;
            background-size: 1rem;
        }
        .secure-ssl-wrapper {
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            gap: 0.75rem;
            margin: 0.625rem 0 0;
            color: var(--color-text-secondary);
            .secure-ssl-text {
                transform: translateY(1px);
            }
        }
    }
    .form_section_header {
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.25rem;
        margin-bottom: 0.75rem;
        color: var(--color-text-primary);
    }
}
.step_3_extern_payment-card {
    .submit-razorpay-data {
        display: none;
    }
}
.step_4_confirmation-card {
    margin-bottom: 0;
    background-color: var(--color-green-background) !important;
    .step_4_wrapper {
        display: flex;
        gap: 0.75rem;
        @media (max-width: 767px) {
            flex-direction: column;
        }
        .left-area {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            flex: 1;
            & > div {
                border: 1px solid var(--color-border-grey);
                border-radius: 1rem;
                background-color: #FFFFFF;
                flex: 1;
            }
            .application-submitted {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 1.25rem;
                text-align: center;
                padding: 2rem;
                .icon-wrapper {
                    display: flex;
                    width: 5rem;
                    aspect-ratio: 1 / 1;
                    justify-content: center;
                    align-items: center;
                    border-radius: 50%;
                    border: 2px solid var(--color-light-green-border);
                    background: var(--color-light-green);
                }
                .header {
                    font-size: 1.5rem;
                    font-weight: 700;
                    line-height: 1.875rem;
                    letter-spacing: -0.24px;
                    color: var(--color-dark-blue-gray);
                }
                .text {
                    font-size: 0.875rem;
                    font-weight: 500;
                    line-height: 16px;
                    color: var(--color-text-secondary);
                }
                .subtext {
                    line-height: 1.25rem;
                    color: var(--color-text-primary);
                }
            }
            .reference-number {
                display: flex;
                flex-direction: column;
                gap: 0.75rem;
                padding: 1.5rem 2.25rem;
                .header {
                    font-weight: 700;
                    line-height: 1rem;
                    text-transform: uppercase;
                    color: var(--color-text-secondary);
                }
                .ordernumber {
                    font-size: 1.5rem;
                    font-weight: 700;
                    line-height: 1.875rem;
                    letter-spacing: -0.24px;
                    color: var(--color-leireg-primary);
                }
                .subtext {
                    font-size: 0.875rem;
                    font-weight: 500;
                    line-height: 1rem;
                    color: var(--color-text-secondary);
                }
            }
            .payment-processed {
                display: flex;
                gap: 1.25rem;
                padding: 1.125rem 2.25rem;
                & img {
                    align-self: center;
                    width: 1.75rem;
                    height: 1.75rem;
                    flex-shrink: 0;
                }
                .payment-info {
                    display: flex;
                    flex-direction: column;
                    gap: 0.625rem;
                    justify-content: center;
                    .text {
                        font-weight: 700;
                        line-height: 1rem;
                        text-transform: uppercase;
                        color: var(--color-text-secondary);
                    }
                    .razorpay-logo {
                        display: flex;
                        align-items: center;
                        gap: 0.5rem;
                        font-weight: 700;
                        color: var(--color-text-primary);
                        .razorpay-logo-icon {
                            padding: 0.375rem;
                        }
                    }
                }
            }
            .next-steps {
                padding: 1.5rem 2.25rem;
                .text {
                    font-weight: 700;
                    line-height: 1.25rem;
                    margin-bottom: 1.25rem;
                    color: var(--color-text-primary);
                }
                .next-steps-items {
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    gap: 0.625rem;
                    list-style: none;
                    padding: 0;
                    margin: 0;
                    & li {
                        display: flex;
                        align-items: center;
                        gap: 0.75rem;
                        margin: 0;
                        .bullet {
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            flex-shrink: 0;
                            font-size: 0.75rem;
                            font-weight: 700;
                            line-height: 1rem;
                            width: 1.75rem;
                            height: 1.75rem;
                            border-radius: 50%;
                            color: white;
                            background: var(--color-leireg-primary);
                        }
                        & p {
                            margin: 0;
                            color: var(--color-text-primary);
                        }
                    }
                }
            }
        }
        .right-area {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            flex: 1;
            & > div {
                border: 1px solid var(--color-border-grey);
                border-radius: 1rem;
                background-color: #FFFFFF;
                flex: 1;
            }
            .gleif-badge {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 1.5rem;
                padding: 1.5rem;
                & img {
                    width: 13.25rem;
                    height: 19.75rem;
                    object-fit: contain;
                    max-width: 100%;
                }
                .text {
                    text-align: center;
                    line-height: 1.25rem;
                    margin-bottom: 0.625rem;
                    color: #000000;
                }
                .subtext {
                    font-size: 0.875rem;
                    line-height: 1rem;
                    text-align: center;
                    color: var(--color-text-secondary);
                }
                .gleif-info {
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 0.25rem;
                    padding: 0.75rem 1rem;
                    width: 100%;
                    border: 1px solid var(--color-light-green-border);
                    border-radius: 0.875rem;
                    background: var(--color-light-green);
                    .text {
                        font-size: 0.75rem;
                        font-weight: 700;
                        text-align: center;
                        line-height: 1rem;
                        margin-bottom: 0;
                        color: var(--color-leireg-primary);
                    }
                    .subtext {
                        font-size: 0.75rem;
                        text-align: center;
                        line-height: 1rem;
                        color: var(--color-text-secondary);
                    }
                }
            }
            .data-security {
                display: flex;
                flex-direction: column;
                gap: 0.625rem;
                padding: 1.5rem 2.25rem;
                .header-wrapper {
                    display: flex;
                    align-items: center;
                    gap: 0.75rem;
                    font-size: 0.875rem;
                    font-weight: 700;
                    line-height: 1.25rem;
                    color: var(--color-dark-blue);
                }
                .data-security-items {
                    display: flex;
                    flex-direction: column;
                    gap: 0.625rem;
                    list-style: none;
                    padding: 0;
                    margin: 0;
                    & li {
                        display: flex;
                        align-items: center;
                        gap: 1.375rem;
                        margin: 0;
                        & p {
                            margin: 0;
                            color: var(--color-text-primary);
                        }
                    }
                }
            }
        }
    }
    .button-back-to-start {
        text-align: right;
        font-weight: 700;
        line-height: 1.5rem;
        width: 10.5rem;
        padding: 0;
        margin: 2rem auto 0;
        border: none;
        background-color: transparent;
        background-image: url("/img/arrow_go_back.svg");
        background-repeat: no-repeat;
        background-position: left center;
        color: var(--color-text-secondary);
    }
}
/* general rules */
.form_title {
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1rem;
    text-transform: uppercase;
    color: var(--color-leireg-primary);
    margin: 0;
}
.form_subtitle {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1rem;
    margin: 5px 0 0 0;
    color: var(--color-text-secondary);
}
.form_subtitle2 {
    font-weight: 700;
    line-height: 1rem;
    text-transform: uppercase;
    color: var(--color-text-primary);
}
.leireg-checkbox {
    display: flex;
    gap: 0.75rem;
    align-items: start;
    & input.form-check-input {
        width: 1.125rem;
        height: 1.125rem;
        flex-shrink: 0;
        margin: 0;
        &:checked {
            background-color: var(--color-leireg-primary);
            border-color: var(--color-leireg-primary) !important;
        }
        &:active {
            filter: none;
        }
        &:focus {
            outline: none;
            box-shadow: none;
            border-color: rgba(0, 0, 0, 0.25);
        }
        &:focus-visible {
            outline: none !important;
        }
    }
    & label {
        margin: 0;
        transform: translateY(-1px);
    }
    & a.info {
        margin-left: auto;
    }
    & + div {   /* additional data in company-information  */
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 1rem;
    }
}
.payment-checkbox-wrapper + div > form,   /* additional data after payment checkbox  */
.payment-checkbox-wrapper + div > div {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
label {
    display: block;
    font-weight: 400;
    line-height: 1.25rem;
    margin-bottom: 0.25rem;
    color: var(--color-text-primary);
}
input[type="text"],
.dropdown {
    padding: 1rem;
    border: 1px solid var(--color-grey);
    border-radius: 1.25rem;
    width: 100%;
}
.datepicker-data,
.dropdown,
& input[type="text"] {
    position: relative;
    width: 100% !important;
    &:focus-visible {
        outline: none;
    }
    &::after {
        content: "";
        position: absolute;
        right: 1rem;
        top: 50%;
        width: 1.125rem;
        height: 1.125rem;
        transform: translateY(-50%);
        transition: transform 0.2s ease;
        background: url("/img/chevron-down.svg") center / contain no-repeat;
        pointer-events: none;
        z-index: 3;
    }
    &.show,
    &:has(> .bootstrap-datetimepicker-widget) {
        border-radius: 1.25rem 1.25rem 0 0;
        &::after {
            transform: translateY(-50%) rotate(180deg);
            transition: transform 0.2s ease;
        }
    }
    .dropdown-toggle {
        background-color: transparent;
        border: none;
        padding: 0;
        &:focus {
            box-shadow: none;
            outline: none !important;
        }
        &:focus-visible {
            outline: none !important;
        }
        &:after {
            content: none;
        }
        .filter-option-inner-inner {
            padding-right: 1.25rem;
            text-overflow: ellipsis;
        }
        .filter-option:focus-visible,
        .filter-option-inner:focus-visible,
        .filter-option-inner-inner:focus-visible {
            outline: none;
        }
    }
    .dropdown-menu[role="combobox"] {
        min-width: 0 !important;
        width: 100%;
        transform: translate(-1px, 52px) !important;
        box-sizing: content-box;
        .bs-searchbox {
            .form-control:focus {
                box-shadow: none !important;
                border: 1px solid var(--color-leireg-primary) !important;
            }
        }
    }
    .datetimepicker-input {
        &:focus {
            border-radius: 1.25rem 1.25rem 0 0;
            box-shadow: none;
            outline: none !important;
        }
        &:focus-visible {
            outline: none !important;
        }
        &:after {
            content: none;
        }
        .filter-option:focus-visible,
        .filter-option-inner:focus-visible,
        .filter-option-inner-inner:focus-visible {
            outline: none;
        }
    }
    .bootstrap-datetimepicker-widget {
        transform: translateY(18px) !important;
    }
}
.pin-city {
    display: flex;
    gap: 0.625rem;
    > div:first-child {
        flex: 1;
    }
    > div:last-child {
        flex: 2;
    }
}
.component-text-input:has(input.optional-data) label {
    color: var(--color-text-secondary);
}
/* Buttons */
.ra_btn {
    padding: 1.25rem;
    margin-top: 2rem;
    border: none;
    border-radius: 1.25rem;
    font-weight: 700;
    line-height: 1;
}
.button-forward {
    width: 100%;
    color: #FFFFFF;
    background: var(--color-leireg-primary);
    background-image: url("/img/arrow_right.svg");
    background-position: calc(50% + 3rem) center;
    background-repeat: no-repeat;
    background-size: 1rem;
}
.ra_btn.button-forward:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.button-back {
    width: 5.25rem;
    padding: 0;
    margin: 2rem auto 0;
    text-align: right;
    color: var(--color-text-secondary);
    font-weight: 700;
    border: none;
    background-color: #FFFFFF;
    background-image: url("/img/arrow_go_back.svg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 1rem;
}
.button-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    .button-download-auth-doc,
    .button-download-transfer-doc {
        padding: 0;
        border: none;
        background-color: transparent;
    }
    @media (max-width: 767px) {
        flex-direction: column;
        gap: 1rem;
    }
}
.input-help-button-wrapper {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.label-above-input {
    & label {
        font-size: 1rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1.25rem;
        padding: 0;
        color: var(--color-text-primary);
    }
    & input[type="text"],
    & select,
    & button.dropdown-toggle {
        height: 3.375rem;
        padding: 1rem;
        border: 1px solid var(--color-grey);
        border-radius: 1.25rem;
        background-color: #FFFFFF;
    }
}

#main .label-above-input .form-group.row {
    display: block;
}

#main .label-above-input  .form-group.row > label {
    display: block;
    max-width: 100%;
    flex: 0 0 100%;
    margin-bottom: 0.35rem;
}

#main .label-above-input  .form-group.row > div {
    max-width: 100%;
    flex: 0 0 100%;
}

.component-wizard {
    .card-body {
        padding: 0;
    }
}

/* header and footer for test1 */
#header {
    background: #FFFFFF;
    z-index: 2;
    .navigation {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        min-height: 5rem;
        & > a:first-of-type {
            display: flex;
            height: 80px;
            & img {
                width: 150px;
                height: auto;
                align-self: flex-end;
            }
        }
        .nav-link {
            color: #3E3E3E;
            font-size: 1.125rem;
            font-weight: 400;
        }
        .nav-item .active,
        .nav-link:hover {
            text-decoration: underline;
            text-underline-offset: 5px;
        }
        .main-menu {
            display: flex;
            flex-direction: row;
            gap: 1rem;
            width: 100%;
            padding-left: 0;
            margin: 3rem 0 4rem;
            list-style: none;
            column-gap: clamp(12px, calc(-31px + 4.4118vw), 30px);
            .nav-item {
                display: flex;
                align-items: center;
                gap: 1rem;
                padding: 0.75rem 1rem;
                border-radius: 10px;
                background: #EDFCF9;
                cursor: pointer;
            }
        }
    }
}
#header .navigation .main-menu {
    flex-direction: row;
    column-gap: clamp(12px, calc(-31px + 4.4118vw), 30px);
    width: initial;
    margin: 0;
}
#header .navigation .main-menu .nav-item {
    display: initial;
    padding: 0;
    background: unset;
    box-shadow: none;
}
#footer {
    padding: 1.5rem 0;
    background-color: #F5F5F5;
}
#footer ul {
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}
#footer ul li {
    display: inline-block;
    padding: 0.5rem 0;
}
#footer ul li a {
    color: #3E3E3E;
}

/******************************************* Red Warning Message when LEI-type changed *******************************************/
body.lei-switch-warning-open {
    overflow: hidden;
}

.lei-switch-warning-backdrop {
    position: fixed;
    inset: 0;
    z-index: 3200;
    background: rgba(0, 0, 0, 0.55);
}

.lei-switch-warning-modal {
    position: fixed;
    inset: 0;
    z-index: 3201;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lei-switch-warning-backdrop[hidden],
.lei-switch-warning-modal[hidden] {
    display: none !important;
}

.lei-switch-warning-content {
    width: 100%;
    max-width: 25rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.lei-switch-warning-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.lei-switch-warning-icon {
    flex: 0 0 auto;
    height: 2.75rem;
    width: 2.75rem;
}

.lei-switch-warning-icon svg {
    display: block;
    height: 100%;
    width: 100%;
}

.lei-switch-warning-title {
    margin: 0 0 0.25rem;
    color: var(--color-text-primary);
    font-size: 1.375rem;
    line-height: 1.3;
    font-weight: 700;
}

.lei-switch-warning-badge {
    display: inline-block;
    padding: 0.125rem 0.625rem;
    border: 1px solid #e10600;
    border-radius: 1rem;
    background: #fdecec;
    color: #e10600;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.lei-switch-warning-text {
    margin: 0;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.lei-switch-warning-actions {
    margin-top: 1.75rem;
    display: flex;
    gap: 0.75rem;
}

.lei-switch-warning-cancel,
.lei-switch-warning-switch {
    flex: 1 1 0;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
}

.lei-switch-warning-cancel {
    background: #ffffff;
    border-color: var(--color-border-grey);
    color: var(--color-text-primary);
}

.lei-switch-warning-cancel:hover {
    background: #f5f7fb;
}

.lei-switch-warning-switch {
    background: #e10600;
    color: #ffffff;
}

.lei-switch-warning-switch:hover {
    background: #bf0500;
}
