﻿/* ===============================
       Markdown / Reference Tables
   =============================== */
.citation-modal table,
.robo-answer-text table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
    background-color: #1f2326; /* slightly darker than modal */
    color: #e5e7eb; /* text color */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.citation-modal th,
.robo-answer-text th {
    background-color: #343a3f; /* header darker */
    color: #ffffff;
    font-weight: 600;
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.citation-modal td,
.robo-answer-text td {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.citation-modal tr:last-child td,
.robo-answer-text tr:last-child td {
    border-bottom: none; /* remove extra border on last row */
}

.citation-modal tr:hover,
.robo-answer-text tr:hover {
    background-color: rgba(255, 255, 255, 0.05); /* subtle hover effect */
}

.citation-modal caption,
.robo-answer-text caption {
    text-align: left;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #f9fafb;
}
