/* Customer Documents modal (e/customers -> View -> Documents)
   Smaller table fonts than the global bit-card-refresh sizes.
   Loaded after bit-card-refresh.css so the equal-!important rules here win. */

.documents-modal-tables .card.bit-card .card-body thead th {
    font-size: 9px !important;
    padding: 6px 12px !important;
}

.documents-modal-tables .card.bit-card .card-body tbody td {
    font-size: 11px !important;
    padding: 7px 12px !important;
}

.documents-modal-tables .card.bit-card .card-body tbody td small {
    font-size: 10px !important;
}

.documents-modal-tables .card.bit-card .card-body .badge {
    font-size: 10px !important;
}

/* Shared fixed column widths so the Signed Documents and Uploaded Documents
   tables line up with each other instead of auto-sizing to their content. */
.documents-modal-tables .doc-columns-aligned {
    table-layout: fixed;
    width: 100%;
}

.documents-modal-tables .doc-columns-aligned th:nth-child(1) { width: 28%; } /* Document Name */
.documents-modal-tables .doc-columns-aligned th:nth-child(2) { width: 14%; } /* Created Date */
.documents-modal-tables .doc-columns-aligned th:nth-child(3) { width: 15%; } /* Submitted Date */
.documents-modal-tables .doc-columns-aligned th:nth-child(4) { width: 16%; } /* Status */
.documents-modal-tables .doc-columns-aligned th:nth-child(5) { width: 27%; } /* Actions */

/* Disabled placeholder action buttons — grey instead of faded variant color */
.documents-modal-tables .card.bit-card .card-body .btn:disabled {
    background-color: #e2e8f0 !important;
    background-image: none !important;
    border-color: #e2e8f0 !important;
    color: #94a3b8 !important;
    opacity: 1;
}

/* Panel titles (Signed Documents / Document Acknowledgments headers) */
.documents-modal-tables .card.bit-card .card-icon-header .content h6 {
    font-size: 0.85rem !important;
}
