/**
 * PNMA Document Table Styles
 * Version: 1.3.5 - Compact Design with Blue Header
 */

/* ===========================================
   CSS Variables
   =========================================== */
:root {
    --pnma-doc-primary: #222222;
    --pnma-doc-primary-light: #484848;
    --pnma-doc-accent: #FF385C;
    --pnma-doc-accent-hover: #E31C5F;
    --pnma-doc-success: #008A05;
    --pnma-doc-warning: #C13515;
    --pnma-doc-gray-50: #F7F7F7;
    --pnma-doc-gray-100: #EBEBEB;
    --pnma-doc-gray-200: #DDDDDD;
    --pnma-doc-gray-300: #B0B0B0;
    --pnma-doc-gray-400: #717171;
    --pnma-doc-gray-500: #6A6A6A;
    --pnma-doc-gray-600: #484848;
    --pnma-doc-gray-700: #222222;
    --pnma-doc-white: #FFFFFF;
    --pnma-doc-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.08);
    --pnma-doc-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
    --pnma-doc-shadow-lg: 0 6px 20px rgba(0, 0, 0, 0.2);
    --pnma-doc-radius: 12px;
    --pnma-doc-radius-sm: 8px;
    --pnma-doc-transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================================
   Wrapper & Card
   =========================================== */
.pnma-document-wrapper {
    font-family: 'Circular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Thai', 'Helvetica Neue', sans-serif;
    max-width: 1120px;
    margin: 0 auto;
    padding: 12px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.pnma-document-card {
    background: var(--pnma-doc-white);
    border-radius: var(--pnma-doc-radius);
    border: 1px solid var(--pnma-doc-gray-200);
    overflow: hidden;
    transition: var(--pnma-doc-transition);
}

.pnma-document-card:hover {
    box-shadow: var(--pnma-doc-shadow);
}

/* ===========================================
   Header - Blue Gradient (Match Quiz/Feedback)
   =========================================== */
.pnma-document-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    border-bottom: none;
    border-radius: var(--pnma-doc-radius) var(--pnma-doc-radius) 0 0;
}

.pnma-document-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pnma-document-header-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--pnma-doc-radius-sm);
    color: var(--pnma-doc-white);
}

.pnma-document-header-icon svg {
    width: 20px;
    height: 20px;
}

.pnma-document-title-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pnma-document-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.pnma-document-subtitle {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

/* Primary Upload Button - White on Blue Header */
.pnma-document-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #2563EB;
    border: none;
    border-radius: var(--pnma-doc-radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--pnma-doc-transition);
    box-shadow: var(--pnma-doc-shadow-sm);
}

.pnma-document-btn-primary:hover {
    background: #FFFFFF;
    transform: scale(1.02);
    box-shadow: var(--pnma-doc-shadow);
}

.pnma-document-btn-primary:active {
    transform: scale(0.98);
}

.pnma-document-btn-primary .pnma-icon {
    width: 18px;
    height: 18px;
}

/* ===========================================
   Stats Bar
   =========================================== */
.pnma-document-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    background: var(--pnma-doc-gray-50);
    border-bottom: 1px solid var(--pnma-doc-gray-100);
}

.pnma-document-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--pnma-doc-gray-500);
}

.pnma-document-stat-value {
    font-weight: 600;
    color: var(--pnma-doc-gray-700);
}

.pnma-document-stat-icon {
    width: 18px;
    height: 18px;
    color: var(--pnma-doc-gray-400);
}

/* ===========================================
   Table Container
   =========================================== */
.pnma-document-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.pnma-document-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

/* Table Header */
.pnma-document-table thead {
    background: var(--pnma-doc-gray-50);
}

.pnma-document-table th {
    padding: 10px 12px;
    text-align: left;
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--pnma-doc-gray-500);
    border-bottom: 1px solid var(--pnma-doc-gray-100);
    white-space: nowrap;
    position: sticky;
    top: 0;
    background: var(--pnma-doc-gray-50);
    z-index: 1;
}

/* Table Body */
.pnma-document-table td {
    padding: 12px;
    border-bottom: 1px solid var(--pnma-doc-gray-100);
    vertical-align: middle;
    background: var(--pnma-doc-white);
    transition: var(--pnma-doc-transition);
}

.pnma-document-table tbody tr {
    transition: var(--pnma-doc-transition);
}

.pnma-document-table tbody tr:hover td {
    background: var(--pnma-doc-gray-50);
}

.pnma-document-table tbody tr:last-child td {
    border-bottom: none;
}

/* Column Widths */
.pnma-doc-col-number {
    width: 64px;
    text-align: center !important;
}

.pnma-doc-col-name {
    min-width: 320px;
}

.pnma-doc-col-date {
    width: 140px;
}

