.tpay-animated {
    transition: all 0.2s cubic-bezier(0.335, 0.01, 0.03, 1.36)
}

.tpay-animated-fast {
    -webkit-animation-duration: .3s;
    animation-duration: .3s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

@keyframes tpayFadeIn {
    0% {
        opacity: 0;
        visibility: hidden
    }

    to {
        opacity: 1;
        visibility: visible
    }
}

@keyframes tpayFadeIn {
    0% {
        opacity: 0;
        visibility: hidden
    }

    to {
        opacity: 1;
        visibility: visible
    }
}

.tpay-fadeIn {
    -webkit-animation-name: tpayFadeIn;
    animation-name: tpayFadeIn;
    display: block
}

@keyframes tpayFadeOut {
    0% {
        opacity: 1;
        visibility: visible
    }

    to {
        opacity: 0;
        visibility: hidden
    }
}

@keyframes tpayFadeOut {
    0% {
        opacity: 1;
        visibility: visible
    }

    to {
        opacity: 0;
        visibility: hidden
    }
}

.tpay-fadeOut {
    -webkit-animation-name: tpayFadeOut;
    animation-name: tpayFadeOut;
    display: none
}

.tpay-preload {
    position: relative
}

.tpay-preload__inner {
    margin-top: 0.7rem;
    display: flex
}

.tpay-preload__content {
    margin-left: 12px;
    font-size: 0.7rem
}

.tpay-preload__loader {
    position: relative;
    width: 20px
}

.tpay-preload__loader:before {
    content: '';
    display: block
}

.tpay-preload__circular {
    animation: rotate 2s linear infinite;
    height: 100%;
    transform-origin: center center;
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto
}

.tpay-preload__path {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
    stroke-linecap: round
}

@keyframes rotate {
    100% {
        transform: rotate(360deg)
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0
    }

    50% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -35px
    }

    100% {
        stroke-dasharray: 89, 200;
        stroke-dashoffset: -124px
    }
}

@keyframes color {

    100%,
    0% {
        stroke: #71e496
    }

    50% {
        stroke: #2953c5
    }

    80%,
    90% {
        stroke: #1c2f77
    }
}

.tpay-payment-gateways {
    display: grid;
}

.tpay-payment-gateways--grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-gap: 10px;
}

.tpay-payment-gateways__item img {
    width: 100%;
    height: 50px;
    flex: 0 0 50px;
    margin-bottom: 10px;
    object-fit: scale-down;
    object-position: center;
}

.tpay-payment-gateways__item {
    margin: 0 !important;
    padding: 0 !important;
}

.tpay-payment-gateways__item.installments img {
    height: 55px
}

.tpay-payment-gateways__item.installments .tpay-payment-gateways__item-inner {
    padding: 12px 10px
}

.tpay-payment-gateways__item span {
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #211f50
}

.tpay-payment-gateways__item:hover .tpay-payment-gateways__item-inner,
.tpay-payment-gateways__item--active .tpay-payment-gateways__item-inner {
    border-color: #7d5de2;
}

.tpay-payment-gateways__item-inner {
    width: 100%;
    border: 1px solid #fff;
    background-color: #fff;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    padding: 10px;
    height: 100%;
    cursor: pointer;
    border-radius: 15px;
}

.tpay-blik {
    padding-top: 10px;
    box-sizing: border-box;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 300;
    max-width: 220px;
    position: relative
}

.tpay-blik .tpay-input-label {
    display: block;
    margin: 0 auto 7px;
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 600;
    color: #2c2c2c
}

.tpay-blik input::placeholder {
    color: #3c3c3c
}

.tpay-blik input {
    outline: none;
    background-color: #ffffff;
    height: 40px;
    line-height: 30px;
    padding: 0 10px;
    letter-spacing: 5px;
    width: 100%;
    color: #2c2c2c;
    text-align: center;
    font-size: 17px;
    font-weight: 500;
    box-sizing: border-box;
    border-radius: 6px;
    font-family: lato, 'helvetica-light', 'sans-serif';
    border: 1px solid #e7e7e7
}

.tpay-blik input.success {
    border: 1px solid #00c062
}

.tpay-blik input .btn {
    width: 100%
}

#tpay-blik-submit {
    margin-top: 20px;
    max-width: 220px;
    width: 100%;
    color: #ffffff;
    background-color: #24b9d7;
    border-color: rgba(0, 0, 0, 0)
}

#tpay-blik-submit.disabled,
#tpay-blik-submit:disabled {
    cursor: pointer;
    opacity: 1
}

.tpay-blik-response {
    display: none;
    transition: all 0.4s cubic-bezier(0.335, 0.01, 0.03, 1.36);
    -webkit-animation-name: tpayFadeOut;
    animation-name: tpayFadeOut
}

.tpay-blik-response--open {
    -webkit-animation-name: tpayFadeIn;
    animation-name: tpayFadeIn;
    display: block;
    transition: all 0.4s cubic-bezier(0.335, 0.01, 0.03, 1.36)
}

.tpay-account-cards {
    margin-bottom: 1.875rem;
    font-size: .875rem;
    color: #232323;
    background: #fff
}

.tpay-account-cards__body {
    padding: 1rem
}

.tpay-account-cards__footer {
    padding: 0.5rem 1rem;
    border-top: 1px solid #f6f6f6
}

#card-number {
    width: 100%
}

#exp-container {
    padding-left: 10px;
    padding-right: 10px;
    width: 50%
}

#card-exp {
    width: 150px
}

#card-cvc {
    width: 100px
}

