    .dmpro-document-library,
    .dmpro-document-library h1,
    .dmpro-document-library h2,
    .dmpro-document-library h3,
    .dmpro-login-container,
    .dmpro-login-container h2 {
        font-family: "Geist", sans-serif;
        font-weight: 400;
    }

    .dmpro-document-library {
        padding: 20px 0;
        max-width: 1200px;
        margin: 0 auto;
    }

    /* UPDATED: Security Message - restored border with CSS variable */
    .dmpro-security-message {
        background: #fff3cd;
        border: var(--dmpro-border, 1px solid #ffeaa7);
        border-radius: 4px;
        padding: 15px;
        margin-bottom: 25px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    /* To hide borders: add this to your CSS: :root { --dmpro-border: none; } */

    .dmpro-security-icon {
        font-size: 20px;
    }

    .dmpro-security-text {
        flex: 1;
        color: #856404;
    }

    .dmpro-filters {
        margin-bottom: 25px;
    }

    /* UPDATED: Filter Card - restored border with CSS variable */
    .dmpro-filter-card {
        background: #fff;
        border: var(--dmpro-border, 1px solid #e0e0e0);
        border-radius: 4px;
        padding: 20px;
    }

    .dmpro-filter-card h3 {
        margin: 0 0 15px 0;
        color: #333;
    }

    .dmpro-filter-form {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* Dynamic grid layout for filters */
    .dmpro-filter-row {
        display: grid;
        gap: 15px;
        align-items: start;
        /* Align all items to the top */
    }

    .dmpro-filter-row.dmpro-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .dmpro-filter-row.dmpro-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .dmpro-filter-row.dmpro-grid-5 {
        grid-template-columns: repeat(5, 1fr);
    }

    .dmpro-filter-group {
        display: flex;
        flex-direction: column;
        min-width: 0;
        /* Prevent overflow */
        margin: 0;
        /* Remove any default margin */
        padding: 0;
        /* Remove any default padding */
        overflow: visible;
        /* Ensure dropdowns are fully visible */
    }
    
    /* Match My Messages filter styling for document filters */
    .dmpro-filter-row .dmpro-filter-group select {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 10px 35px 10px 12px !important;
        height: 40px !important;
        font-size: 14px !important;
        color: #111827 !important;
        background-color: #ffffff !important;
        border: 1px solid #d1d5db !important;
        border-radius: 6px !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        -moz-appearance: none !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: right 12px center !important;
        background-size: 12px !important;
    }
    
    .dmpro-filter-row .dmpro-filter-group select option {
        color: #111827 !important;
        padding: 8px 12px !important;
        display: block !important;
    }
    
    .dmpro-filter-row .dmpro-filter-group select option:first-child {
        color: #111827 !important;
        font-weight: normal !important;
    }

    .dmpro-period-input {
        display: none;
    }

    .dmpro-filter-group label {
        font-weight: 500;
        margin-bottom: 5px;
        margin-top: 0;
        /* Ensure no top margin */
        padding: 0;
        /* Remove any padding */
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
        /* Consistent line height */
    }

    .dmpro-input-select,
    .dmpro-input-text {
        width: 100%;
        max-width: 100%;
        /* Ensure inputs don't exceed container */
        padding: 8px 12px;
        margin: 0;
        /* Remove any margin */
        border: 1px solid #ccc;
        border-radius: 3px;
        font-size: 14px;
        background: white;
        box-sizing: border-box;
        /* Include padding in width calculation */
        height: 38px;
        /* Fixed height for consistency */
        line-height: 1.4;
        vertical-align: top;
        /* Ensure consistent vertical alignment */
        overflow: visible;
        /* Ensure text is fully visible */
        text-overflow: clip;
        /* Prevent text cutoff */
        color: #111827 !important;
        /* Ensure text color is visible - use !important to override any other styles */
    }
    
    /* Ensure dropdown options are fully visible */
    .dmpro-input-select option {
        padding: 8px 12px;
        white-space: normal;
        /* Allow text to wrap if needed */
        overflow: visible;
        color: #111827 !important;
        /* Ensure option text color is visible */
        display: block !important;
    }
    
    /* CRITICAL: Ensure the first option (default) is always visible */
    .dmpro-input-select option:first-child {
        color: #111827 !important;
        display: block !important;
    }
    
    /* Ensure selected option text is visible */
    .dmpro-input-select:not([multiple]) {
        color: #111827 !important;
    }
    
    /* Force display of selected option text - CRITICAL for showing default options */
    .dmpro-input-select option:checked,
    .dmpro-input-select option[selected],
    .dmpro-input-select option[value=""]:first-child {
        color: #111827 !important;
        background-color: #ffffff !important;
        display: block !important;
    }
    
    /* Ensure the select element displays its value */
    .dmpro-input-select {
        color: #111827 !important;
    }
    
    /* Make sure empty value options are visible */
    .dmpro-input-select option[value=""] {
        color: #111827 !important;
    }

    /* Ensure date inputs have consistent appearance */
    .dmpro-input-text[type="date"] {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        padding-top: 8px;
        /* Consistent padding */
        padding-bottom: 8px;
        /* Consistent padding */
    }

    /* Prevent inputs from growing too large in wider grids */
    .dmpro-filter-row.dmpro-grid-5 .dmpro-filter-group,
    .dmpro-filter-row.dmpro-grid-4 .dmpro-filter-group {
        max-width: 250px;
        /* Limit maximum width */
    }

    .dmpro-auto-filter-notice {
        text-align: center;
        color: #666;
        font-size: 12px;
        margin-top: 10px;
    }

    .dmpro-document-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 15px;
    }

    .dmpro-document-grid .dmpro-card {
        background: #fff;
        padding: 15px;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .dmpro-document-grid .dmpro-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .dmpro-document-grid .dmpro-card h3 {
        font-size: 16px;
        margin: 12px 0 10px 0;
        color: #333;
        line-height: 1.4;
    }

    /* PDF Preview Styles */
    .dmpro-preview-container {
        width: 100%;
        height: 180px;
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 4px;
        overflow: hidden;
        margin-bottom: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dmpro-pdf-preview {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dmpro-pdf-preview canvas {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 2px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .dmpro-pdf-placeholder {
        text-align: center;
        color: #6c757d;
        padding: 20px;
    }

    .dmpro-pdf-icon {
        font-size: 48px;
        display: block;
        margin-bottom: 8px;
    }

    .dmpro-pdf-loading {
        font-size: 12px;
        color: #6c757d;
    }

    .dmpro-doc-meta-line {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 10px;
        font-size: 12px;
    }

    .dmpro-doc-category {
        background: #e9ecef;
        padding: 2px 6px;
        border-radius: 3px;
        color: #495057;
        font-weight: 500;
    }

    .dmpro-doc-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .dmpro-tag {
        background: #f8f9fa;
        color: #495057;
        padding: 2px 6px;
        border-radius: 3px;
        border: 1px solid #e9ecef;
    }

    .dmpro-doc-date {
        background: #e7f3ff;
        color: #0066cc;
        padding: 2px 6px;
        border-radius: 3px;
        font-weight: 500;
    }

    .dmpro-view-btn {
        background-color: #D22758;
        color: #fff;
        border: none;
        padding: 8px 16px;
        border-radius: 3px;
        cursor: pointer;
        font-size: 14px;
        width: 100%;
        transition: background-color 0.2s ease;
    }

    .dmpro-view-btn:hover {
        background-color: #b81e4a;
    }

    /* Modal Styles */
    .dmpro-modal {
        display: none;
        position: fixed;
        z-index: 99999;
        left: 0;
        top: 0;
        width: 100vw;
        height: 100vh;
        overflow: hidden;
        background-color: rgba(0, 0, 0, 0.95);
        align-items: center;
        justify-content: center;
        padding: 0;
        margin: 0;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .dmpro-modal-content {
        background-color: #1a1a1a;
        margin: 0;
        padding: 0;
        border: none;
        width: 100%;
        height: 100%;
        border-radius: 0;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .dmpro-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background-color: #2d2d2d;
        border-bottom: 1px solid #444;
        color: white;
        position: sticky;
        top: 0;
        z-index: 1001;
    }

    .dmpro-modal-header h3 {
        margin: 0;
        font-size: 18px;
        color: white;
        flex: 1;
    }

    .dmpro-modal-controls {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .dmpro-page-controls {
        display: flex;
        align-items: center;
        gap: 10px;
        background: rgba(255, 255, 255, 0.1);
        padding: 5px 10px;
        border-radius: 4px;
    }

    .dmpro-nav-btn {
        background: rgba(255, 255, 255, 0.2);
        color: white;
        border: none;
        padding: 8px 12px;
        border-radius: 3px;
        cursor: pointer;
        font-size: 16px;
        transition: all 0.3s ease;
    }

    .dmpro-nav-btn:hover:not(:disabled) {
        background: rgba(255, 255, 255, 0.3);
        transform: scale(1.05);
    }

    .dmpro-nav-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
        transform: none;
    }

    #dmpro-page-info {
        margin: 0 10px;
        font-weight: bold;
        color: white;
        font-size: 14px;
        min-width: 100px;
        text-align: center;
    }

    .dmpro-modal-body {
        padding: 0;
        flex: 1;
        overflow: hidden;
        position: relative;
        background: #1a1a1a;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #dmpro-pdf-container {
        width: 100%;
        height: 100%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        position: relative;
    }

    #dmpro-pdf-render {
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        max-height: 100%;
        transition: opacity 0.3s ease;
    }

    #dmpro-pdf-render canvas {
        display: block;
        max-width: calc(100% - 40px);
        max-height: calc(100% - 40px);
        width: auto;
        height: auto;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        border-radius: 4px;
        background: white;
        object-fit: contain;
        margin: auto;
    }

    .dmpro-close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        padding: 5px;
        line-height: 1;
        transition: all 0.3s ease;
    }

    .dmpro-close:hover,
    .dmpro-close:focus {
        color: white;
        text-decoration: none;
        cursor: pointer;
        transform: scale(1.1);
    }

    /* Floating chat launcher */
    #dmpro-chat-launcher {
        position: fixed;
        right: 24px;
        bottom: 24px;
        z-index: 99998;
    }

    .dmpro-chat-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.35);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        z-index: 99997;
    }

    #dmpro-chat-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        border-radius: 999px;
        border: 1px solid #D22758;
        background: #ffffff;
        color: #D22758;
        cursor: pointer;
        box-shadow: none;
        position: relative;
        transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    }

    #dmpro-chat-toggle:hover {
        background: #fff5f8;
        border-color: #be1f4b;
        color: #be1f4b;
    }

    .dmpro-chat-icon {
        font-size: 22px;
        line-height: 1;
    }

    #dmpro-chat-toggle .dmpro-qa-badge {
        position: absolute;
        top: 6px;
        right: 6px;
    }

    /* Chat widget */
    #dmpro-chat-widget {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 340px;
        max-width: 90vw;
        max-height: 70vh;
        background: #ffffff;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        box-shadow: none;
        display: none;
        flex-direction: column;
        overflow: hidden;
        z-index: 99999;
    }

    .dmpro-chat-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
        background: #ffffff;
        border-bottom: 1px solid #e5e7eb;
        color: #111827;
    }

    .dmpro-chat-title {
        font-size: 15px;
        font-weight: 600;
    }

    .dmpro-chat-subtitle {
        font-size: 12px;
        color: #6b7280;
        margin-top: 2px;
    }

    #dmpro-chat-close {
        border: none;
        background: transparent;
        color: #9ca3af;
        font-size: 20px;
        cursor: pointer;
        line-height: 1;
        padding: 0 2px;
    }

    #dmpro-chat-close:hover {
        color: #f9fafb;
    }

    .dmpro-chat-body {
        padding: 12px 14px 14px;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .dmpro-chat-messages {
        background: #f9fafb;
        border-radius: 10px;
        border: 1px solid #e5e7eb;
        padding: 8px 10px;
        max-height: 220px;
        overflow-y: auto;
        font-size: 13px;
        margin-top: 4px;
    }

    .dmpro-chat-placeholder {
        margin: 0;
        color: #6b7280;
        font-size: 12px;
    }

    .dmpro-chat-message-row {
        margin-bottom: 6px;
        display: flex;
        flex-direction: column;
        max-width: 90%;
    }

    .dmpro-chat-message-row.member {
        align-self: flex-end;
        text-align: right;
    }

    .dmpro-chat-message-row.admin {
        align-self: flex-start;
        text-align: left;
    }

    .dmpro-chat-bubble {
        display: inline-block;
        padding: 6px 9px;
        border-radius: 8px;
        font-size: 13px;
        line-height: 1.4;
        word-break: break-word;
    }

    .dmpro-chat-message-row.member .dmpro-chat-bubble {
        background: #eff6ff;
        color: #111827;
    }

    .dmpro-chat-message-row.admin .dmpro-chat-bubble {
        background: #ecfdf5;
        color: #065f46;
    }

    .dmpro-chat-meta {
        font-size: 10px;
        color: #9ca3af;
        margin-bottom: 2px;
    }

    #dmpro-chat-form {
        margin-top: 8px;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    #dmpro-chat-message {
        width: 100%;
        resize: vertical;
        min-height: 56px;
        max-height: 120px;
        padding: 8px 10px;
        border-radius: 8px;
        border: 1px solid #d1d5db;
        font-size: 13px;
        box-sizing: border-box;
    }

    #dmpro-chat-message:focus {
        outline: none;
        border-color: #D22758;
        box-shadow: 0 0 0 1px #D22758;
    }

    .dmpro-chat-actions {
        display: flex;
        justify-content: flex-end;
    }

    /* Q&A notification badge */
    .dmpro-qa-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 6px;
        width: 18px;
        height: 18px;
        border-radius: 999px;
        background: #D22758;
        color: #fff;
        font-size: 10px;
        font-weight: 600;
        line-height: 1;
        vertical-align: middle;
    }

    /* UPDATED: Single centered watermark - simple gray, no shadow */
    #dmpro-watermark-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-45deg);
        font-size: 32px;
        font-weight: 600;
        color: rgba(128, 128, 128, 0.4);
        /* Simple gray color */
        pointer-events: none;
        z-index: 1000;
        text-align: center;
        white-space: nowrap;
        font-family: "Geist", Arial, sans-serif;
        letter-spacing: 1px;
        text-shadow: none;
        /* Remove shadow */
    }

    .dmpro-spinner {
        border: 4px solid rgba(255, 255, 255, 0.3);
        border-top: 4px solid #D22758;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        animation: dmpro-spin 1s linear infinite;
        margin: 0 auto;
    }

    @keyframes dmpro-spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }

    .dmpro-restricted {
        padding: 20px;
        border: 1px solid #f8d7da;
        background-color: #f8d7da;
        color: #721c24;
        border-radius: 4px;
        text-align: center;
        margin: 20px auto;
        max-width: 500px;
    }

    .dmpro-restricted a {
        color: #49000a;
        font-weight: bold;
    }

    .dmpro-btn-primary {
        background-color: #D22758;
        color: #fff;
        border: none;
        padding: 8px 16px;
        border-radius: 3px;
        cursor: pointer;
        font-size: 14px;
    }

    .dmpro-btn-primary:hover {
        background-color: #b81e4a;
    }

    .dmpro-btn-secondary {
        background-color: #6c757d;
        color: #fff;
        border: none;
        padding: 8px 16px;
        border-radius: 3px;
        cursor: pointer;
    }

    .dmpro-btn-secondary:hover {
        background-color: #5a6268;
    }

    /* UPDATED: Welcome section styles - restored border with CSS variable */
    .dmpro-welcome-message {
        text-align: center;
        padding: 20px;
        background: white;
        border: var(--dmpro-border, 1px solid #e0e0e0);
        border-radius: 4px;
        margin: 20px 0;
    }

    .dmpro-welcome-message p {
        margin: 0;
        font-size: 16px;
        color: #333;
    }

    .dmpro-welcome-message a {
        color: #D22758;
    }

    /* Login Page Styles */
    .dmpro-login-container {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100vh;
        padding: 20px;
        background: #fff;
    }

    .dmpro-login-box {
        background: white;
        padding: 40px;
        border: 1px solid #e0e0e0;
        border-radius: 4px;
        width: 100%;
        max-width: 400px;
        text-align: center;
    }

    .dmpro-login-box h2 {
        margin: 0 0 25px 0;
        color: #333;
        font-size: 24px;
    }

    .dmpro-login-box form {
        text-align: left;
    }

    .dmpro-login-box label {
        display: block;
        margin-bottom: 5px;
        color: #333;
    }

    .dmpro-login-box input[type="text"],
    .dmpro-login-box input[type="password"] {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 3px;
        font-size: 14px;
        margin-bottom: 15px;
        box-sizing: border-box;
    }

    .dmpro-login-box input[type="text"]:focus,
    .dmpro-login-box input[type="password"]:focus {
        border-color: #D22758;
        outline: none;
    }

    .dmpro-login-box .forgetmenot {
        margin-bottom: 15px;
    }

    .dmpro-login-box .submit {
        text-align: center;
    }

    .dmpro-login-box input[type="submit"] {
        background-color: #D22758;
        color: white;
        border: none;
        padding: 12px 30px;
        border-radius: 3px;
        font-size: 14px;
        cursor: pointer;
        width: 100%;
    }

    .dmpro-login-box input[type="submit"]:hover {
        background-color: #b81e4a;
    }

    /* Responsive adjustments */
    @media (max-width: 1200px) {
        .dmpro-filter-row.dmpro-grid-5 {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    @media (max-width: 992px) {

        .dmpro-filter-row.dmpro-grid-3,
        .dmpro-filter-row.dmpro-grid-4,
        .dmpro-filter-row.dmpro-grid-5 {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {

        .dmpro-filter-row.dmpro-grid-3,
        .dmpro-filter-row.dmpro-grid-4,
        .dmpro-filter-row.dmpro-grid-5 {
            grid-template-columns: 1fr;
        }
    }

    /* ========================================
       ENHANCED Q&A SYSTEM STYLES
       ======================================== */

    /* Ask a Question Button */
    .dmpro-ask-btn {
        background-color: #10b981;
        color: #fff;
        border: none;
        padding: 8px 16px;
        border-radius: 3px;
        cursor: pointer;
        font-size: 14px;
        width: 100%;
        margin-top: 8px;
        transition: background-color 0.2s ease;
    }

    .dmpro-ask-btn:hover {
        background-color: #059669;
    }

    .dmpro-card-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 12px;
    }

    /* Question Center Styles */
    .dmpro-question-center {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

    .dmpro-qa-filters {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: 15px;
        margin-bottom: 20px;
    }

    .dmpro-question-group {
        background: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 20px;
        margin-bottom: 20px;
    }

    .dmpro-question-group-header h3 {
        margin: 0 0 8px 0;
        color: #111827;
        font-size: 18px;
    }

    .dmpro-question-group-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        font-size: 13px;
        color: #6b7280;
        margin-bottom: 16px;
    }

    .dmpro-question-group-meta span {
        background: #f3f4f6;
        padding: 4px 8px;
        border-radius: 4px;
    }

    .dmpro-question-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .dmpro-question-item {
        background: #f9fafb;
        border: 1px solid #e5e7eb;
        border-radius: 6px;
        padding: 16px;
        transition: all 0.2s ease;
    }

    .dmpro-question-item:hover {
        border-color: #d1d5db;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .dmpro-question-item-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
    }

    .dmpro-question-status {
        display: inline-block;
        padding: 4px 12px;
        border-radius: 12px;
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
    }

    .dmpro-question-time {
        font-size: 12px;
        color: #9ca3af;
    }

    .dmpro-question-message {
        color: #374151;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .dmpro-question-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 12px;
        border-top: 1px solid #e5e7eb;
    }

    .dmpro-question-admin {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: #6b7280;
    }

    .dmpro-question-stats {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 13px;
        color: #6b7280;
    }

    .dmpro-view-question-btn {
        background-color: #3b82f6;
        color: #fff;
        border: none;
        padding: 6px 12px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 13px;
        transition: background-color 0.2s ease;
    }

    .dmpro-view-question-btn:hover {
        background-color: #2563eb;
    }

    /* Question Modal */
    .dmpro-question-modal-content {
        max-width: 800px;
        max-height: 90vh;
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .dmpro-question-context {
        background: #f9fafb;
        padding: 16px;
        border-bottom: 1px solid #e5e7eb;
        margin-bottom: 16px;
    }

    .dmpro-question-context h4 {
        margin: 0 0 8px 0;
        font-size: 14px;
        color: #6b7280;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .dmpro-question-thread {
        flex: 1;
        overflow-y: auto;
        padding: 0 16px;
    }

    .dmpro-question-thread h4 {
        margin: 0 0 12px 0;
        font-size: 14px;
        color: #6b7280;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .dmpro-chat-message-admin,
    .dmpro-chat-message-user {
        margin-bottom: 16px;
        padding: 12px;
        border-radius: 8px;
    }

    .dmpro-chat-message-admin {
        background: #ecfdf5;
        border-left: 3px solid #10b981;
    }

    .dmpro-chat-message-user {
        background: #eff6ff;
        border-left: 3px solid #3b82f6;
    }

    .dmpro-chat-message-header {
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;
        font-size: 13px;
    }

    .dmpro-chat-message-header strong {
        color: #111827;
    }

    .dmpro-chat-message-time {
        color: #9ca3af;
        font-size: 12px;
    }

    .dmpro-chat-message-body {
        color: #374151;
        line-height: 1.6;
    }

    .dmpro-chat-attachment {
        margin-top: 8px;
    }

    .dmpro-chat-attachment img {
        max-width: 200px;
        border-radius: 8px;
        cursor: pointer;
        transition: transform 0.2s ease;
    }

    .dmpro-chat-attachment img:hover {
        transform: scale(1.05);
    }

    /* Responsive Design for Q&A */
    @media (max-width: 768px) {
        .dmpro-qa-filters {
            grid-template-columns: 1fr;
        }

        .dmpro-question-footer {
            flex-direction: column;
            align-items: flex-start;
            gap: 12px;
        }

        .dmpro-question-stats {
            width: 100%;
            justify-content: space-between;
        }

        .dmpro-question-modal-content {
            max-width: 95vw;
            max-height: 95vh;
        }
    }