/* Base Styles */
body {
    background-color: #f0f2f5; /* Light background, off-white */
    color: #333333; /* Dark text for readability on light background */
    font-family: 'Inter', sans-serif; /* Modern, clean font */
    display: flex; /* Use flexbox for layout */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    min-height: 100vh; /* Full viewport height */
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
        font-family: calibri;
}

/* --- Theming Variables (Easy to change colors) --- */
:root {
    --primary-light-bg: #f0f2f5;
    --secondary-light-bg: #ffffff;
    --card-bg: #ffffff;
    --accent-orange: #ff8c00; /* Main orange from logo */
    --accent-orange-hover: #e57e00; /* Darker orange for hover */
    --text-dark: #333333;
    --text-muted-light: #6c757d;
    --border-light: #e0e0e0;
    --shadow-light: 0 6px 18px rgba(0, 0, 0, 0.08); /* Lighter shadows for depth */
    --border-radius: 0.75rem; /* Consistent rounded corners */
        font-family: calibri;
}

/* --- Navbar Styles --- */
.navbar {
    background-color: var(--secondary-light-bg) !important; /* White background for navbar */
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-logo {
    height: 40px; /* Adjust logo size in navbar */
    width: auto;
}

.navbar-text {
    color: var(--text-dark) !important; /* Dark text for username */
    font-weight: 500;
}

.navbar .btn-outline-light {
    border-color: var(--text-muted-light);
    color: var(--text-muted-light);
    transition: all 0.3s ease;
}

.navbar .btn-outline-light:hover {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    color: #fff;
}


/* --- Login Page Styles --- */
.login-card {
    max-width: 420px;
    width: 100%;
    padding: 2.5rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    animation: fadeIn 0.8s ease-out; /* Fade-in animation */
}

.logo-container {
    text-align: center;
    margin-bottom: 2.5rem;
}

.logo-container img {
    width: 200px; /* Slightly smaller logo for better fit */
    height: auto;
    /* No filter for light background, assuming logo contrasts well */
}

.card-title {
    color: var(--text-dark);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.form-label {
    color: var(--text-muted-light);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.form-control {
    background-color: var(--secondary-light-bg);
    border: 1px solid var(--border-light);
    color: var(--text-dark);
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.form-control::placeholder {
    color: var(--text-muted-light);
    opacity: 0.7;
}

.form-control:focus {
    background-color: var(--secondary-light-bg);
    border-color: var(--accent-orange); /* Orange border on focus */
    color: var(--text-dark);
    box-shadow: 0 0 0 0.25rem rgba(255, 140, 0, 0.3); /* Orange glow on focus */
    outline: none;
}
table.dataTable.compact thead th, table.dataTable.compact thead td{
    text-align: center;
}

.separator {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-muted-light);
    font-size: 0.9rem;
}

.separator hr {
    border: none;
    height: 1px;
    background-color: #ff8500;
    flex-grow: 1;
}

.btn-microsoft {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #ccc;
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn-microsoft:hover {
    background-color: #f2f2f2;
    transform: translateY(-2px);
}

.microsoft-logo {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-orange), #ff6f00); /* Gradient for primary button */
    border: none;
    color: #fff;
    padding: 0.6rem .9rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.3); /* Shadow for button */
}
#pushedDataTableContainer, #pushedDataTable{
    width: 100%!important;
}

.btn-primary:hover {
    background: linear-gradient(45deg, var(--accent-orange-hover), #e56500);
    transform: translateY(-3px); /* More pronounced lift */
    box-shadow: 0 6px 15px rgba(255, 140, 0, 0.4);
}

.error-message {
    color: #dc3545; /* Standard red for error */
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* --- Homepage (Assessment View) Styles --- */
.container {
    max-width: 98%; /* Wider container for table */
    padding-top: 3rem; /* Adjusted for fixed navbar */
    padding-bottom: 3rem;
}

/* Fixed */
.scrollable-detail-table {
    max-height: 300px; /* Adjust height as needed */
    overflow-y: auto;
    position: relative;
}

/* Ensure table layout stays aligned */
.detail-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

/* Fix header */
.detail-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #f8f9fa; /* Match your theme */
    border-bottom: 2px solid #dee2e6;
}

/* Optional: Scrollbar customization */
.scrollable-detail-table::-webkit-scrollbar {
    width: 8px;
}
.scrollable-detail-table::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.detail-table th, .detail-table td {
    padding: 0.5rem;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Loader Styles */
#loader {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 200px; /* Ensure loader has some height */
}
.spinner-border {
    width: 3rem;
    height: 3rem;
    color: var(--accent-orange) !important;
}

/* Graph Section Styles */
.row.mb-5 {
    margin-bottom: 3rem !important; /* Ensure spacing below graphs */
}
.card.p-3.shadow-sm {
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    height: 350px; /* Set a fixed height for the card containing the chart */
    display: flex; /* Use flexbox to align content inside card */
    flex-direction: column; /* Stack content vertically */
    justify-content: center; /* Center vertically if content is smaller */
    align-items: center; /* Center horizontally */
}
/* Target the Highcharts container divs directly */
.card.p-3.shadow-sm #satisfactoryChartContainer,
.card.p-3.shadow-sm #editedChartContainer {
    max-height: 100%; /* Allow Highcharts container to fill the card height */
    width: 100% !important; /* Ensure width is 100% */
}


/* Table Styles */
table {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    width: 100%;
}

/* Ensure the DataTables container is not overflowing its parent */
.dataTables_wrapper {
    overflow-x: auto;
}

.table thead th {
    background-color: #f8f9fa;
    color: var(--text-dark);
    font-weight: 600;
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0.75rem;
    text-align: center;
}

.table tbody td {
    border-top: 1px solid var(--border-light);
    padding: 0.8rem 0.75rem;
    color: var(--text-dark);
    vertical-align: top; /* Align content to the top */
    white-space: normal; /* Allow cell content to wrap normally */
}

/* Updated scrollable-cell-content for more robust text overflow handling */
.scrollable-cell-content {
    max-height: 80px;
    overflow-y: auto;
    white-space: normal;
    word-break: break-word; /* Forces long words to break */
    cursor: pointer;
}

/* Styling for the group headers */
.group-header {
    cursor: pointer;
    font-weight: bold;
    background-color: #f8f9fa;
    border-top: 2px solid #ccc; /* Add a top border for visual separation */
    border-bottom: 2px solid #ccc; /* Add a bottom border */
}

/* Ensure alignment for specific content */
.dt-body-center {
    text-align: center;
}

.group-header .bi-plus-circle,
.group-header .bi-dash-circle {
    font-size: 1.2rem;
    vertical-align: middle;
}


/* Define column widths for fixed layout */
/* Adjusted to sum to 100% for better layout stability */


/* Additional styling for the scrollable cells */

.form-select,
.form-control {
    border-radius: 0.25rem;
}

.search-box {
    width: 250px;
}

.search-box .input-group-text {
    background-color: #fff;
    border-left: none;
}

.search-box .form-control:focus,
.search-box .input-group-text:focus-within {
    border-color: #ff8c00;
    box-shadow: 0 0 0 0.25rem rgba(255, 140, 0, 0.25);
}

/* Pagination Styling */
.pagination .page-item .page-link {
    border: 1px solid #dee2e6;
    color: #0d6efd;
    transition: all 0.2s ease-in-out;
}

.pagination .page-item .page-link:hover {
    background-color: #e9ecef;
    color: #0a58ca;
}

.pagination .page-item.active .page-link {
    background-color: #ff8c00;
    border-color: #ff8c00;
    color: #fff;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d;
}

/* Table Enhancements */
.table-responsive {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.table {
    border-collapse: separate;
    border-spacing: 0;
}

.table > thead th {
    background-color: #f8f9fa;
    color: #495057;
    font-size: 0.9rem;
    font-weight: 600;
    border-top: none;
    padding: 0.75rem 1.25rem;
}

/* Group Header Row */
.group-header {
    background-color: #f8f9fa !important;
    font-weight: bold;
    cursor: pointer;
    border-top: 1px solid #e9ecef;
}

.group-header:hover {
    background-color: #e2e6ea !important;
}

.group-header td {
    padding: 1rem 1.25rem;
}

/* Detail Rows (Inside Collapse) */
.detail-table {
    width: 100%;
    margin-bottom: 0;
    border-collapse: separate;
}

.detail-table th {
    background-color: #f1f1f1 !important;
    font-size: 0.85rem;
    font-weight: 600;
    border-top: 1px solid #e9ecef;
    padding: 0.5rem 1rem;
}

.detail-table td {
    padding: 0.75rem 1rem;
    border-top: 1px solid #e9ecef;
    background-color: #ffffff;
}

.detail-table tr:last-child td {
    border-bottom: 1px solid #e9ecef;
}

.detail-table tr:hover td {
    background-color: #f5f5f5;
}
/* Specific alignment for checkbox, edited, posted, and actions cells in tbody */
.table tbody td:nth-child(1), /* Checkbox column */
.table tbody td:nth-child(6), /* Score column */
.table tbody td:nth-child(9), /* Edited column */
.table tbody td:nth-child(10), /* Posted column */
.table tbody td:nth-child(12) { /* Actions column */
    text-align: center;
}

.fixed-header-table th {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}


.group-header td{
    text-align: left!important;
}
/* --- Styles for the inner div within TD for scrolling content --- */
.scrollable-cell-content {
    max-height: 100px;
    overflow-y: auto;
    white-space: normal;
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding-right: 5px;
    cursor: pointer; /* Indicate it's clickable */
    transition: max-height 0.3s ease;
}

.scrollable-cell-content.expanded {
    max-height: none;
    overflow: visible;
}

/* Optional: style the scrollbar for webkit browsers */
.scrollable-cell-content::-webkit-scrollbar {
    width: 8px; /* width of the scrollbar */
    height: 8px; /* height of horizontal scrollbar */
}

.scrollable-cell-content::-webkit-scrollbar-track {
    background: var(--border-light); /* color of the track */
    border-radius: 10px;
}

.scrollable-cell-content::-webkit-scrollbar-thumb {
    background-color: var(--accent-orange); /* color of the scroll thumb */
    border-radius: 10px;
    border: 2px solid var(--border-light); /* creates padding around scroll thumb */
}

/* --- Styles for Date Cells (keep on single line) --- */
.date-cell {
    /* white-space: nowrap; Keep date on a single line */
    min-width: 100px; /* Ensure enough space for the date */
    overflow: hidden; /* Hide overflow if date is too long */
    text-overflow: ellipsis; /* Add ellipsis if date is too long */
    text-align: center;
}


/* Status Box Styles (for table cells) */
.status-box {
    display: inline-block;
    padding: 0.25em 0.6em;
    border-radius: 0.3rem;
    font-size: 0.85em;
    font-weight: 600;
    text-align: center;
    /* white-space: nowrap; */
    vertical-align: middle;
    line-height: 1;
}

.status-satisfactory {
    background-color: #d4edda; /* Light green background */
    color: #155724; /* Dark green text */
    border: 1px solid #c3e6cb;
}

.status-unsatisfactory {
    background-color: #f8d7da; /* Light red background */
    color: #721c24; /* Dark red text */
    border: 1px solid #f5c6cb;
}

/* Neither a pass nor a fail: blue keeps 0-point items outside the green/red
   judgement, in the same tint family as the #0d6efd used elsewhere. */
.status-not-assessable {
    background-color: #cfe2ff; /* Light blue background */
    color: #084298; /* Dark blue text */
    border: 1px solid #b6d4fe;
}

.badge.badge-not-assessable {
    background-color: #cfe2ff;
    color: #084298;
    border: 1px solid #b6d4fe;
    font-weight: 600;
    white-space: nowrap;
}

/* Edited/Posted Status Colors (now just icons) */
/* No need for text-success/text-muted here as icons have their own colors */


/* Flag Buttons (for table rows) */
.individual-flag-btn { /* Renamed for clarity */
    font-size: 1rem; /* Smaller icons for table cells */
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
    padding: 0.3rem 0.5rem; /* Compact padding */
    border-radius: 0.5rem;
    display: inline-flex; /* Use inline-flex for alignment */
    align-items: center;
    gap: 0.3rem; /* Space between icon and text */
    background: none; /* Transparent background by default */
    border: 1px solid transparent; /* Transparent border */
}

.individual-flag-btn i {
    font-size: 1.2rem; /* Icon size */
}

.individual-flag-btn:hover {
    transform: translateY(-2px); /* Slight lift effect */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-green {
    color: #28a745; /* Green for satisfactory */
    border-color: #28a745;
}
.btn-green:hover {
    background-color: #28a745;
    color: #fff;
}

.btn-red {
    color: #dc3545; /* Red for unsatisfactory */
    border-color: #dc3545;
}
.btn-red:hover {
    background-color: #dc3545;
    color: #fff;
}

/* --- Custom Bottom Navigation Buttons (Prev/Next) --- */
/* DataTables provides its own pagination, so these might not be explicitly needed for table nav */
/* Keeping styles in case they are repurposed for other nav needs */
.max-width-buttons {
    max-width: 450px; /* Control max width of the button group */
}

.btn-nav {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.8rem 1.8rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-nav:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    filter: grayscale(80%); /* Visually indicate disabled state */
    transform: none; /* No lift when disabled */
    box-shadow: none;
}

.btn-prev-color {
    background-color: var(--text-muted-light); /* Greyish color for Previous */
    color: #fff;
    border: 1px solid var(--text-muted-light);
}

.btn-prev-color:hover:not(:disabled) {
    background-color: #5a6268; /* Darker grey on hover */
    border-color: #5a6268;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-next-color {
    background: linear-gradient(45deg, var(--accent-orange), #ff6f00); /* Vibrant orange gradient for Next */
    color: #fff;
    border: none;
    box-shadow: 0 4px 10px rgba(255, 140, 0, 0.3);
}

.btn-next-color:hover:not(:disabled) {
    background: linear-gradient(45deg, var(--accent-orange-hover), #e56500);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 140, 0, 0.4);
}

.btn-flag {
    color: #fff;
    border: none;
    font-weight: bold;
    padding: 0.75rem 1.5rem;
    transition: transform 0.1s ease;
}

.btn-flag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,.1);
}

.btn-green {
    background-color: #28a745;
}

.btn-red {
    background-color: #dc3545;
}

.btn-green:hover {
    background-color: #218838;
}

.btn-red:hover {
    background-color: #c82333;
}

/* Modal Specific Styles */
#feedbackModal .modal-body h6 {
    color: #495057;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

#feedbackModal .modal-body p {
    font-size: 0.9rem;
    color: #6c757d;
    padding: 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid #e9ecef;
    background-color: #f8f9fa;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 150px;
    overflow-y: auto;
}
.highlight{
    color: #ce6700;
    /* text-shadow: 1px 1px 1px #4b4b4bf5; */
    font-weight: 900;
}
#feedbackText {
    transition: background-color 0.2s;
}

/* Progress Modal */
.progress-bar {
    background-color: #fd7e14; /* Your orange color */
}

.text-orange {
    color: #fd7e14 !important;
}

/* --- Modal Styles (for Feedback) --- */
.modal-content {
    background-color: var(--secondary-light-bg);
    color: var(--text-dark);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-light);
}

