﻿.cbf-credit-card {

}

.cbf-credit-card .content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
}

.cbf-credit-card h2 {
    margin: 0 !important;
}

.cbf-credit-card input[required].has-error,
.cbf-credit-card .has-error {
    border-color: red !important;
}


.cbf-credit-card .form-group label {
    display: flex;
    flex-direction: row;
    gap: 5px;
    align-items: flex-start;
}

.cbf-credit-card .form-group label:has(+input:required):after {
    content: '*';
    display: block;
}

@media (min-width: 800px) {

    .cbf-credit-card .content {
        padding-inline: 0;
    }

}