/* CTD Table Styling */
.ctd-modules {
    background: #ffffff;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: none;
    padding: 10px 15px 0 15px;
    margin-top: 20px;
}

.ctd-modules .nav-item {
    margin-right: 5px;
}

.ctd-modules button {
    color: #495057;
    background: transparent;
    border: none;
    border-radius: 8px 8px 0 0;
    padding: 12px 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.ctd-modules button:hover {
    background: #f8f9fa;
    color: #0066cc;
}

.ctd-modules button.active {
    background: #0066cc;
    color: #ffffff;
}

.tab-content {
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

.tab-pane {
    padding: 20px;
}

/* Table Styling */
.filterable-table {
    font-size: 0.9rem;
    border-collapse: separate;
    border-spacing: 0;
}

.filterable-table thead th {
    background: #f8f9fa;
    color: #003366;
    font-weight: 600;
    padding: 12px;
    border: 1px solid #dee2e6;
    font-size: 0.85rem;
}

.filterable-table tbody tr {
    transition: background-color 0.2s ease;
}

.filterable-table tbody tr:hover {
    background-color: #f8f9fa;
}

.filterable-table tbody td {
    padding: 10px 12px;
    border: 1px solid #dee2e6;
    vertical-align: middle;
}

.filterable-table tbody td a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
}

.filterable-table tbody td a:hover {
    color: #0066cc;
    text-decoration: none;
}

/* Status badges */
.filterable-table .Yes {
    color: #28a745;
    font-weight: 600;
}

.filterable-table .Maybe {
    color: #ffc107;
    font-weight: 600;
    font-size: 1.2rem;
}

.filterable-table .No {
    color: #dc3545;
    font-weight: 600;
}

/* Sticky headers */
.sticky-header {
    position: sticky;
    background-color: #f8f9fa;
    z-index: 2;
    white-space: nowrap;
    font-weight: 600;
}

.sticky-top-row {
    top: 0;
    z-index: 3;
    background-color: #e9ecef;
}

.sticky-second-row {
    top: 40px;
}


/* .table-responsive {*/
/*     max-height: 300px; !* or any height you want *!*/
/*     overflow-y: auto;*/
/* }*/

/*thead th {*/
/*    position: sticky;*/
/*    top: 0;*/
/*    background-color: #fff; !* Required to avoid see-through headers *!*/
/*    z-index: 1;*/
/*}*/

/* Tooltip icon styling - prevent overlap */
.filterable-table tbody td sup {
    margin-left: 5px;
    line-height: 1;
    vertical-align: super;
    position: relative;
    top: -0.3em;
}

.filterable-table tbody td sup span[data-toggle="tooltip"] {
    display: inline-block;
    cursor: help;
    font-size: 0.85rem;
    white-space: nowrap;
}

.filterable-table tbody td sup .fa-circle-info {
    vertical-align: middle;
}

/* Resource list styling */
.resource-list {
    list-style-type: disc;
    margin: 0;
    padding-left: 18px;
}

.resource-list li {
    padding: 2px 0;
}

