#card-payment-section.hide,
#credit-card-form.hide {
    display: none !important;
}

.newCard .enterDetails .req {
    color: #e11f26;
    font-weight: 600;
    margin-left: 2px;
}

.newCard .enterDetails .checkout-cko-fbox {
    position: relative;
}

.newCard .enterDetails .checkout-cko-fbox > .label {
    z-index: 2;
    pointer-events: none;
}

.newCard .enterDetails .checkout-cko-fbox .frame-container {
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    background: #f5f7f8;
    border-radius: 5px;
    border: solid 1px #d7d8db;
    width: 100%;
    height: 56px;
    padding: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

@media only screen and (min-width: 1200px) {
    .newCard .enterDetails .checkout-cko-fbox .frame-container {
        height: 62px;
    }
}

.newCard .enterDetails .checkout-cko-fbox .frame-container iframe {
    position: absolute;
    left: 12px;
    right: 12px;
    top: 24px;
    bottom: 10px;
    width: auto !important;
    height: auto !important;
    border: 0;
}

.newCard .enterDetails .checkout-cko-fbox .frame-container.is-focus ~ .label,
.newCard .enterDetails .checkout-cko-fbox.has-card-input .label {
    transform: translateY(-6px) scale(0.65);
    transition: 0.3s ease-in;
    color: #484848;
}

html[dir="rtl"] .newCard .enterDetails .checkout-cko-fbox.has-card-input .label {
    transform-origin: right center;
}

html[dir="rtl"] .newCard .enterDetails .checkout-cko-fbox.cardNumber .frame-container iframe {
    direction: ltr;
    text-align: right;
}

.newCard .enterDetails .checkout-cko-fbox .frame-container.is-valid {
    border-color: #8ab22e;
}

.newCard .enterDetails .checkout-cko-fbox .frame-container.is-invalid {
    border-color: #e11f26;
    background: #fdf2f3;
}

.newCard .enterDetails .checkout-cko-fbox .frame-container.is-focus {
    border-color: #0072d3;
    box-shadow: 0 0 0 1px rgba(0, 114, 211, 0.15);
    outline: none;
}

.enterDetails .cvvBox.checkout-cko-fbox .frame-container {
    width: 100%;
}

.newCard .enterDetails .cvvBox.checkout-cko-fbox::after {
    top: 50%;
    transform: translateY(-50%);
}

#checkout-status-message {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 5px;
    font-size: 14px;
    font-family: "newmeta", arial, sans-serif;
    max-width: 420px;
}

#checkout-status-message.success {
    background: #e8f5e9;
    color: #1b5e20;
    border: solid 1px #c8e6c9;
    display: block;
}

#checkout-status-message.error {
    background: #fdf2f3;
    color: #c62828;
    border: solid 1px #ffcdd2;
    display: block;
}