.pnma-doc-col-size {
    width: 100px;
}

.pnma-doc-col-download {
    width: 120px;
    text-align: center !important;
}

.pnma-doc-col-manage {
    width: 80px;
    text-align: center !important;
}

/* ===========================================
   File Row - Modern Card Style
   =========================================== */
.pnma-document-row-number {
    font-weight: 500;
    font-size: 14px;
    color: var(--pnma-doc-gray-400);
    text-align: center;
}

.pnma-document-file-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* File Icon - Premium Look */
.pnma-document-file-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--pnma-doc-radius-sm);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.pnma-document-file-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.pnma-document-file-icon svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
}

/* File icon colors - Refined Palette */
.pnma-document-file-icon.icon-pdf {
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
    color: #DC2626;
}

.pnma-document-file-icon.icon-word {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
    color: #2563EB;
}

.pnma-document-file-icon.icon-excel {
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
    color: #059669;
}

.pnma-document-file-icon.icon-powerpoint {
    background: linear-gradient(135deg, #FFEDD5 0%, #FED7AA 100%);
    color: #EA580C;
}

.pnma-document-file-icon.icon-image {
    background: linear-gradient(135deg, #FCE7F3 0%, #FBCFE8 100%);
    color: #DB2777;
}

.pnma-document-file-icon.icon-archive {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #D97706;
}

.pnma-document-file-icon.icon-text {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    color: #4B5563;
}

.pnma-document-file-icon.icon-audio {
    background: linear-gradient(135deg, #E0E7FF 0%, #C7D2FE 100%);
    color: #4F46E5;
}

.pnma-document-file-icon.icon-video {
    background: linear-gradient(135deg, #FDF2F8 0%, #FCE7F3 100%);
    color: #EC4899;
}

.pnma-document-file-icon.icon-file {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
    color: #6B7280;
}

/* File Details */
.pnma-document-file-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.pnma-document-file-name {
    font-weight: 500;
    font-size: 14px;
    color: var(--pnma-doc-gray-700);
    word-break: break-word;
    line-height: 1.3;
}

.pnma-document-file-meta {
    font-size: 12px;
    color: var(--pnma-doc-gray-400);
}

.pnma-document-date {
    color: var(--pnma-doc-gray-500);
    font-size: 13px;
    font-weight: 400;
}

/* ===========================================
   Action Buttons - Refined
   =========================================== */
.pnma-document-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pnma-document-btn-download,
.pnma-document-btn-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--pnma-doc-gray-200);
    border-radius: var(--pnma-doc-radius-sm);
    cursor: pointer;
    transition: var(--pnma-doc-transition);
    background: var(--pnma-doc-white);
    text-decoration: none;
}

.pnma-document-btn-download {
    color: var(--pnma-doc-gray-600);
}

.pnma-document-btn-download:hover {
    background: var(--pnma-doc-gray-700);
    color: var(--pnma-doc-white);
    border-color: var(--pnma-doc-gray-700);
    transform: translateY(-2px);
    box-shadow: var(--pnma-doc-shadow-sm);
}

.pnma-document-btn-delete {
    color: var(--pnma-doc-gray-400);
}

.pnma-document-btn-delete:hover {
    background: var(--pnma-doc-warning);
    color: var(--pnma-doc-white);
    border-color: var(--pnma-doc-warning);
    transform: translateY(-2px);
    box-shadow: var(--pnma-doc-shadow-sm);
}

.pnma-document-btn-download svg,
.pnma-document-btn-delete svg {
    width: 16px;
    height: 16px;
}

/* Download button with text */
.pnma-document-btn-download-full {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--pnma-doc-white);
    color: var(--pnma-doc-gray-700);
    border: 1px solid var(--pnma-doc-gray-200);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--pnma-doc-transition);
    text-decoration: none;
}

.pnma-document-btn-download-full:hover {
    background: var(--pnma-doc-gray-700);
    color: var(--pnma-doc-white);
    border-color: var(--pnma-doc-gray-700);
    transform: translateY(-1px);
    box-shadow: var(--pnma-doc-shadow-sm);
}

.pnma-document-btn-download-full svg {
    width: 16px;
    height: 16px;
}

/* ===========================================
   Loading State - Skeleton
   =========================================== */
.pnma-document-loading td {
    text-align: center;
    padding: 40px 16px;
    color: var(--pnma-doc-gray-400);
}

.pnma-document-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pnma-document-loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--pnma-doc-gray-100);
    border-top-color: var(--pnma-doc-gray-700);
    border-radius: 50%;
    animation: pnma-doc-spin 0.8s linear infinite;
}

.pnma-document-loading-text {
    font-size: 13px;
    color: var(--pnma-doc-gray-500);
}

