/* ── DMS Public View ──────────────────────────────────────────────── */

.dms-body {
    min-height: 100vh;
}

.dms-page {
    padding: 80px 40px 60px;
    max-width: 1300px;
    margin: 0 auto;
}

.dms-appbar-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 300;
    padding: 0 12px;
}

.dms-header {
    margin-bottom: 24px;
}

.dms-title {
    font-size: 1.8rem;
    font-weight: 300;
    color: #fff;
    margin: 0 0 8px;
}

.dms-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin: 0;
}

.dms-table-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 2px;
}

/* DataTables table width */
#dms-documents-table {
    width: 100%;
}

/* DataTables processing indicator */
#dms-documents-table_processing {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 2px;
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* DataTables header accent */
#dms-documents-table thead th {
    border-bottom: 2px solid #0078d7;
    font-weight: 600;
    white-space: nowrap;
}

/* Actions column buttons */
#dms-documents-table .dms-view-btn,
#dms-documents-table .button {
    margin-right: 2px;
}

/* ── Preview Dialog ───────────────────────────────────────────────── */
#dms-preview-dialog .dialog-content {
    min-width: min(750px, 90vw);
    min-height: 200px;
}

.dms-preview-content {
    padding: 0;
}

.dms-preview-iframe {
    width: 100%;
    height: min(70vh, 600px);
    border: none;
    display: block;
}

.dms-preview-img {
    max-width: 100%;
    max-height: 70vh;
    display: block;
    margin: 0 auto;
}
