.dgcc-archive-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
    margin-bottom: 20px;
}

.dgcc-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    display: inline-block;
}

.dgcc-badge-total {
    background-color: #e0f2fe;
    color: #0369a1;
}

.dgcc-badge-all {
    background-color: #f1f5f9;
    color: #334155;
}

.dgcc-badge-photos {
    background-color: #fce7f3;
    color: #be185d;
}

.dgcc-btn-export {
    text-decoration: none !important;
    padding: 8px 15px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-block;
    margin-left: 10px;
}

.dgcc-btn-csv {
    background-color: #10b981;
    color: white !important;
}

.dgcc-btn-csv:hover {
    background-color: #059669;
}

.dgcc-btn-json {
    background-color: #3b82f6;
    color: white !important;
}

.dgcc-btn-json:hover {
    background-color: #2563eb;
}

#dgcc-archive-table_wrapper {
    margin-top: 20px;
}

/* Column resize drag handle */
#dgcc-archive-table thead th {
    position: relative;
    box-sizing: border-box;
    user-select: none;
}

/* Print button */
.dgcc-btn-print {
    background-color: #6366f1;
    color: white !important;
    border-color: #4f46e5 !important;
}

.dgcc-btn-print:hover {
    background-color: #4f46e5;
}

/* Title links in table */
#dgcc-archive-table a {
    color: #0369a1;
    text-decoration: none;
}

#dgcc-archive-table a:hover {
    text-decoration: underline;
}

/* ---- Print styles ---- */
@media print {

    /* Hide everything but the table container */
    body>*:not(.dgcc-archive-container),
    .dgcc-stats-header,
    .dgcc-export-buttons,
    .dataTables_length,
    .dataTables_filter,
    .dataTables_info,
    .dataTables_paginate,
    .dgcc-archive-container .dgcc-summary-stats {
        display: none !important;
    }

    .dgcc-archive-container {
        box-shadow: none;
        padding: 0;
        margin: 0;
    }

    #dgcc-archive-table {
        width: 100% !important;
        font-size: 10pt;
    }

    #dgcc-archive-table thead th {
        background-color: #f1f5f9 !important;
        color: #000 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    #dgcc-archive-table a {
        color: #000 !important;
        text-decoration: none !important;
    }
}