.modal-header {
    border-bottom: 1px solid var(--border-light);
    padding: 1.2rem 1.5rem;
}

.modal-title {
    color: var(--text-dark);
    font-weight: 500;
}

.modal-header .btn-close {
    filter: none; /* No invert for light background */
}

.modal-body {
    padding: 1.5rem;
}

/* --- Push Progress Modal Styles --- */
.progress {
    height: 25px; /* Height of the progress bar */
    background-color: #e9ecef; /* Light background for the progress track */
    border-radius: 0.5rem;
    overflow: hidden; /* Ensures stripes stay within border-radius */
}

.progress-bar {
    background-color: var(--accent-orange); /* Orange color for progress */
    color: #fff;
    font-weight: 600;
    line-height: 25px; /* Vertically center text */
    transition: width 0.6s ease; /* Smooth transition for width changes */
}

/* Buffering stripe animation */
.progress-bar-striped {
    background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
    background-size: 40px 40px;
}
@keyframes progress-stripes {
    0% { background-position: 40px 0; } /* Changed from 0 0 to 40px 0 for better initial look */
    100% { background-position: 0 0; }
}
.progress-bar-animated {
    animation: progress-stripes 1s linear infinite;
}


/* --- Theme-based Text Colors --- */
.text-orange {
    color: var(--accent-orange);
}

