/* LLOS Content Moderation — Warning Styles */

/* Block warning (red) — severity: block */
.mod-warning {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.4;
    margin: 6px 0;
    transition: opacity 0.2s ease;
}

.mod-warning.mod-visible {
    display: flex;
}

/* Block severity — red */
.mod-warning.mod-block {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #b91c1c;
}

/* Warn severity — amber (crude language) */
.mod-warning.mod-warn {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #92400e;
}

.mod-warning-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.mod-warning-text {
    flex: 1;
}

/* Generate button blocked state */
.send-btn.mod-blocked,
.generate-btn.mod-blocked,
[data-mod-blocked] {
    opacity: 0.35;
    pointer-events: none;
    cursor: not-allowed;
}

/* Dark theme variants (for tools on dark backgrounds) */
@media (prefers-color-scheme: dark) {
    .mod-warning.mod-block {
        background: rgba(239, 68, 68, 0.15);
        border-color: rgba(239, 68, 68, 0.4);
        color: #fca5a5;
    }
    .mod-warning.mod-warn {
        background: rgba(245, 158, 11, 0.15);
        border-color: rgba(245, 158, 11, 0.4);
        color: #fcd34d;
    }
}