.crf-notice {
    padding: 14px 18px;
    margin-bottom: 24px;
    border-radius: 4px;
    font-weight: 500;
}

.crf-notice--error {
    background: #fdecea;
    border-left: 4px solid #e2401c;
    color: #611a15;
}

.crf-notice--success {
    background: #edf7ed;
    border-left: 4px solid #094952;
    color: #1e4620;
}

/* Container */
.crf-container {
    max-width: 1300px;
    margin: 40px auto;
}

/* 3 kolommen */
.crf-form {
    display: flex;
    gap: 30px;
}

.crf-column {
    flex: 1;
    background: #f6f6f6;
    padding: 25px;
    border-radius: 8px;
}

/* Inputs */
.crf-column input[type="text"],
.crf-column input[type="email"],
.crf-column input[type="password"],
.crf-column select {
    width: 100%;
    padding: 12px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    margin-bottom: 12px;
    font-size: 15px;
}

/* Button */
.crf-button {
    background: #094952;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 30px;
    font-size: 17px;
    cursor: pointer;
    transition: 0.2s;
}

.crf-button:hover {
    background: #166772;
}

/* Headings */
.crf-column h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 16px !important;
    font-weight: 700 !important;
}

/* Radio's */
.crf-column p label {
    margin-right: 15px;
}

/* Zakelijk extra velden spacing */
.zakelijk-fields {
    margin-bottom: 25px;
}

@media (max-width: 980px) {
    .crf-container {
        padding: 0px;
    }

    .crf-form {
        flex-direction: column;
        gap: 20px;
    }

    .crf-column {
        width: 100%;
    }
}

.crf-container .woocommerce-error,
.crf-container .woocommerce-message,
.crf-container .woocommerce-info {
    margin: 0 0 24px 0;
    padding: 14px 18px;
    border: 1px solid;
    list-style: none;
}

.crf-container .woocommerce-error {
    background: #f8e3df;
    border-color: #b65b4c;
    color: #6f2d22;
}

.crf-container .woocommerce-message {
    background: #e7f0df;
    border-color: #6d8b4f;
    color: #3e5a2b;
}

.crf-container .woocommerce-info {
    background: #e8f1f8;
    border-color: #5b7ea4;
    color: #23466a;
}

.crf-container .woocommerce-error::before,
.crf-container .woocommerce-message::before,
.crf-container .woocommerce-info::before {
    display: none !important;
}

.crf-container .woocommerce-notices-wrapper:empty {
    display: none;
}

/* ===========================================
   CRF POPUP
   =========================================== */

.crf-popup {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647 !important;
}

.crf-popup__overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.45) !important;
    z-index: 2147483646 !important;
}

.crf-popup__box {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: calc(100% - 40px) !important;
    max-width: 560px !important;
    margin: 0 !important;
    background: #fff !important;
    border: 1px solid #094952 !important;
    padding: 30px !important;
    z-index: 2147483647 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
    box-sizing: border-box !important;
}

.crf-popup__close {
    position: absolute !important;
    top: 10px !important;
    right: 12px !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 28px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    color: #094952 !important;
    z-index: 2 !important;
}

.crf-popup__content {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
    padding-right: 20px;
}

.crf-popup__content--error {
    color: #000;
}

.crf-popup__content--success {
    color: #094952;
}

body.crf-popup-open {
    overflow: hidden;
}

/* ===========================================
   BUTTON LOADING STATE
   =========================================== */

.crf-button.is-loading,
.crf-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 767px) {
    .crf-popup__box {
        width: calc(100% - 30px) !important;
        padding: 24px !important;
    }
}

.crf-form input[type="text"],
.crf-form input[type="email"],
.crf-form input[type="password"],
.crf-form textarea {
    margin-top: 0 !important;
}

/* Checkbox factuuradres */
.crf-checkbox-row {
    margin: 15px 0 20px;
}

.crf-checkbox-row label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.crf-checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #094952;
    cursor: pointer;
    flex: 0 0 auto;
}

.crf-billing-address-fields {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #dcdcdc;
}