/* Modern Table Design */
.modern-table-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 0;
    overflow: hidden;
    border: 1px solid #eaeaea;
    margin-bottom: 2rem;
}

.table-custom {
    margin-bottom: 0 !important;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.table-custom thead {
    background: #048454;
    /* Primary green from theme */
    background: linear-gradient(45deg, #048454, #06a066);
    color: #ffffff;
}

.table-custom thead tr th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 16px;
    border-bottom: none;
    vertical-align: middle;
    color: #fff;
    border: 0;
}

/* Rounded corners for header */
/* .table-custom thead th:first-child { border-top-left-radius: 12px; } */
/* .table-custom thead th:last-child { border-top-right-radius: 12px; } */

.table-custom tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid #f2f2f2;
}

.table-custom tbody tr:hover {
    background-color: #f8fffc;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    /* Stronger shadow on hover */
    position: relative;
    z-index: 1;
}

.table-custom tbody td {
    padding: 16px;
    vertical-align: middle;
    color: #333;
    font-size: 0.95rem;
    border-bottom: 1px solid #f2f2f2;
}

.table-custom tbody tr:last-child td {
    border-bottom: none;
}

/* Link/Icon Styling */
.table-custom .pdf-icon {
    transition: transform 0.2s;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

.table-custom a:hover .pdf-icon {
    transform: scale(1.2);
}

/* Badge/Resolution styling if strictly text */
.badge-resolution {
    background-color: #e8f5e9;
    color: #1b5e20;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modern-table-container {
        border-radius: 8px;
    }

    .table-custom thead {
        display: none;
        /* Often tables on mobile convert to cards, but sticking to scroll for now */
    }

    /* Assuming simple scroll for now as table-responsive handles it */
}