@keyframes pnma-doc-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Skeleton Loading */
.pnma-document-skeleton {
    background: linear-gradient(90deg, var(--pnma-doc-gray-100) 25%, var(--pnma-doc-gray-50) 50%, var(--pnma-doc-gray-100) 75%);
    background-size: 200% 100%;
    animation: pnma-doc-shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes pnma-doc-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===========================================
   Empty State - Premium Design
   =========================================== */
.pnma-document-empty td {
    text-align: center;
    padding: 50px 16px;
}

.pnma-document-empty-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 280px;
    margin: 0 auto;
}

.pnma-document-empty-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pnma-doc-gray-50);
    border-radius: 50%;
    color: var(--pnma-doc-gray-300);
}

.pnma-document-empty-icon svg {
    width: 32px;
    height: 32px;
}

.pnma-document-empty-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--pnma-doc-gray-700);
    margin: 0;
}

.pnma-document-empty-text {
    font-size: 13px;
    color: var(--pnma-doc-gray-400);
    line-height: 1.4;
    margin: 0;
}

/* ===========================================
   Footer
   =========================================== */
.pnma-document-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
    background: var(--pnma-doc-gray-50);
    border-top: 1px solid var(--pnma-doc-gray-100);
    font-size: 12px;
    color: var(--pnma-doc-gray-400);
}

.pnma-document-footer-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pnma-document-footer-info svg {
    width: 14px;
    height: 14px;
}

/* ===========================================
   Responsive Design
   =========================================== */
@media (max-width: 1024px) {
    .pnma-document-wrapper {
        padding: 10px;
    }

    .pnma-document-header {
        padding: 12px 14px;
    }

    .pnma-document-table th,
    .pnma-document-table td {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .pnma-document-wrapper {
        padding: 8px;
    }

    .pnma-document-header {
        flex-direction: column;
        gap: 12px;
        padding: 12px;
        text-align: center;
    }

    .pnma-document-header-left {
        flex-direction: column;
        text-align: center;
    }

    .pnma-document-title {
        font-size: 16px;
    }

    .pnma-document-btn-primary {
        width: 100%;
        justify-content: center;
    }

    .pnma-document-stats {
        flex-wrap: wrap;
        padding: 8px 12px;
        gap: 12px;
    }

    .pnma-document-table th,
    .pnma-document-table td {
        padding: 8px;
    }

    /* Hide date column on mobile */
    .pnma-doc-col-date,
    .pnma-document-table th:nth-child(3),
    .pnma-document-table td:nth-child(3) {
        display: none;
    }

    .pnma-document-file-icon {
        width: 36px;
        height: 36px;
    }

    .pnma-document-file-icon svg {
        width: 18px;
        height: 18px;
    }

    .pnma-document-file-name {
        font-size: 13px;
    }

    .pnma-document-footer {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .pnma-doc-col-number {
        display: none;
    }

    .pnma-document-file-info {
        gap: 10px;
    }

    .pnma-document-btn-download,
    .pnma-document-btn-delete {
        width: 32px;
        height: 32px;
    }

    .pnma-document-btn-download svg,
    .pnma-document-btn-delete svg {
        width: 14px;
        height: 14px;
    }
}

/* ===========================================
   Animations
   =========================================== */
.pnma-document-row-new {
    animation: pnma-doc-slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes pnma-doc-slideIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pnma-document-row-removing {
    animation: pnma-doc-slideOut 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes pnma-doc-slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(24px);
    }
}

/* Row highlight on new */
.pnma-document-row-highlight td {
    background: #FFFBEB !important;
}

/* ===========================================
   Tooltip
   =========================================== */
.pnma-document-tooltip {
    position: relative;
}

.pnma-document-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    padding: 8px 12px;
    background: var(--pnma-doc-gray-700);
    color: var(--pnma-doc-white);
    font-size: 12px;
    font-weight: 500;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 100;
}

.pnma-document-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-8px);
}

/* ===========================================
   Dark Mode Support (Optional)
   =========================================== */
@media (prefers-color-scheme: dark) {
    .pnma-document-wrapper.auto-dark {
        --pnma-doc-primary: #F7F7F7;
        --pnma-doc-gray-50: #1A1A1A;
        --pnma-doc-gray-100: #262626;
        --pnma-doc-gray-200: #333333;
        --pnma-doc-gray-700: #F7F7F7;
        --pnma-doc-white: #0D0D0D;
    }
}

/* ===========================================
   Toast Notifications - Airbnb Style
   =========================================== */
.pnma-document-toast {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--pnma-doc-gray-700);
    color: var(--pnma-doc-white);
    border-radius: var(--pnma-doc-radius);
    box-shadow: var(--pnma-doc-shadow-lg);
    font-size: 13px;
    font-weight: 500;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: calc(100% - 32px);
}

