/* request_viewer.css - Styles for Request Details Viewer Overlay */
/* Updated to match multi_view_main.css table styling with proper three-column layouts */

.request-viewer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    font-family: Arial, sans-serif;
}

.request-viewer-overlay.active {
    display: flex;
}

.request-viewer-modal {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
}

/* Header styling to match multi_view_main.css top-bar */
.request-viewer-header {
    background-color: #0D882C;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.request-viewer-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.request-viewer-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.request-viewer-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Content area - no padding to let tables fill */
.request-viewer-content {
    padding: 20px;
    background-color: #f8f9fa;
}

/* Section styling */
.request-viewer-section {
    border-bottom: 1px solid #dee2e6;
}

.request-viewer-section:last-child {
    border-bottom: none;
}

/* Table styling to match multi_view_main.css */
.request-viewer-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    font-size: 13px;
}

/* Section headers - spanning full width with consistent styling */
.section-header {
    background-color: #e9ecef;
    font-weight: bold;
    font-size: 14px;
    padding: 10px;
    text-align: left;
    border: 1px solid #dee2e6;
}

/* Table headers and cells */
.request-viewer-table th,
.request-viewer-table td {
    border: 1px solid #dee2e6;
    padding: 8px 10px;
    text-align: left;
    vertical-align: top;
}

.request-viewer-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    width: 25%;
}

.request-viewer-table td {
    background-color: white;
}

/* Three-column equal width layout for Time Information and Review Information */
.request-viewer-table thead tr:not(:first-child) th {
    width: 33.333%;
    background-color: #dee2e6;
    font-weight: bold;
    text-align: center;
}

/* Override for three-column data cells */
.request-viewer-table tbody td {
    width: 33.333%;
}

/* Alternating row colors to match multi_view_main.css */
.request-viewer-table tbody tr:nth-child(even) td {
    background-color: #f8f9fa;
}

.request-viewer-table tbody tr:hover td {
    background-color: #e2e6ea;
}

/* Status badge styling */
.request-state-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    text-transform: capitalize;
}

/* Status badge colors matching the original design */
.request-state-badge.filed { 
    background-color: #fef3c7; 
    color: #92400e; 
}

.request-state-badge.primary-notified,
.request-state-badge.primary-reviewed { 
    background-color: #dbeafe; 
    color: #1e40af; 
}

.request-state-badge.secondary-notified,
.request-state-badge.secondary-reviewed { 
    background-color: #e0e7ff; 
    color: #4338ca; 
}

.request-state-badge.tertiary-notified,
.request-state-badge.tertiary-reviewed { 
    background-color: #ede9fe; 
    color: #6d28d9; 
}

.request-state-badge.accepted { 
    background-color: #d1fae5; 
    color: #065f46; 
}

.request-state-badge.rejected { 
    background-color: #fee2e2; 
    color: #991b1b; 
}

.request-state-badge.canceled { 
    background-color: #f3f4f6; 
    color: #374151; 
}

/* Description cell styling for text content */
.description-cell {
    word-wrap: break-word;
    white-space: pre-wrap;
    line-height: 1.4;
    padding: 12px 10px;
}

/* Reviewer status styling */
.reviewer-status {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    background-color: #e9ecef;
    color: #495057;
    display: inline-block;
    text-align: center;
}

/* Specific reviewer status colors */
.reviewer-status.accept,
.reviewer-status.accepted,
.reviewer-status.approved {
    background-color: #d1fae5;
    color: #065f46;
}

.reviewer-status.rejected {
    background-color: #fee2e2;
    color: #991b1b;
}

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

.reviewer-status.notified {
    background-color: #dbeafe;
    color: #1e40af;
}

.reviewer-status.not-reached,
.reviewer-status.not-required {
    background-color: #f3f4f6;
    color: #6b7280;
}

.reviewer-status.canceled {
    background-color: #f1f3f5;
    color: #6c757d;
}

/* Review-specific cell styling */
.reviewer-name-cell {
    font-size: 12px;
    line-height: 1.4;
    font-weight: normal;
}

.decision-time {
    color: #6c757d;
    font-size: 11px;
    font-family: monospace;
    font-weight: normal;
}

/* Decision cell alignment */
.decision-cell {
    text-align: center;
    vertical-align: middle;
    line-height: 1.3;
}

.review-comment-cell {
    font-size: 12px;
    line-height: 1.3;
    word-wrap: break-word;
    white-space: pre-wrap;
    max-width: 200px;
}

/* Time information cells */
.time-cell {
    text-align: center;
    font-family: monospace;
    font-size: 12px;
}

.duration-cell {
    text-align: center;
    font-weight: bold;
    color: #495057;
}

