/* e-Signature Core — styles des messages et boutons du shortcode [regis_form] (ex-style.css du thème). */
.vow-notice {
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    border-left: 4px solid transparent;
}
.vow-notice--error {
    background-color: #fef2f2;
    border-left-color: #dc2626;
    color: #991b1b;
}
.vow-notice--success {
    background-color: #f0fdf4;
    border-left-color: #16a34a;
    color: #166534;
}
.vow-btn-delete {
    background-color: #dc2626;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
}
.vow-btn-delete:hover {
    background-color: #b91c1c;
}

/* 1.2.6 : messages des pages publiques (esig_notice) */
.esig-notice {
    --esig-accent: #dc2626;
    --esig-bg: #fef2f2;
    --esig-text: #7f1d1d;
    box-sizing: border-box;
    max-width: 640px;
    margin: 40px auto;
    padding: 32px 28px;
    text-align: center;
    background: var(--esig-bg);
    border: 1px solid color-mix(in srgb, var(--esig-accent) 25%, transparent);
    border-top: 4px solid var(--esig-accent);
    border-radius: 10px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
    color: var(--esig-text);
}
.esig-notice--warning { --esig-accent: #d97706; --esig-bg: #fffbeb; --esig-text: #78350f; }
.esig-notice--info    { --esig-accent: #2563eb; --esig-bg: #eff6ff; --esig-text: #1e3a8a; }
.esig-notice--success { --esig-accent: #16a34a; --esig-bg: #f0fdf4; --esig-text: #14532d; }
.esig-notice__icon {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--esig-accent);
}
.esig-notice__text {
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 500;
}
.esig-notice__actions {
    margin: 22px 0 0;
}
.esig-notice__btn,
.esig-notice__btn:visited {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 6px;
    background: var(--esig-accent);
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    transition: filter .15s ease;
}
.esig-notice__btn:hover,
.esig-notice__btn:focus { filter: brightness(0.9); }
@media (max-width: 600px) {
    .esig-notice { margin: 24px 16px; padding: 24px 18px; }
    .esig-notice__text { font-size: 16px; }
}
