/* ========================================
   Member Navbar - Matches Existing Design
   ======================================== */

.dmpro-member-navbar {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px 0;
    margin-bottom: 24px;
    font-family: 'Geist', sans-serif;
}

.dmpro-member-navbar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dmpro-member-welcome {
    font-size: 15px;
    color: #374151;
}

.dmpro-member-welcome strong {
    color: #111827;
    font-weight: 600;
}

.dmpro-member-navbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* My Messages Button */
.dmpro-btn-messages {
    position: relative !important;
    background: transparent;
    border: none;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 0 8px 0 0 !important;
    font-family: 'Geist', sans-serif;
    transition: color 0.2s;
    text-decoration: none;
    display: inline-block !important;
}

.dmpro-btn-messages:hover {
    color: #dc2626;
}

.dmpro-messages-badge {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #dc2626;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    line-height: 1;
}

/* Logout Link */
.dmpro-logout-link {
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.dmpro-logout-link:hover {
    color: #dc2626;
}

/* ========================================
   Ask Question Popup - Large, Clean, Modern
   ======================================== */

#dmpro-question-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999998;
    backdrop-filter: blur(2px);
}

#dmpro-question-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 1200px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 999999;
    font-family: 'Geist', sans-serif;
}

.dmpro-question-header {
    padding: 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.dmpro-question-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
    word-wrap: break-word;
    line-height: 1.4;
}

.dmpro-question-subtitle {
    font-size: 14px;
    color: #6b7280;
}

#dmpro-question-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
    line-height: 1;
}

#dmpro-question-close:hover {
    background: #f3f4f6;
    color: #111827;
}

.dmpro-question-body {
    padding: 24px 32px;
    max-width: 100%;
}

.dmpro-field-group {
    margin-bottom: 20px;
    width: 100% !important;
    max-width: 100% !important;
}

.dmpro-question-body {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.dmpro-question-body .dmpro-field-group input,
.dmpro-question-body .dmpro-field-group select,
.dmpro-question-body .dmpro-field-group textarea {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.dmpro-question-body .dmpro-admin-selection-container {
    width: 100% !important;
    max-width: 100% !important;
}

.dmpro-field-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.dmpro-input-text,
.dmpro-input-select {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    padding: 16px 20px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-family: 'Geist', sans-serif !important;
    transition: all 0.2s !important;
    background: #ffffff !important;
    color: #111827 !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
}

/* Ensure question popup dropdown shows preview like My Messages */
#dmpro-question-popup .dmpro-input-select {
    color: #111827 !important;
}

#dmpro-question-popup .dmpro-input-select option {
    color: #111827 !important;
    display: block !important;
}

#dmpro-question-popup .dmpro-input-select option:first-child {
    color: #111827 !important;
}

.dmpro-input-select {
    padding-right: 45px !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 20px center !important;
    background-size: 12px !important;
    background-color: #fff !important;
    overflow: visible !important;
    text-overflow: clip !important;
    color: #111827 !important;
}

.dmpro-input-select option {
    padding: 8px 12px !important;
    white-space: normal !important;
    overflow: visible !important;
    color: #111827 !important;
    display: block !important;
}

/* CRITICAL: Ensure the first option (default) is always visible */
.dmpro-input-select option:first-child {
    color: #111827 !important;
    display: block !important;
}

.dmpro-input-select option[value=""] {
    color: #111827 !important;
}

.dmpro-input-select option[value="0"] {
    color: #111827 !important;
}

.dmpro-input-text:focus,
.dmpro-input-select:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

.dmpro-input-text::placeholder {
    color: #9ca3af;
}

textarea.dmpro-input-text {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
    padding: 16px;
}

/* Admin Selection - Picture Grid */
.dmpro-admin-selection-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 8px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.dmpro-admin-selection-container::-webkit-scrollbar {
    height: 6px;
}

.dmpro-admin-selection-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.dmpro-admin-selection-container::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.dmpro-admin-selection-container::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.dmpro-admin-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
    padding: 6px;
    border-radius: 8px;
    min-width: 70px;
    flex-shrink: 0;
}

.dmpro-admin-option:hover {
    background: #f9fafb;
}

.dmpro-admin-option.selected {
    background: #fef2f2;
}