/* Footer styling */
/* Footer is a single flex row.  Layout from left → right:
     [nav-group] [Close] ……(auto-gap)…… [Delete Record]
   The auto gap before Delete (margin-left:auto) keeps the destructive action
   far from the navigation cluster so the user can't fat-finger it while
   walking through siblings (Issue 19). */
.request-viewer-footer {
    padding: 15px 20px;
    border-top: 1px solid #dee2e6;
    background-color: #f8f9fa;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
}

/* Cancel-/review-overlay version of .queue-nav-group carries
   `margin-right: auto` to push *its* action buttons to the right.  In the
   request viewer the order is reversed (Close hugs the nav cluster), so we
   neutralize that auto-margin here. */
.request-viewer-footer .queue-nav-group {
    margin-right: 0;
}

.request-viewer-footer > .request-viewer-btn-secondary,
.request-viewer-footer > .request-viewer-btn-danger {
    white-space: nowrap;
    flex-shrink: 0;     /* never let Delete or Close wrap off the line */
}

/* Push Delete Record to the far right — auto left-margin consumes all the
   slack between Close and Delete.  When Delete is hidden (style:display:none
   for non-HR / non-deletable requests) the auto-margin has no effect and
   Close simply sits next to the nav cluster, which is fine. */
.request-viewer-footer #request-viewer-delete {
    margin-left: auto;
}

/* Queue navigation badge — viewer variant.
   The base `.queue-position-badge` rule (in request_cancel_review.css) gives
   the circular shape and font; this `--info` modifier paints it green to
   match the `.request-viewer-header` (the cancel/review variants paint it
   yellow / orange to match their respective headers). */
.queue-position-badge--info {
    background-color: #0D882C;
    color: white;
    border-color: #0a6e23;
}

/* Queue nav buttons (‹ ›) used inside the request-viewer footer.  They wear
   the `.request-viewer-btn-secondary` style by default (white bg, gray
   border) so the disabled-state styling defined for the cancel/review
   context (gray bg / white text) doesn't make sense here.  Override the
   disabled appearance to fade the chevron without inverting the colors. */
