/* CDC Table Modern Styles */
.rc-cdc-table-container {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.rc-cdc-table-header-info {
    margin-bottom: 2rem;
    text-align: center;
}

.rc-cdc-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.rc-cdc-subtitle {
    font-size: 1rem;
    color: #666;
}

.rc-cdc-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    background: #fff;
    border: 1px solid #eee;
}

.rc-cdc-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    margin-block-end: 0px;
}

/* Header Background and Font Color */
.rc-cdc-table thead th {
    background-color: #000;
    color: #fff !important;
    font-weight: 600;
    padding: 1.25rem 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid #333;
}

.rc-cdc-table tbody tr {
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f1f1f1;
}

.rc-cdc-table tbody tr:last-child {
    border-bottom: none;
}

.rc-cdc-table tbody tr:hover {
    background-color: #fcfcfc;
}

.rc-cdc-table tbody td {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
    color: #4a4a4a;
    vertical-align: top;
    line-height: 1.6;
}

.rc-cdc-table tbody tr:nth-child(odd) td {
    background-color: #e8fff187;
}

/* Specific Columns Styling - Targets only tbody cells for custom text colors */
.rc-cdc-table .col-sr {
    width: 80px;
    text-align: center;
}

.rc-cdc-table tbody .col-sr {
    color: #000;
    font-weight: 600;
}

.rc-cdc-table tbody .col-name {
    font-weight: 600;
    color: #000000;
}

.rc-cdc-table tbody .col-designation {
    font-weight: 500;
    color: #333;
}

.rc-list-item {
    margin-bottom: 0.75rem;
}

.rc-list-item:last-child {
    margin-bottom: 0;
}

/* Mobile Responsive - Keep Table Format */
@media (max-width: 768px) {
    .rc-cdc-title {
        font-size: 1.5rem;
    }

    .rc-cdc-table tbody td,
    .rc-cdc-table thead th {
        padding: 1rem 0.75rem;
        font-size: 0.9rem;
    }

    .rc-cdc-table .col-sr {
        width: 50px;
        padding: 1rem 0.5rem;
    }

    /* Ensure smooth scrolling on mobile */
    .rc-cdc-table-wrapper {
        -webkit-overflow-scrolling: touch;
    }

    .rc-cdc-table {
        min-width: 600px;
        /* Force minimum width to trigger scrolling if too narrow */
    }
}