/* Modal tables - Exam History & Conversation Summaries */
.modal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.modal-table thead tr {
    border-bottom: 1px solid rgba(229, 231, 235, 1);
}

.dark .modal-table thead tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-table th {
    padding: 8px 12px;
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    background: rgba(249, 250, 251, 1);
}

.dark .modal-table th {
    color: #9ca3af;
    background: rgba(255, 255, 255, 0.05);
}

.modal-table td {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(229, 231, 235, 1);
}

.dark .modal-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

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

.modal-table tbody tr:hover {
    background: rgba(249, 250, 251, 1);
}

.dark .modal-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

/* Table wrapper */
.modal-table-wrap {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid rgba(229, 231, 235, 1);
}

.dark .modal-table-wrap {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Cell text colors */
.modal-table .cell-primary {
    font-weight: 600;
    color: #111827;
}

.dark .modal-table .cell-primary {
    color: #f3f4f6;
}

.modal-table .cell-muted {
    color: #6b7280;
    white-space: nowrap;
}

.dark .modal-table .cell-muted {
    color: #9ca3af;
}

.modal-table .cell-body {
    color: #374151;
    max-width: 400px;
}

.dark .modal-table .cell-body {
    color: #d1d5db;
}

/* Score */
.modal-table .cell-score {
    font-weight: 600;
    color: #2563eb;
    white-space: nowrap;
}

.dark .modal-table .cell-score {
    color: #60a5fa;
}

.modal-table .cell-score-empty {
    color: #9ca3af;
    white-space: nowrap;
}

/* Badges */
.badge-sm {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 9999px;
    font-weight: 500;
    color: white;
    white-space: nowrap;
}

.badge-green { background: #059669; }
.badge-yellow { background: #d97706; }
.badge-blue { background: #2563eb; }
.badge-violet { background: #7c3aed; }
.badge-gray { background: #6b7280; }

.badge-ai {
    display: inline-block;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 9999px;
    font-weight: 500;
    background: #dbeafe;
    color: #2563eb;
    margin-left: 6px;
}

.dark .badge-ai {
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
}

/* Empty state */
.modal-table-empty {
    font-size: 14px;
    color: #9ca3af;
    padding: 8px 0;
}

/* More items */
.modal-table-more {
    font-size: 12px;
    color: #9ca3af;
    text-align: center;
    margin-top: 8px;
}