.request-viewer-footer .queue-nav-btn {
    /* Slightly tighter than the cancel/review variant, since the request
       viewer footer rows share space with Delete + Close on the right. */
    min-width: 32px !important;
    padding: 4px 10px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.request-viewer-footer .queue-nav-btn:disabled,
.request-viewer-footer .queue-nav-btn:disabled:hover {
    background: white !important;
    border-color: #dee2e6 !important;
    color: #adb5bd !important;
    opacity: 0.6;
    cursor: not-allowed;
}

.nav-position {
    font-size: 13px;
    color: #6c757d;
    white-space: nowrap;
}

.request-viewer-btn-secondary {
    padding: 8px 16px;
    border: 1px solid #6c757d;
    background: white;
    color: #495057;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.request-viewer-btn-secondary:hover {
    background-color: #e9ecef;
    border-color: #5a6268;
}

/* Responsive design */
@media (max-width: 768px) {
    /* Full-screen sheet on mobile. Header sticks at the top, footer sticks
       at the bottom, content scrolls in the middle. Drag is mouse-only and
       a no-op on touch; the .dragging visual hook is neutralized below. */
    .request-viewer-overlay {
        padding: 0;
    }

    .request-viewer-modal {
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .request-viewer-header {
        padding: 12px 16px;
        position: sticky;
        top: 0;
        z-index: 1;
        border-radius: 0;
        cursor: default;
        flex-shrink: 0;
    }

    .request-viewer-header h3 {
        font-size: 1.1rem;
    }

    /* The grabber pseudo-element ("⋯⋯") is desktop-only chrome; hide it
       on mobile where dragging doesn't apply. */
    .request-viewer-header::before {
        display: none;
    }

    .request-viewer-modal.dragging {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        cursor: default;
    }

    .request-viewer-content {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }

    .request-viewer-footer {
        padding: 12px 16px;
        position: sticky;
        bottom: 0;
        z-index: 1;
        border-radius: 0;
        flex-shrink: 0;
    }

    .request-viewer-btn-secondary,
    .request-viewer-btn-danger {
        min-height: 44px;
    }

    /* Table styling tweaks for narrow viewports */
    .request-viewer-table {
        font-size: 12px;
    }

    .request-viewer-table th,
    .request-viewer-table td {
        padding: 6px 8px;
    }

    /* Adjust three-column layouts for mobile */
    .request-viewer-table thead tr:not(:first-child) th,
    .request-viewer-table tbody td {
        width: auto;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    /* Very small screens - vertical layout */
    .request-viewer-table th,
    .request-viewer-table td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }
    
    .request-viewer-table th {
        background-color: #e9ecef;
        font-weight: bold;
        border-bottom: none;
    }
    
    .request-viewer-table td {
        border-top: none;
        padding-left: 20px;
        margin-bottom: 5px;
    }
}

/* Print styles */
@media print {
    .request-viewer-overlay {
        position: static;
        background: none;
        display: block;
    }
    
    .request-viewer-modal {
        box-shadow: none;
        max-width: none;
        max-height: none;
        width: 100%;
        border: 1px solid #dee2e6;
    }
    
    .request-viewer-close,
    .request-viewer-footer {
        display: none;
    }
    
    .request-viewer-header {
        background-color: #f8f9fa !important;
        color: #495057 !important;
        border-bottom: 2px solid #dee2e6;
    }
    
    .request-viewer-table {
        page-break-inside: avoid;
    }
    
    .section-header {
        page-break-after: avoid;
    }
    
    /* Ensure proper spacing for print */
    .request-viewer-section {
        margin-bottom: 15px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .request-viewer-overlay {
        background-color: rgba(0, 0, 0, 0.8);
    }
    
    .request-viewer-table th,
    .request-viewer-table td {
        border: 2px solid #000;
    }
    
    .section-header {
        border: 2px solid #000;
        background-color: #fff;
        color: #000;
    }
    
    .request-state-badge,
    .reviewer-status {
        border: 1px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .request-viewer-close,
    .request-viewer-btn-secondary {
        transition: none;
    }
}

/* Add these CSS rules to request_viewer.css */

/* Modal positioning for dragging */
.request-viewer-modal {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    transition: box-shadow 0.2s ease; /* Smooth shadow transition */
}

/* Enhanced shadow when dragging */
.request-viewer-modal.dragging {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    z-index: 10001;
}

/* Header cursor and visual feedback */
.request-viewer-header {
    background-color: #0D882C;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px 8px 0 0;
    cursor: move; /* Always show move cursor on header */
    user-select: none; /* Prevent text selection in header */
}

/* Subtle visual feedback on header hover */
.request-viewer-header:hover {
    background-color: #0b7a26;
}

/* Prevent text selection during drag */
.request-viewer-modal.dragging * {
    user-select: none !important;
    pointer-events: none;
}

/* Keep close button interactive during drag */
.request-viewer-modal.dragging .request-viewer-close {
    pointer-events: auto;
}

/* Ensure modal stays within viewport bounds */
.request-viewer-overlay.active .request-viewer-modal {
    /* Remove centering when dragging is active */
    position: relative;
}

/* Add a subtle grab cursor hint */
.request-viewer-header::before {
    content: "⋯⋯"; /* Subtle drag indicator */
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    font-size: 14px;
    pointer-events: none;
}

.request-viewer-btn-danger {
    background-color: #dc2626;
    border-color: #dc2626;
    color: white;
}

/* =================================================================
   DELETE CONFIRMATION DIALOG STYLES
   ================================================================= */

/* Delete Confirmation Dialog Overlay */
.delete-confirmation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001; /* Higher than request viewer overlay (10000) */
    backdrop-filter: blur(2px);
}

.delete-confirmation-dialog {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: deleteDialogSlideIn 0.2s ease-out;
}

@keyframes deleteDialogSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.delete-dialog-header {
    background: #dc3545;
    color: white;
    padding: 16px 20px;
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid #c82333;
}

.delete-dialog-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.delete-dialog-content {
    padding: 20px;
}

.delete-dialog-content p {
    margin: 0 0 16px 0;
    color: #495057;
    line-height: 1.5;
}

.delete-request-details {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 12px 16px;
    margin: 16px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #495057;
}

.delete-request-details strong {
    color: #212529;
}

.delete-reason-section {
    margin-top: 20px;
}

.delete-reason-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #495057;
    font-size: 14px;
}

.delete-reason-section textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
    resize: vertical;
    min-height: 80px;
    box-sizing: border-box;
}

.delete-reason-section textarea:focus {
    outline: none;
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.delete-dialog-footer {
    padding: 16px 20px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    border-radius: 0 0 8px 8px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.delete-cancel-btn,
.delete-confirm-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
}

.delete-cancel-btn {
    background: #6c757d;
    color: white;
}

.delete-cancel-btn:hover {
    background: #5a6268;
}

.delete-cancel-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
}

.delete-confirm-btn {
    background: #dc3545;
    color: white;
}

.delete-confirm-btn:hover {
    background: #c82333;
}

.delete-confirm-btn:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
}

/* =================================================================
   ENHANCED BUTTON STYLES FOR DELETE FUNCTIONALITY
   ================================================================= */

/* Update existing danger button styles */
.request-viewer-btn-danger {
    background: #dc3545;
    color: white;
    border: 1px solid #dc3545;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.request-viewer-btn-danger:hover:not(:disabled) {
    background: #c82333;
    border-color: #bd2130;
}

.request-viewer-btn-danger:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Loading state for delete button */
.request-viewer-btn-danger.loading {
    opacity: 0.7;
    cursor: not-allowed;
    position: relative;
}

