@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@700&family=Nunito:wght@400&display=swap');
:root {
    --bg-general: #fff2d3;
    --bg-blocks: #F4F5F7;
    --bg-header: #ffe7b0;
    --border: #C8F0E0;
    --text-heading: #111827;
    --text-body: #4B5563;
    --color-primary: #2563EB;
    --color-secondary: #7C3AED;
    --alert-bg: #ff4b4b;
    --color-success: #10B981;
    --color-error: #EF4444;
    --font-heading: 'Quicksand', sans-serif;
    --font-body: 'Nunito', sans-serif;
}
.dark {
    --bg-general: #121212;
    --bg-blocks: #1E1E1E;
    --bg-header: #312f5e;
    --border: #8A8A9A;
    --text-heading: #F9FAFB;
    --text-body: #adadad;
    --color-primary: #3B82F6;
    --color-secondary: #8B5CF6;
    --alert-bg: #750000;
    --color-success: #10B981;
    --color-error: #EF4444;
}
h1, h2, h3, h4, h5, h6,
.fi-header-heading, .fi-modal-heading, .fi-section-header-heading {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    color: var(--text-heading);
}
body, .fi-body, .fi-input, .fi-btn, p, span, label, td, th {
    font-family: var(--font-body) !important;
    font-weight: 400;
}
body {
    background-color: var(--bg-general);
    color: var(--text-body);
}

/* Tailwind force les images en display:block par defaut (Preflight), ce qui empeche
   le centrage via text-align sur le paragraphe parent (comportement de l'editeur riche). */
.prose img {
    display: inline-block;
}

/* Filigrane diagonal pour les photos en attente de moderation */
.watermark-pending {
    position: relative;
    display: block;
}
.watermark-pending::after {
    content: 'En attente de moderation';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 4px 16px;
    font-size: 0.7rem;
    font-weight: bold;
    white-space: nowrap;
    border-radius: 4px;
    pointer-events: none;
}