/**
 * content-card.css
 * Card component for tables and content sections.
 *
 * Use dashboard-card.css  → for KPI metric cards (numbers, counts, _snaps partials)
 * Use content-card → for table wrappers and content sections
 */

.content-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.content-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}

.content-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff1f2;
    color: var(--sg-red, #c41e3a);
    border: 1px solid #ffe4e6;
    flex-shrink: 0;
    transition: background 0.3s ease, color 0.3s ease;
}

.content-card-icon svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.content-card-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #64748b;
}

.content-card-body {
    /* Intentionally plain — no flex tricks. Renders content at natural height. */
}