.pnma-document-toast-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.pnma-document-toast-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pnma-document-toast-icon svg {
    width: 18px;
    height: 18px;
}

.pnma-document-toast-message {
    flex: 1;
    line-height: 1.4;
}

.pnma-document-toast-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: var(--pnma-doc-white);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: var(--pnma-doc-transition);
    flex-shrink: 0;
}

.pnma-document-toast-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Toast Types */
.pnma-document-toast-success {
    background: #065F46;
}

.pnma-document-toast-success .pnma-document-toast-icon {
    color: #34D399;
}

.pnma-document-toast-error {
    background: #991B1B;
}

.pnma-document-toast-error .pnma-document-toast-icon {
    color: #FCA5A5;
}

.pnma-document-toast-info {
    background: var(--pnma-doc-gray-700);
}

.pnma-document-toast-info .pnma-document-toast-icon {
    color: #93C5FD;
}

/* ===========================================
   Button Loading State
   =========================================== */
.pnma-document-btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.pnma-document-btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    margin: -9px 0 0 -9px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: pnma-doc-spin 0.6s linear infinite;
}

.pnma-document-btn-loading .pnma-icon,
.pnma-document-btn-loading span {
    visibility: hidden;
}

/* ===========================================
   Row Animation States
   =========================================== */
.pnma-document-row {
    opacity: 0;
    transform: translateY(8px);
}

.pnma-document-row-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.pnma-document-row-hover td {
    background: var(--pnma-doc-gray-50) !important;
}

/* ===========================================
   Empty State Enhancements
   =========================================== */
.pnma-document-empty-hint {
    font-size: 13px;
    color: var(--pnma-doc-gray-300);
    margin: 8px 0 0 0;
}

.pnma-document-retry-btn {
    margin-top: 12px;
    padding: 10px 20px;
    background: var(--pnma-doc-white);
    color: var(--pnma-doc-gray-700);
    border: 1px solid var(--pnma-doc-gray-200);
    border-radius: var(--pnma-doc-radius-sm);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--pnma-doc-transition);
}

.pnma-document-retry-btn:hover {
    background: var(--pnma-doc-gray-50);
    border-color: var(--pnma-doc-gray-300);
}

/* Error state icon */
.pnma-document-error-icon svg {
    color: #DC2626;
}

/* ===========================================
   Stats Bar Enhancement
   =========================================== */
.pnma-document-stats-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--pnma-doc-gray-600);
}

.pnma-document-stats-count svg {
    color: var(--pnma-doc-gray-400);
}

/* ===========================================
   Download Button Text (Hidden by default)
   =========================================== */
.pnma-document-btn-download .pnma-btn-text {
    display: none;
}

@media (min-width: 1025px) {
    .pnma-document-btn-download {
        width: auto;
        padding: 8px 12px;
        gap: 6px;
    }

    .pnma-document-btn-download .pnma-btn-text {
        display: inline;
        font-size: 12px;
        font-weight: 500;
    }

    .pnma-document-btn-download svg {
        width: 14px;
        height: 14px;
    }
}

/* ===========================================
   Overlay Loading State
   =========================================== */
.pnma-document-loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 10;
    align-items: center;
    justify-content: center;
}

.pnma-document-loading.active {
    display: flex;
}

.pnma-document-table-wrapper {
    position: relative;
}

/* ===========================================
   Date Text Styling
   =========================================== */
.pnma-document-date-text {
    display: inline-block;
    padding: 4px 10px;
    background: var(--pnma-doc-gray-50);
    border-radius: 4px;
    font-size: 13px;
    color: var(--pnma-doc-gray-500);
}

/* ===========================================
   Accessibility Improvements
   =========================================== */
.pnma-document-btn-download:focus,
.pnma-document-btn-delete:focus,
.pnma-document-btn-primary:focus {
    outline: 2px solid var(--pnma-doc-accent);
    outline-offset: 2px;
}

.pnma-document-btn-download:focus-visible,
.pnma-document-btn-delete:focus-visible,
.pnma-document-btn-primary:focus-visible {
    outline: 2px solid var(--pnma-doc-accent);
    outline-offset: 2px;
}

/* Screen reader only */
.pnma-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===========================================
   Print Styles
   =========================================== */
@media print {
    .pnma-document-wrapper {
        padding: 0;
    }

    .pnma-document-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .pnma-document-btn-primary,
    .pnma-document-btn-delete,
    .pnma-doc-col-manage {
        display: none !important;
    }

    .pnma-document-table tbody tr:hover td {
        background: white;
    }

    .pnma-document-toast {
        display: none !important;
    }

    .pnma-document-row {
        opacity: 1;
        transform: none;
    }
}
