div.mfeedback {}
div.mf-name, div.mf-email, div.mf-captcha, div.mf-message {width:80%; padding-bottom:0.4em;}
div.mf-name input, div.mf-email input {width:60%;}
div.mf-message textarea {width: 60%;}
span.mf-req {color:red;}
div.mf-ok-text {color:green; font-weight:bold; padding-bottom: 1em;}

/* ── CBC Toast ── */
.cbc-toast {
    position: fixed;
    top: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 300px;
    max-width: 380px;
    padding: 18px 20px;
    border-radius: 6px;
    background: #fff;
    border-left: 4px solid #9e5b16;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .14), 0 2px 8px rgba(0, 0, 0, .08);
    color: #2c1a0e;
    animation: cbcToastIn .35s cubic-bezier(.22,.68,0,1.2) both;
}

.cbc-toast--out {
    animation: cbcToastOut .38s ease forwards;
}

.cbc-toast--error {
    border-left-color: #c93c37;
    color: #441917;
}

@keyframes cbcToastIn {
    from { opacity: 0; transform: translateY(-18px) scale(.97); }
    to   { opacity: 1; transform: translateY(0)   scale(1); }
}

@keyframes cbcToastOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-12px); }
}

.cbc-toast__icon {
    flex-shrink: 0;
    margin-top: 1px;
    color: #9e5b16;
    line-height: 1;
}

.cbc-toast__body {
    flex: 1;
}

.cbc-toast__messages {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cbc-toast__title {
    margin: 0 0 3px;
    font-size: 14px;
    font-weight: 700;
    color: #9e5b16;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cbc-toast__message {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #4a3728;
}

.cbc-toast__close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-top: -2px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #9e8070;
    cursor: pointer;
    transition: background .18s, color .18s;
}

.cbc-toast__close:hover {
    background: rgba(158, 91, 22, .1);
    color: #9e5b16;
}

.cbc-toast--error .cbc-toast__icon,
.cbc-toast--error .cbc-toast__title {
    color: #c93c37;
}

.cbc-toast--error .cbc-toast__message {
    color: #653432;
}

.cbc-toast--error .cbc-toast__close {
    color: #b07976;
}

.cbc-toast--error .cbc-toast__close:hover {
    background: rgba(201, 60, 55, .1);
    color: #c93c37;
}

.cbc-field-error {
    display: none;
    font-size: 12px;
    line-height: 1.3;
    color: #dc3545;
}

.cbc-field-error:not(:empty) {
    display: block;
    margin-top: 6px;
}

.cbc-recaptcha-col {
    margin-top: 4px;
    margin-bottom: 2px;
}

/*.cbc-submit-col {*/
/*    margin-top: 6px;*/
/*}*/

.cbc-recaptcha-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cbc-recaptcha-wrap .cbc-field-error:not(:empty) {
    margin-top: 0;
}

.form-input.is-invalid {
    border-color: #dc3545;
}

@media (max-width: 767.98px) {
    .cbc-toast {
        top: auto;
        right: 14px;
        bottom: 14px;
        left: 14px;
        min-width: 0;
        max-width: none;
    }
}