.text-green {
    color: #28a745; /* Match flag green */
}

.text-red {
    color: #dc3545; /* Match flag red */
}


/* --- Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) { /* Adjust for tablet landscape */
    .container {
        max-width: 95%; /* Allow more width on tablets */
    }
    .table-responsive {
        overflow-x: auto; /* Enable horizontal scrolling for table on smaller screens */
    }
    /* Removed white-space: nowrap from th/td directly to allow inner div to handle wrapping */
}

@media (max-width: 768px) {
    .login-card, .container {
        padding: 1.5rem;
    }
    .logo-container img {
        width: 150px;
    }
    .btn-group {
        width: auto;
        flex-grow: 1;
        justify-content: center;
        margin: 0 1rem;
    }
    .btn-flag {
        font-size: 1rem; /* Smaller font for flag buttons on mobile */
        padding: 0.6rem 1rem;
        gap: 0.3rem;
    }
    .btn-flag i {
        font-size: 1.2rem;
    }
    .btn-nav {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
        gap: 0.3rem;
    }
    .btn-nav i {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .login-card {
        padding: 1rem;
    }
    .navbar-logo {
        height: 30px; /* Smaller logo in navbar on small screens */
    }
    .logo-container img {
        width: 120px;
        margin-bottom: 1.5rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    .form-label {
        font-size: 0.85rem;
    }
    .btn-group {
        flex-direction: column; /* Stack flag buttons on very small screens */
        gap: 0.5rem;
    }
    .btn-flag {
        width: 100%; /* Full width when stacked */
    }
}

#assessmentTable{
    width: 100%!important;
}

/* Custom Styles for Pushed Data Page */

/* Center the main table on the page */
#pushedDataTableContainer {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Style for the main DataTables instance */
#pushedDataTable {
    border-collapse: collapse !important;
    width: 100% !important;
    margin: 0 auto; /* Center the table within its container */
}