.dmpro-admin-avatar-wrapper {
    position: relative;
    margin-bottom: 6px;
}

.dmpro-admin-avatar-select {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
    transition: all 0.2s;
}

.dmpro-admin-option.selected .dmpro-admin-avatar-select {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.dmpro-admin-checkmark {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    background: #dc2626;
    color: white;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    border: 2px solid white;
}

.dmpro-admin-option.selected .dmpro-admin-checkmark {
    display: flex;
}

.dmpro-admin-name {
    font-size: 11px;
    font-weight: 500;
    color: #374151;
    text-align: center;
    line-height: 1.3;
    max-width: 70px;
    word-wrap: break-word;
}

.dmpro-admin-option.selected .dmpro-admin-name {
    color: #dc2626;
    font-weight: 600;
}

.dmpro-question-actions {
    margin-top: 24px;
}

.dmpro-btn-primary {
    width: 100%;
    padding: 12px 20px;
    background: #dc2626;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Geist', sans-serif;
}

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

.dmpro-btn-primary:active {
    transform: translateY(0);
}

.dmpro-btn-primary:disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

/* ========================================
   Question History Popup - Full Screen
   ======================================== */

.dmpro-history-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 999999;
    overflow-y: auto;
    font-family: 'Geist', sans-serif;
}

.dmpro-history-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.dmpro-history-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #111827;
}

.dmpro-history-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
    line-height: 1;
}

.dmpro-history-close:hover {
    background: #f3f4f6;
    color: #111827;
}

.dmpro-history-filters {
    background: #f9fafb;
    padding: 20px 32px;
    border-bottom: 1px solid #e5e7eb;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.dmpro-history-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px;
}

.dmpro-history-empty {
    text-align: center;
    color: #6b7280;
    padding: 60px 20px;
    font-size: 15px;
}

.dmpro-history-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.dmpro-history-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

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

.dmpro-history-item-subject {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.dmpro-history-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #6b7280;
}

