.messages,
.acf-notice {
    padding: 10px;
    border: 0;
    border-radius: var(--wp--custom--border-radius--small);
    font-size: var(--wp--preset--font-size--small);
}

.messages--error,
.acf-notice.-error {
    background: var(--wp--custom--color--error-bg);
    color: var(--wp--custom--color--error);
}

.messages--success,
.acf-notice.-success {
    background: var(--wp--custom--color--success-bg);
    color: var(--wp--custom--color--success);
}

.messages--warning,
.acf-notice.-warning {
    background: var(--wp--custom--color--warning-bg);
    color: var(--wp--custom--color--warning);
}

.messages--info,
.acf-notice.-info {
    background: var(--wp--custom--color--info-bg);
    color: var(--wp--custom--color--info);
}

.messages p,
.acf-notice p {
    margin: 0;
    line-height: var(--wp--custom--line-heigt--body);
    font-size: var(--wp--preset--font-size--small);
}

.messages > *:not(:first-child) {
    margin-top: 1em;
}

.acf-notice {
    margin: 6px 0 0;
}