/* CGCosmos Safety Guard — Frontend Styles */

/* ── Flag button ──────────────────────────────────────────── */
.cgsg-flag-btn {
    background: none;
    border: none;
    color: #71717A;
    cursor: pointer;
    padding: 3px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    transition: all 0.15s ease;
    vertical-align: middle;
}
.cgsg-flag-btn:hover {
    color: #EF4444;
    background: rgba(239, 68, 68, 0.08);
}
.cgsg-flag-btn.cgsg-flagging {
    opacity: 0.5;
    pointer-events: none;
}
.cgsg-flag-btn.cgsg-flagged {
    color: #EF4444;
    cursor: default;
}
.cgsg-flag-btn.cgsg-flagged:hover {
    background: none;
}

/* ── Strike badge on profiles ─────────────────────────────── */
.cgsg-strike-badge {
    display: inline-block;
    background: rgba(239, 68, 68, 0.12);
    color: #EF4444;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid rgba(239, 68, 68, 0.2);
    margin-left: 6px;
    vertical-align: middle;
}

/* ── Toast notification ───────────────────────────────────── */
.cgsg-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: #18181B;
    color: #E4E4E7;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}
.cgsg-toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