.dmpro-history-admin {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dmpro-admin-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.dmpro-history-item-preview {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 8px;
}

.dmpro-history-messages {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.dmpro-history-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.dmpro-history-message.member {
    background: #f9fafb;
}

.dmpro-history-message.admin {
    background: #fef2f2;
    border-left: 3px solid #dc2626;
}

.dmpro-history-message-meta {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
    font-weight: 500;
}

.dmpro-history-message-text {
    color: #374151;
    line-height: 1.5;
    font-size: 14px;
}

/* ========================================
   Status Badges
   ======================================== */

.dmpro-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.dmpro-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.dmpro-status-assigned {
    background: #dbeafe;
    color: #1e40af;
}

.dmpro-status-answered {
    background: #10b981;
    color: #ffffff;
    font-weight: 500;
}

/* ========================================
   Notices
   ======================================== */

.dmpro-notice {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}

.dmpro-notice.success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.dmpro-notice.error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.dmpro-notice p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
    .dmpro-member-navbar-content {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .dmpro-member-navbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .dmpro-history-filters {
        grid-template-columns: 1fr;
    }

    #dmpro-question-popup {
        width: 95%;
        max-height: 90vh;
    }

    .dmpro-question-header,
    .dmpro-question-body {
        padding: 20px;
    }

    .dmpro-question-title {
        font-size: 18px;
    }
}

.dmpro-history-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.dmpro-history-item:hover {
    border-color: #dc2626;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.1);
}

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

.dmpro-history-item-subject {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

.dmpro-history-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #6b7280;
}

.dmpro-history-admin {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dmpro-admin-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.dmpro-history-item-preview {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 8px;
}

.dmpro-history-messages {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

.dmpro-history-message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.dmpro-history-message.member {
    background: #f9fafb;
}

.dmpro-history-message.admin {
    background: #fef2f2;
    border-left: 3px solid #dc2626;
}

.dmpro-history-message-meta {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.dmpro-history-message-text {
    color: #374151;
    line-height: 1.6;
}

/* ========================================
   Status Badges
   ======================================== */

.dmpro-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.dmpro-status-pending {
    background: #fef3c7;
    color: #92400e;
}

.dmpro-status-assigned {
    background: #dbeafe;
    color: #1e40af;
}

.dmpro-status-answered {
    background: #10b981;
    color: #ffffff;
    font-weight: 500;
}

/* ========================================
   Responsive Design
   ======================================== */

/* ========================================
   My Messages Page
   ======================================== */

.dmpro-my-messages-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 999999;
    overflow-y: auto;
    font-family: 'Geist', sans-serif;
}

.dmpro-messages-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.dmpro-messages-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #111827;
}

.dmpro-messages-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #9ca3af;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
    line-height: 1;
}

.dmpro-messages-close:hover {
    background: #f3f4f6;
    color: #111827;
}

.dmpro-messages-filters {
    background: #f9fafb;
    padding: 20px 32px;
    border-bottom: 1px solid #e5e7eb;
}

.dmpro-messages-filter-row {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
}

.dmpro-messages-filter-row .dmpro-filter-group {
    flex-shrink: 0 !important;
    min-width: 180px !important;
    width: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.dmpro-messages-filter-row .dmpro-filter-search {
    flex: 1 !important;
    min-width: 250px !important;
}

.dmpro-messages-filter-row .dmpro-filter-group {
    overflow: visible !important;
}

.dmpro-messages-filter-row .dmpro-filter-group input,
.dmpro-messages-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: 42px !important;
    font-size: 14px !important;
    border: 1px solid #d1d5db !important;
    border-radius: 6px !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
}

.dmpro-messages-filter-row .dmpro-filter-group select {
    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;
    background-color: #fff !important;
}

.dmpro-messages-cards {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.dmpro-message-card {
    background: transparent;
    border-radius: 0;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    box-shadow: none;
    border: none;
    border-bottom: 1px solid #f3f4f6;
}

.dmpro-message-card:last-child {
    border-bottom: none;
}

.dmpro-message-card:hover {
    background: #f9fafb;
}

.dmpro-message-card.has-new {
    background: #fef2f2;
    border-left: 3px solid #dc2626;
    padding-left: 21px;
}

.dmpro-message-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.dmpro-message-card-subject {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    flex: 1;
}

/* "New" text label removed - badge logic handled by has-new class (red border/background) */

.dmpro-message-card-preview {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dmpro-message-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 0;
    border-top: none;
}

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

.dmpro-message-card-button {
    background: #dc2626;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.dmpro-message-card-button:hover {
    background: #b91c1c;
}

.dmpro-messages-empty {
    text-align: center;
    color: #6b7280;
    padding: 60px 20px;
    font-size: 15px;
    grid-column: 1 / -1;
}

/* Conversation View */
.dmpro-messages-conversation-view {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 80px);
}

.dmpro-conversation-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dmpro-conversation-back {
    background: none;
    border: none;
    color: #374151;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.dmpro-conversation-back:hover {
    background: #f3f4f6;
    color: #111827;
}

.dmpro-conversation-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    flex: 1;
    text-align: center;
}

.dmpro-conversation-thread {
    flex: 1;
    overflow-y: auto;
    padding: 24px 32px;
    background: #f9fafb;
}

.dmpro-conversation-message {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.dmpro-conversation-message.admin {
    flex-direction: row-reverse;
}

.dmpro-conversation-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.dmpro-conversation-content {
    flex: 1;
    max-width: 70%;
}

.dmpro-conversation-message.admin .dmpro-conversation-content {
    text-align: right;
}

.dmpro-conversation-author {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.dmpro-conversation-text {
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #374151;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dmpro-conversation-message.admin .dmpro-conversation-text {
    background: #fef2f2;
    border-left: 3px solid #dc2626;
}

.dmpro-conversation-time {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 4px;
}

.dmpro-conversation-attachment {
    margin-top: 8px;
    max-width: 300px;
}

.dmpro-conversation-attachment img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.dmpro-conversation-reply {
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 20px 32px;
}

.dmpro-conversation-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .dmpro-member-navbar-content {
        flex-direction: column;
        gap: 12px;
    }

    .dmpro-history-filters {
        grid-template-columns: 1fr;
    }

    #dmpro-question-popup {
        width: 95%;
        max-height: 95vh;
    }

    .dmpro-messages-cards {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .dmpro-conversation-content {
        max-width: 85%;
    }
}