.request-viewer-btn-danger.loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =================================================================
   HEADER CONTROLS ENHANCEMENT
   ================================================================= */

/* Add proper header controls layout */
.request-viewer-header .header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.request-viewer-minimize {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    line-height: 1;
}

.request-viewer-minimize:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Minimized state */
.request-viewer-modal.minimized {
    width: 300px;
    height: auto;
    max-height: none;
    overflow: visible;
}

.request-viewer-modal.minimized .request-viewer-content,
.request-viewer-modal.minimized .request-viewer-footer {
    display: none;
}

/* =================================================================
   RESPONSIVE STYLES FOR DELETE DIALOG
   ================================================================= */

@media (max-width: 576px) {
    .delete-confirmation-dialog {
        width: 95%;
        margin: 20px;
    }
    
    .delete-dialog-header,
    .delete-dialog-content,
    .delete-dialog-footer {
        padding: 16px;
    }
    
    .delete-dialog-footer {
        flex-direction: column-reverse;
    }
    
    .delete-cancel-btn,
    .delete-confirm-btn {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .delete-confirm-btn {
        margin-bottom: 0;
    }
}

/* =================================================================
   DARK MODE SUPPORT FOR DELETE DIALOG
   ================================================================= */

@media (prefers-color-scheme: dark) {
    .delete-confirmation-dialog {
        background: #343a40;
        color: #f8f9fa;
    }
    
    .delete-dialog-content p {
        color: #ced4da;
    }
    
    .delete-request-details {
        background: #495057;
        border-color: #6c757d;
        color: #ced4da;
    }
    
    .delete-request-details strong {
        color: #f8f9fa;
    }
    
    .delete-reason-section label {
        color: #ced4da;
    }
    
    .delete-reason-section textarea {
        background: #495057;
        border-color: #6c757d;
        color: #f8f9fa;
    }
    
    .delete-reason-section textarea:focus {
        border-color: #80bdff;
    }
    
    .delete-dialog-footer {
        background: #495057;
        border-color: #6c757d;
    }
}

/* =================================================================
   HIGH CONTRAST AND ACCESSIBILITY ENHANCEMENTS
   ================================================================= */

@media (prefers-contrast: high) {
    .delete-confirmation-overlay {
        background-color: rgba(0, 0, 0, 0.9);
    }
    
    .delete-confirmation-dialog {
        border: 2px solid #000;
    }
    
    .delete-dialog-header {
        border-bottom: 2px solid #000;
    }
    
    .delete-request-details {
        border: 2px solid #000;
    }
    
    .delete-cancel-btn,
    .delete-confirm-btn {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .delete-confirmation-dialog {
        animation: none;
    }

    .delete-cancel-btn,
    .delete-confirm-btn,
    .request-viewer-btn-danger {
        transition: none;
    }

    .request-viewer-btn-danger.loading::after {
        animation: none;
    }
}

/* =================================================================
   MOBILE SHEET TREATMENT — must live at the very end of this file.
   The earlier @media (max-width: 768px) block (lines ~309–391) sets
   the mobile sheet up, but several later rules at file scope
   (.request-viewer-modal, .request-viewer-header, the "⋯⋯" grabber,
   .request-viewer-overlay.active .request-viewer-modal) re-declare
   the same properties and — because media queries do NOT add
   specificity — win on equal specificity by source order. To make
   the mobile overrides actually apply, the rules that conflict with
   those later file-scope rules are repeated here, after them.
   ================================================================= */
@media (max-width: 768px) {
    .request-viewer-overlay {
        padding: 0;
    }

    /* Wins over the duplicate `.request-viewer-modal` at line ~490
       (90 % / max-width 900 px / max-height 85 vh / position: relative). */
    .request-viewer-modal,
    .request-viewer-overlay.active .request-viewer-modal {
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
        height: 100dvh;
        max-height: 100dvh;
        border-radius: 0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    /* Wins over the duplicate `.request-viewer-header` at line ~509
       (cursor: move). */
    .request-viewer-header {
        position: sticky;
        top: 0;
        z-index: 1;
        border-radius: 0;
        cursor: default;
        flex-shrink: 0;
    }

    /* Wins over the `::before { content: "⋯⋯" }` drag-grabber hint —
       desktop-only chrome, irrelevant on touch. */
    .request-viewer-header::before {
        content: none;
        display: none;
    }

    .request-viewer-modal.dragging {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
        cursor: default;
    }

    .request-viewer-content {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }

    .request-viewer-footer {
        position: sticky;
        bottom: 0;
        z-index: 1;
        border-radius: 0;
        flex-shrink: 0;
    }

    .request-viewer-btn-secondary,
    .request-viewer-btn-danger {
        min-height: 44px;
    }
}