tr {
    cursor: pointer;
}
.expandedRow {
    background-color: var(--color-bg-secondary);
    border-radius: 0.25rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

/* Ensure expanded row doesn't inherit hover effects from tbody tr:hover */
.expandedRow:hover {
    filter: none !important;
    background-color: var(--color-bg-secondary) !important;
    border: none !important;
}

.expandedRow:hover td {
    filter: none !important;
    border: none !important;
}

div.expandedContent {
    margin: 0 32px;
    border: 1px solid #6c757d;
    flex-direction: row;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
div.detailCard {
    margin: 16px;
    width: 640px;
}
.detailCardTitle {
    font-size: var(--font-size-xxl);
    font-weight: bold;
    color: var(--color-text);
    margin-bottom: 8px;
}
.detailList {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
}
.detailListItem {
    margin: 4px;
}
.detailListItem strong {
    vertical-align: bottom;
    text-align: right;
    color: var(--color-text-highlight);
    font-weight: bold;
    width:128px;
    display: inline-block;
}
.cdnAnalysisCard {
    overflow: scroll;
}
.debugTitle {
    color: var(--color-text-highlight);
    font-size: var(--font-size-xxl);
}
.headerLine {
    font-family: monospace var(--font-family-mono);
}
.headerName {
    font-size: var(--font-size-lg);
    font-weight: bold;
    color: var(--color-text-highlight);
    margin-bottom: 8px;
}
div.fullWidth {
    width: 100%;
    padding: 16px;
}

/* Headers container for better layout */
.headersContainer {
    font-family: var(--font-family-mono);
    max-height: 400px;
    overflow-y: auto;
    background-color: var(--color-bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
}

.headerItem {
    display: grid;
    grid-template-columns: minmax(200px, max-content) 1fr;
    gap: var(--spacing-md);
    margin-bottom: 4px;
    font-family: var(--font-family-mono);
    font-size: var(--font-size-base);
}

.headerItemName {
    font-weight: bold;
    color: var(--color-primary);
    white-space: nowrap;
    text-align: right;
    padding-right: var(--spacing-xs);
}

.headerItemValue {
    color: var(--color-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: help;
    word-break: break-all;
}

/* Override status classes to only use foreground colors, not background colors */
.detailListItem.success,
.detailListItem.warning, 
.detailListItem.danger,
.timingHighlighted.success,
.timingHighlighted.warning,
.timingHighlighted.danger {
    background-color: transparent !important;
}

/* Ensure status colors are applied only to text */
.detailListItem.success,
.timingHighlighted.success {
    color: var(--color-success) !important;
}

.detailListItem.warning,
.timingHighlighted.warning {
    color: var(--color-warning) !important;
}

.detailListItem.danger,
.timingHighlighted.danger {
    color: var(--color-danger) !important;
}