.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.app-mctp-header {
    display: flex;
    align-items: center;
}

.app-mctp-header-left {
    display: flex;
}

.app-mctp-header .app-mctp-header-left {
    flex-grow: 1;
}

#app-mctp-loading-animation p, #mctp-skip-button p {
    white-space: normal;
}

.loader-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
}

.app-mctp-loader .loader-shield {
    width: 50px;
    height: 50px;
    background-size: 25px 28px;
    background-repeat: no-repeat;
    background-position: center;
    mix-blend-mode: multiply;
    position: absolute;
}

.app-mctp-loader .loader-spinner {
    width: 50px;
    height: 50px;
    position: absolute;
    animation: rotate 1s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.app-mctp-add .app-mctp-add-headertext {
    flex-grow: 1;
    margin-left: 10px;
    padding-left: 10px;
}

#mctp-brand-header {
    display: flex;
    margin-bottom: 20px;
}

.app-mctp-add .app-mctp-add-body {
    margin-top: 15px;
}

.app-mctp-add.collapsed .app-mctp-add-body {
    display: none;
}

.app-mctp-add #app-mctp-add-review .panel-body span {
    display: block;
}

.app-mctp-add #app-mctp-add-review .panel-body span#app-mctp-add-review-fullname {
    line-height: 25pt;
    font-weight: bold;
}

.app-mctp-add .px-checkbox {
    padding-left: 0 !important;
    margin-bottom: 0;
}

.app-mctp-add .px-checkbox input[type=checkbox] + .outer {
    position: relative;
}

.app-mctp-add .px-checkbox > div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.app-mctp-add .form-control {
    background: #f9f9f9; /** this color depends on the look and feel profile - needs do be changed during implementation by stefan burri*/
    margin-bottom: 5px;
}

.app-mctp-otp-codefields {
    display: flex;
    gap: 10px;
}

.app-mctp-otp-codefields input.form-control {
    border: 1px solid #ccc !important;
    border-radius: 3px;
    font-size: 20px;
    flex-basis: 40px;
    text-align: center;
    padding-left: 3px;
    padding-right: 3px;
}

.app-mctp-otp-codefields input::-webkit-outer-spin-button,
.app-mctp-otp-codefields input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.app-mctp-otp-codefields input[type=number] {
    -moz-appearance: textfield;
}

.app-mctp-otp-codesection {
    max-width: 280px;
    margin: 25px auto;
}

.app-mctp-otp-codesection label {
    font-weight: normal;
}

.app-mctp-otp-codefields.has-error {
    animation: shake 0.15s ease-in-out 0s 2;
}

.app-mctp-otp-codefields.has-error .form-control, .app-mctp-otp-codefields input:invalid {
    box-shadow: 0 0 0.6rem rgb(255 0 0 / 25%);
    border-color: #a94442 !important;
}

@keyframes shake {
    0% {
        margin-left: 0rem;
    }
    25% {
        margin-left: 0.5rem;
    }
    75% {
        margin-left: -0.5rem;
    }
    100% {
        margin-left: 0rem;
    }
}

.app-mctp-cards .list-group {
    margin-bottom: 5px;
}

.app-mctp-cards .list-group-item {
    display: flex;
    gap: 10px;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.app-mctp-cards .list-group-item.invalid-card {
    opacity: 0.4;
    cursor: not-allowed;
}

.app-mctp-cards.reduced-view .list-group-item:nth-child(1) {
    border-bottom-left-radius: 4.5px;
    border-bottom-right-radius: 4.5px;
}

.app-mctp-cards.reduced-view .list-group-item-only-expanded {
    display: none;
}

.app-mctp-cards.reduced-view #app-mctp-cards-show-less {
    display: none;
}

.app-mctp-cards:not(.reduced-view) #app-mctp-cards-show-more {
    display: none;
}

.app-mctp-cards .list-group-item:hover {
    /**
    there should only be a hover state when there are multiple cards available. Don't use the hover state when the user only has 1 card
     */
    box-shadow: 0 4px 15px 0 rgb(0 0 0 / 10%), 0 1px 3px 0 rgb(0 0 0 / 10%);
}

.app-mctp-cards .app-mctp-cards-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.app-mctp-cards .app-mctp-cards-details {
    display: flex;
    gap: 10px;
    line-height: 1.2;
    align-items: center;
}

.app-mctp-cards img {
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 56px;
    height: auto;
}

.app-mctp-cards input[type=radio] {
    margin: 0 !important;
    outline: none;
}

#app-px-supportedbrands {
    margin-top: 10px;
    margin-bottom: 15px;
    justify-content: center;
    display: flex;
    gap: 5px;
}

#app-px-supportedbrands img {
    border-radius: 3px;
    width: auto;
    height: 24px;
    display: none;
}

.app-px-brand-click2pay {
    border-right: 1px solid;
    padding-right: 5px;
    border-radius: 0 !important;
}

.app-mctp-link,
.app-mctp-link:hover,
.app-mctp-link :focus {
    cursor: pointer;
    color: #24363a;
    text-decoration: underline;
}

.app-mctp-switch .app-mctp-switch-footer {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    line-height: 1.2;
}

.app-mctp .popover, .app-mctp-add .popover {
    min-width: calc(100% - 30px);
    left: 15px !important;
}

.app-mctp .popover ul, .app-mctp-add .popover ul {
    padding-left: 15px;
}

.app-mctp .popover.bottom {
    margin-top: 5px !important;
}

#mctp-dcf-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#app-mctp-otp-wrong-code,
#app-mctp-otp-account-locked {
    text-align: center;
}

#app-mctp-otp-wrong-code small,
#app-mctp-otp-account-locked small {
    color: #a94442;
}