.tpay-card {
    position: relative;
    background: #f6f6f6;
    width: 390px;
    height: 210px;
    border-radius: 6px;
    padding: 25px 20px 0;
    box-sizing: border-box;
    font-size: 10px;
    letter-spacing: 1px;
    font-weight: 300;
    margin-bottom: 10px
}

.tpay-card__wrap {
    display: flex;
    justify-content: space-between;
    margin-left: -10px;
    margin-right: -10px
}

.tpay-card label {
    display: block;
    margin: 0 auto 7px;
    font-size: 11px;
    font-weight: 600;
    color: #2c2c2c
}

.tpay-card input::placeholder {
    color: #3c3c3c
}

.tpay-card input {
    outline: none;
    background-color: #ffffff;
    line-height: 30px;
    padding: 3px 12px;
    margin: 0 0 25px;
    color: #2c2c2c;
    font-size: 15px;
    font-weight: 400;
    box-sizing: border-box;
    font-family: lato, 'helvetica-light', 'sans-serif';
    letter-spacing: .7px;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    width: 100%
}

.tpay-card input.wrong {
    border: 1px solid red
}

.tpay-card__save {
    display: flex;
    align-items: center
}

.tpay-card__save label {
    margin-left: 10px;
    margin-bottom: 0
}

.tpay-cards__item {
    padding-bottom: 12px;
    padding-right: 15px;
    padding-left: 15px
}

.tpay-cards__item-inner {
    display: flex;
    align-content: center;
    margin: 0;
    padding: 12px 15px;
    height: 100%;
    border: 1px solid #DDDDDD;
    border-radius: 3px;
    cursor: pointer
}

.tpay-cards__item-inner:hover {
    box-shadow: 0 0 20px #C9CCE7;
    transition: box-shadow 125ms ease-out;
    -webkit-transition: box-shadow 125ms ease-out;
    -moz-transition: box-shadow 125ms ease-out;
    -o-transition: box-shadow 125ms ease-out
}

.tpay-cards__item label {
    font-weight: 700;
    text-align: left;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer
}

.tpay-cards__item p {
    font-size: 0.70rem;
    padding: 0;
    margin: 0;
    line-height: 1
}

.tpay-cards__item input:checked+label {
    border-bottom: 2px solid #56df83 !important
}

.tpay-wrapper {
    position: relative
}

.tpay-wrapper .custom-checkbox span.wrong {
    border: 1px solid #ff3860
}

.tpay-wrapper .wrong {
    border: 1px solid #ff3860
}

.tpay-regulations {
    padding: 0.9rem 0 0.5rem
}

.tpay-regulations__content {
    margin-bottom: 0.6rem;
    font-size: 13px
}

.tpay-widget-wrap {
    padding: 16px 0;
    margin-bottom: 16px
}

.tpay-label-info {
    display: flex !important;
    align-items: center
}

.tpay-label-info img {
    width: 12px;
    opacity: 0.5;
    margin-left: 10px
}

#info_msg_not_valid,
.tpay-blik-response {
    margin-top: .7rem;
    color: #232323;
    font-size: .7rem
}

.tpay-logo--small {
    position: absolute;
    right: 20px;
    top: 20px
}

body#checkout .additional-information {
    margin-left: 0
}

.tpay-radio-payments--blik {
    max-width: 350px
}

.tpay-radio-payments__radio {
    display: flex;
    align-content: center;
    margin: 0;
    position: relative;
    padding: 12px 15px;
    height: 100%;
    border: 1px solid #DDDDDD;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.335, 0.01, 0.03, 1.36)
}

.tpay-radio-payments__radio .tpay-logo--small {
    display: none
}

.tpay-radio-payments__radio:hover {
    border-color: #267DBE;
    transition: all 0.3s cubic-bezier(0.335, 0.01, 0.03, 1.36)
}

.tpay-radio-payments__radio--active {
    border-color: #267DBE
}

.tpay-radio-payments__radio--active .tpay-logo--small {
    display: block
}

.tpay-radio-payments__radio--active .tpay-radio-payments__description {
    display: block;
    transition: all 0.4s cubic-bezier(0.335, 0.01, 0.03, 1.36);
    height: auto
}

.tpay-radio-payments__description {
    display: none;
    height: 0;
    margin-top: 12px;
    transition: all 0.4s cubic-bezier(0.335, 0.01, 0.03, 1.36);
    margin-bottom: 20px
}

.tpay-radio-payments__item {
    padding-bottom: 12px
}

.tpay-radio-payments__item label {
    font-weight: 700;
    text-align: left;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer
}

.tpay-radio-payments__item p {
    font-size: 0.70rem;
    padding: 0;
    margin: 0;
    line-height: 1
}

#tpay-blik-form #payment-confirmation,
#card_payment_form #payment-confirmation {
    display: none !important
}

.tpay-error {
    color: #ff3860;
    font-size: 12px;
    font-weight: 500;
    padding: 10px 0;
    display: block
}

body.tpay-hide-process-btn #payment-confirmation {
    display: none !important
}

.installments-iframe {
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
    overflow: hidden
}

.installments-iframe-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0;
    border-radius: 8px;
    overflow: hidden
}

.installments-button {
    box-sizing: border-box;
    font-family: sans-serif;
    display: flex;
    margin: 8px 0;
    flex-direction: column;
    gap: 1px;
    padding: 8px 32px;
    background: #ffffff;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    line-height: 15.6px;
    font-size: 13px;
    transition: background-color 0.25s ease
}

.installments-button:hover {
    background: #eeeeee
}

.installments-button img {
    max-width: 114px
}