/* Center all cells in the main table */
#pushedDataTable th,
#pushedDataTable td {
    text-align: center;
    vertical-align: middle;
}

/* Style for the sub-table */
.table-responsive .table {
    margin-top: 1rem;
    background-color: #f8f9fa; /* Light background for sub-table */
    border: 1px solid #dee2e6;
}

/* Center all cells in the sub-table */
.table-responsive .table th,
.table-responsive .table td {
    text-align: center;
    vertical-align: middle;
}

/* Highlight the expanded row */
#pushedDataTable.dataTable tbody tr.shown {
    background-color: #e9ecef;
}

/* Style for the expand/collapse icon */
td.dt-control:before {
    font-family: 'bootstrap-icons';
    content: "\f23d"; /* Plus icon */
    color: #007bff;
    font-size: 1.2rem;
    cursor: pointer;
}

tr.shown td.dt-control:before {
    content: "\f22d"; /* Minus icon */
}

/* Status boxes for result column */
.status-box {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.375rem;
    color: #fff;
}

.status-satisfactory {
    background-color: #198754;
}

.status-unsatisfactory {
    background-color: #dc3545;
}

/* Truncate long text with ellipsis and show on hover */
.scrollable-cell-content {
    max-height: 4.5em; /* Approximately 3 lines of text */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    white-space: normal;
    cursor: pointer;
}

/* DataTables specific fixes */
div.dataTables_wrapper div.dataTables_filter {
    text-align: right;
    margin-bottom: 1rem;
}
div.dataTables_wrapper div.dataTables_length {
    margin-bottom: 1rem;
}
div.dataTables_wrapper div.dataTables_info {
    padding-top: 0.85em;
}
div.dataTables_wrapper div.dataTables_paginate {
    margin: 0;
    white-space: nowrap;
    text-align: center;
}
/* Item number: narrow, tabular figures, so it reads as a ruler down the side
   rather than competing with the Response Id beside it. */
.detail-table th.item-no-col,
.detail-table td.item-no-col {
    width: 60px;
    min-width: 60px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    text-align: center;
    font-variant-numeric: tabular-nums;
    color: #6c757d;
    font-weight: 600;
    white-space: nowrap;
}
