#mcForm {
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    padding-top: 2rem;
    padding-bottom: 2rem;
    padding-right: 6rem;
    padding-left: 6rem;
}

#mcForm .row {
    display: flex;
    width: 100%;
}

#mcForm label {
    color: #000000 !important;
    opacity: 0.9;
    font-size: 14px !important;
    padding-bottom: 7px !important;
    padding-top: 13px !important;
    padding-left: 0px !important;
    font-weight: 700 !important;
    display: block !important;
    text-align: left !important;
}

#mcForm .mollie-component {
    background: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 4px;
    padding: 8px;
    border: 1px solid #000000;

    transition: 0.15s border-color cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

#mcForm .mollie-component.has-focus {
    border-color: #000000;
    transition: 0.3s border-color cubic-bezier(0.4, 0, 0.2, 1);
}

#mcForm .mollie-component.is-invalid {
    border-color: #ff0000;
    transition: 0.3s border-color cubic-bezier(0.4, 0, 0.2, 1);
}

#mcForm .field-error {
    font-size: 12px;
    margin-top: 2px;
    color: #ff0000;
    font-weight: 400;
}

#mcForm #submit-button {
    width: 100%;
    border: 0;
    background: #7077b5;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);

    border-radius: 4px;
    padding: 10px;
    color: #ffffff;
    font-weight: 600;
    font-size: 18px;
    opacity: 0.9;
    outline: 0;
    transition-duration: 0.4s;
}
#mcForm #submit-button:hover {
    background: #000000;
}

#mcForm .form-fields {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#mcForm .form-group {
    width: 100%;
}

#mcForm .form-group--expiry-date {
    margin-right: 8px;
}

#mcForm .form-group--verification-code {
    margin-left: 8px;
}
/* Media query for mobile devices */
@media (max-width: 768px) {
    .new_customer_creditcard_form {
        padding: 2px;
    }
    #mcForm {
        padding: 2px;
    }
}

.new_customer_creditcard_form {
    width: 100%;
    background-color: white;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}
.new_customer_creditcard_form .row {
    display: flex;
    width: 100%;
}

.new_customer_creditcard_form label {
    color: #000000 !important;
    opacity: 0.9;
    font-size: 14px !important;
    padding-bottom: 7px !important;
    padding-top: 13px !important;
    padding-left: 0px !important;
    font-weight: 700 !important;
    display: block !important;
    text-align: left !important;
}
.new_customer_creditcard_form .mollie-component {
    background: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 4px;
    padding: 6px;
    border: 1px solid #ccc;

    transition: 0.15s border-color cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}
.new_customer_creditcard_form .mollie-component.has-focus {
    border-color: #000000;
    transition: 0.3s border-color cubic-bezier(0.4, 0, 0.2, 1);
}

.new_customer_creditcard_form .mollie-component.is-invalid {
    border-color: #ff0000;
    transition: 0.3s border-color cubic-bezier(0.4, 0, 0.2, 1);
}

.new_customer_creditcard_form .field-error {
    font-size: 12px;
    margin-top: 2px;
    color: #ff0000;
    font-weight: 400;
}

.new_customer_creditcard_form #submit-button {
    width: 100%;
    border: 0;
    background: #7077b5;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);

    border-radius: 4px;
    padding: 14px;
    color: #ffffff;
    font-weight: 600;
    font-size: 18px;
    opacity: 0.9;
    outline: 0;
    transition-duration: 0.4s;
}
.new_customer_creditcard_form #submit-button:hover {
    background: #000000;
}

.new_customer_creditcard_form .form-fields {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.new_customer_creditcard_form .form-group {
    width: 100%;
}

.new_customer_creditcard_form .form-group--expiry-date {
    margin-right: 8px;
}

.new_customer_creditcard_form .form-group--verification-code {
    margin-left: 8px;
}