﻿/* ======================================================
   CDL TABLES – clean, light, admin-friendly
   ====================================================== */

.table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.95rem;
}

    /* Header */
    .table thead th {
        background: transparent;
        color: #b08a4a; /* CDL Gold */
        font-weight: 600;
        border-bottom: 2px solid rgba(176, 138, 74, 0.35);
        padding: 0.75rem 0.75rem;
        white-space: nowrap;
    }

    /* Body rows */
    .table tbody tr {
        background: #ffffff;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    }

    /* Cell spacing */
    .table tbody td {
        padding: 0.75rem 0.75rem;
        border-top: 1px solid rgba(0,0,0,0.04);
        vertical-align: middle;
    }

    /* Rounded rows */
    .table tbody tr td:first-child {
        border-top-left-radius: 10px;
        border-bottom-left-radius: 10px;
    }

    .table tbody tr td:last-child {
        border-top-right-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    /* Hover */
    .table tbody tr:hover {
        background: rgba(176, 138, 74, 0.04);
    }

    /* Status Badges */
    .table .badge {
        font-size: 0.75rem;
        padding: 0.35em 0.6em;
        border-radius: 999px;
    }

    /* Action buttons */
    .table .btn {
        padding: 0.25rem 0.5rem;
    }

/* Dark tables fallback (if any module forces dark bg) */
.table-dark {
    background: transparent;
}


/* ======================================================
   CDL TABLE BADGES
   ====================================================== */

.badge-optin.is-yes,
.badge-status.is-confirmed {
    background: rgba(60, 160, 90, 0.15);
    color: #2f7d4a;
}

.badge-optin.is-no,
.badge-status.is-pending {
    background: rgba(220, 160, 60, 0.18);
    color: #9a6b12;
}

.badge {
    font-weight: 600;
}
cd