﻿/*Css Medium Devices*/
/*Ipad Mini, Ipad Air, Surface Pro 7, Asus Zenbook fold*/
@media (min-width: 700px) and (max-width: 1024px) {
    /* Padding Top */
    .md-pt-0 {
        padding-top: 0px !important;
    }

    .md-pt-1 {
        padding-top: 4px !important;
    }

    .md-pt-2 {
        padding-top: 8px !important;
    }

    .md-pt-3 {
        padding-top: 12px !important;
    }

    .md-pt-4 {
        padding-top: 16px !important;
    }

    /* Padding Bottom */
    .md-pb-0 {
        padding-bottom: 0px !important;
    }

    .md-pb-1 {
        padding-bottom: 4px !important;
    }

    .md-pb-2 {
        padding-bottom: 8px !important;
    }

    .md-pb-3 {
        padding-bottom: 12px !important;
    }

    .md-pb-4 {
        padding-bottom: 16px !important;
    }

    /* Padding Left */
    .md-pl-0 {
        padding-left: 0px !important;
    }

    .md-pl-1 {
        padding-left: 4px !important;
    }

    .md-pl-2 {
        padding-left: 8px !important;
    }

    .md-pl-3 {
        padding-left: 12px !important;
    }

    .md-pl-4 {
        padding-left: 16px !important;
    }

    /* Padding Right */
    .md-pr-0 {
        padding-right: 0px !important;
    }

    .md-pr-1 {
        padding-right: 4px !important;
    }

    .md-pr-2 {
        padding-right: 8px !important;
    }

    .md-pr-3 {
        padding-right: 12px !important;
    }

    .md-pr-4 {
        padding-right: 16px !important;
    }

    /* Margin Top */
    .md-mt-0 {
        margin-top: 0px !important;
    }

    .md-mt-1 {
        margin-top: 4px !important;
    }

    .md-mt-2 {
        margin-top: 8px !important;
    }

    .md-mt-3 {
        margin-top: 12px !important;
    }

    .md-mt-4 {
        margin-top: 16px !important;
    }

    /* Margin Bottom */
    .md-mb-0 {
        margin-bottom: 0px !important;
    }

    .md-mb-1 {
        margin-bottom: 4px !important;
    }

    .md-mb-2 {
        margin-bottom: 8px !important;
    }

    .md-mb-3 {
        margin-bottom: 12px !important;
    }

    .md-mb-4 {
        margin-bottom: 16px !important;
    }

    /* Margin Left */
    .md-ml-0 {
        margin-left: 0px !important;
    }

    .md-ml-1 {
        margin-left: 4px !important;
    }

    .md-ml-2 {
        margin-left: 8px !important;
    }

    .md-ml-3 {
        margin-left: 12px !important;
    }

    .md-ml-4 {
        margin-left: 16px !important;
    }

    /* Margin Right */
    .md-mr-0 {
        margin-right: 0px !important;
    }

    .md-mr-1 {
        margin-right: 4px !important;
    }

    .md-mr-2 {
        margin-right: 8px !important;
    }

    .md-mr-3 {
        margin-right: 12px !important;
    }

    .md-mr-4 {
        margin-right: 16px !important;
    }

    .md-py-6 {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .mobile-bottom-fix-button {
        right: 23px;
        position: fixed !important;
        bottom: 100px !important;
    }

    .reissue-work-request-body-container {
        padding-bottom: 64px;
    }

    .view-passes-container {
        height: 650px;
        overflow: auto;
        scrollbar-width: thin !important;
        padding: 8px;
    }

    .view-passes-horizontal-container {
        width: 1000px;
    }

    .text-ellipsis {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 140px; /* Adjust as needed */
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
        position: relative;
    }

    .text-ellipsis-supporting-doc {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        max-width: 280px;
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
        position: relative;
    }

    .sm-text-ellipsis-work-order-ref {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        max-width: 168px;
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
        position: relative;
    }

    .text-ellipsis:hover {
        overflow: visible;
        white-space: normal;
        background: #fff;
        z-index: 10;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        padding: 2px 8px;
        border-radius: 4px;
    }

    .file-upload .file-name-in-edit {
        max-width: 155px;
    }


    /******************************Styling for Personnel Emergency Contact*****************************************/
    .tablet-visitor-card {
        border: 1px solid rgba(0, 0, 0, 0.12);
        border-radius: 8px;
        background: #FFFFFF;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    }

        .tablet-visitor-card .content {
            padding-top: 16px !important;
        }

    .tablet-visitor-card--with-cancel .mud-card-content {
        padding-top: 0px !important;
    }

    /* Tablet Visitor Grid - 2 column layout for fields */
    .tablet-visitor-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        margin-bottom: 16px;
    }

    /* Person In Charge section at bottom of card */
    .tablet-person-in-charge-section {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-top: 5px;
    }

        .tablet-person-in-charge-section .personnel-detail-header {
            font-size: 14px;
            color: #666;
            margin: 0;
        }

    /* Hide mobile-specific elements on tablet */
    .tablet-visitor-card .personnel-detail-mobile {
        display: none !important;
    }

    /* Spacing adjustments for tablet fields */
    .tablet-visitor-grid .mud-input {
        margin-bottom: 0;
    }

    /* Preview/Readonly Mode Styles for Tablet */
    .preview-field-row {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 8px 0;
    }

        .preview-field-row:last-child {
            border-bottom: none;
        }

    .preview-field-label {
        font-size: 14px;
        color: #666;
        font-weight: 400;
        flex-shrink: 0;
        min-width: 100px;
        margin-right: 16px;
    }

    .preview-field-value {
        font-size: 14px;
        color: #1A1A1A;
        font-weight: 400;
        text-align: right;
        word-break: break-word;
        flex-grow: 1;
    }

    /* Preview Card Container - 2 cards per row */
    .preview-cards-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 16px;
    }

    .preview-personnel-card {
        border: 1px solid rgba(0, 0, 0, 0.12);
        border-radius: 8px;
        padding: 16px;
        background: #F5F7F7;
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    }

        .preview-personnel-card .preview-field-row:first-child {
            padding-top: 0;
        }

    .tablet-person-in-charge-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .add-pac-wizard-dialog.mud-dialog-width-xl {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        margin-left: 16px !important;
        margin-right: 16px !important;
    }

    /* Dialog margin adjustments for tablets */
    .adjusted-xmargin-tab {
        margin-left: 16px !important;
        margin-right: 16px !important;
    }

    /****************************** Checkout Dialog - Mobile Parity ******************************/
    /* 
     * Checkout Dialog close button positioning matches mobile for consistent UX
     */
    .checkout-dialog-mobile {
        overflow-x: hidden;
    }

        .checkout-dialog-mobile button.mud-button-close {
            top: 28px !important;
        }

    /****************************** View Passes and Permits Dialog - Tablet Optimized (534x605) ******************************/
    /* 
     * View Passes and Permits Dialog uses tablet-optimized layout (EXACTLY 534x605 as per design)
     * Specific to DialogViewPassesPermits component only
     * This is intentionally different from mobile for better readability on larger screens
     */


    /* Passes and Permits Container */
    .passes-permits-container {
        margin-right: 4px !important;
        margin-left: 12px !important;
        width: 534px !important;
        height: 604px !important;
    }

        /* View Passes Dialog Root Container */
        .passes-permits-container .view-passes-dialog {
            padding-top: 12px;
            padding-left: 0px;
        }

        /* Horizontal Scroll Container for Wide ATW Content */
        .passes-permits-container .view-passes-horizontal-container {
            width: 1000px;
            min-width: 1000px;
        }

        /* Fixed Bottom Action Button Section */
        .passes-permits-container .view-passes-action-button {
            width: 100%;
            position: sticky;
            bottom: 0;
            background: white;
            padding: 12px 8px;
            border-top: 1px solid rgba(0, 0, 0, 0.12);
            margin-top: 8px;
            z-index: 10;
        }

        /* ATW Action Buttons Layout */
        .passes-permits-container .view-passes-action-button-action-ATW {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 8px;
            padding: 0 !important;
            margin: 0 !important;
        }

        /* Reset Button Margins */
        .passes-permits-container .view-passes-action-button-email-margin-ATW,
        .passes-permits-container .view-passes-action-button-checkout-margin-ATW,
        .passes-permits-container .view-passes-action-button-print-margin-ATW {
            margin: 0 !important;
        }

        /* Button Padding and Width */
        .passes-permits-container .view-passes-padding-action-button {
            padding-left: 12px !important;
            padding-right: 12px !important;
            min-width: 100px;
        }

        /* Vertical Scrollable Container */
        .passes-permits-container .scrollable-container-vertical {
            height: calc(605px - 100px) !important;
            min-height: 400px !important;
            max-height: 505px !important;
            overflow-y: auto;
            scrollbar-width: thin !important;
            padding-right: 12px;
            box-sizing: content-box;
        }

        /* ATW Container Width */
        .passes-permits-container .view-atw-container {
            width: 96% !important;
            margin-right: 0px !important;
            margin-left: 8px !important;
        }

        /* Email Pass Text Styling */
        .passes-permits-container .email-pass {
            color: var(--Text-Dark-Text-Dark);
            line-height: 16px !important;
            font-family: 'Calibre-R' !important;
            font-size: 16px !important;
        }

        /* Send Email Overflow */
        .passes-permits-container .send-email-overflow {
            overflow: hidden;
        }

        /* PTW Pass and Permit Action Buttons */
        .passes-permits-container .view-passes-action-button-action-PTW {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 8px;
            padding: 12px 8px !important;
            margin: 0 !important;
        }

        .passes-permits-container .view-passes-action-button-print-PTW {
            margin: 0 !important;
        }

        /* Dialog Content Overflow Control - Specific to View Passes Dialog */
        .passes-permits-container .mud-dialog-content {
            padding-right: 8px !important;
            overflow-x: hidden;
        }

            .passes-permits-container .mud-dialog-content .mud-input-control-input-container {
                width: 100%;
            }

        /* Button Hover States */
        .passes-permits-container .view-passes-action-button-action-ATW .mud-button-root:hover,
        .passes-permits-container .view-passes-action-button-action-PTW .mud-button-root:hover {
            background-color: rgba(var(--mud-palette-primary-rgb), 0.08) !important;
        }

        /* Icon Button Styling */
        .passes-permits-container .workrequest-actions .mud-icon-root.mud-svg-icon {
            fill: #003F2D;
        }

        .passes-permits-container .workrequest-actions .view-atw-button {
            padding-top: 0px;
            padding-bottom: 0px;
        }

        .passes-permits-container .icon-button-padding {
            padding: 0px !important;
        }

        /* Custom Scrollbar Styling for Webkit Browsers */
        .passes-permits-container .view-passes-container::-webkit-scrollbar,
        .passes-permits-container .scrollable-container-vertical::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }

        .passes-permits-container .view-passes-container::-webkit-scrollbar-track,
        .passes-permits-container .scrollable-container-vertical::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 4px;
        }

        .passes-permits-container .view-passes-container::-webkit-scrollbar-thumb,
        .passes-permits-container .scrollable-container-vertical::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 4px;
        }

            .passes-permits-container .view-passes-container::-webkit-scrollbar-thumb:hover,
            .passes-permits-container .scrollable-container-vertical::-webkit-scrollbar-thumb:hover {
                background: #555;
            }

        /* Pass Shadow */
        .passes-permits-container .pass {
            box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1) !important;
        }

        /* Minimum Height for Loading State */
        .passes-permits-container .min-height-300 {
            min-height: 300px;
        }

    /**************************************************************************************************************/

    /* Footer Responsive Styles for Tablet */
    footer {
        text-align: center !important;
        padding: 8px 16px !important;
        font-size: 12px !important;
    }


    /* ========================================================
       IPAD / TABLET ENHANCEMENTS FOR HEADER & FOOTER
       Portrait Mode Only (700px - 1024px)
       Enhanced UX for tablet devices while maintaining
       mobile header + bottom navigation structure
    ======================================================== */

    /* ========== HEADER ENHANCEMENTS ========== */

    /* Global Header - Enhanced for tablet */
    .global-header {
        height: 64px !important; /* Increased from 56px for better tablet experience */
        padding: 0px 32px 0px 24px !important; /* More padding for tablet spacing */
    }

    /* Header Logo/Brand Text - Larger for better readability */
    .header-epermit {
        font-size: 22px !important; /* Increased from 20px */
        line-height: 26px !important;
        letter-spacing: -0.33px !important;
        font-weight: 500 !important;
    }

    /* Header Spacer - Adjusted for new height */
    .header-spacer {
        height: 64px !important;
    }

    /* User Menu Button - Larger touch target for tablet */
    .header-user-menu {
        width: 40px !important; /* Increased from 32px */
        height: 40px !important;
        padding: 6px !important;
        font-size: 16px !important; /* Larger initials text */
    }

        /* User Menu Label Text - Better readability */
        .header-user-menu .mud-button-root .mud-button-label {
            font-size: 16px !important; /* Increased from 14px */
            letter-spacing: 0.08px !important;
        }

    /* User Menu Dropdown - Wider for tablet */
    .mud-popover.mud-popover-open.mud-popover-top-right {
        width: 240px !important; /* Increased from 210px */
    }


    /* ========== FOOTER / BOTTOM NAVIGATION ENHANCEMENTS ========== */

    /* Bottom Navigation Container - Enhanced height and shadow */
    .fixed-bottom-nav {
        height: 72px !important; /* Increased from 62px for better tablet touch targets */
        box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.50) !important; /* Slightly softer shadow */
    }

    .bottom-nav-container {
        height: 72px !important;
        padding: 0 16px !important; /* Add horizontal padding for better spacing */
    }

    /* Navigation Items - Better spacing and sizing for tablet */
    .bottom-nav-item {
        height: 72px !important;
        padding: 10px 12px 12px 12px !important; /* More generous padding */
        min-width: 80px !important; /* Minimum width ensures good spacing */
    }

    /* Navigation Icons - Larger for tablet visibility */
    .bottom-Icon {
        height: 28px !important; /* Increased from 24px */
        width: 28px !important;
        margin-bottom: 6px !important;
    }

    /* Navigation Text - Larger and more readable */
    .bottom-nav-item span {
        font-size: 13px !important; /* Increased from 11px */
        font-weight: 400 !important;
        margin-top: -8px !important;
        margin-bottom: 4px !important;
        line-height: 16px !important;
        letter-spacing: 0.02em !important;
    }

    /* Active Navigation Item - Enhanced visual feedback */
    [activeclass='active-menu-item-mobile'] {
        border-bottom: 4px solid var(--dark-green) !important; /* Thicker indicator for tablet */
    }

    /* Active Icon - Better visibility */
    .bottom-nav-item .active {
        fill: var(--dark-green) !important;
        opacity: 1 !important;
    }


    /* ========== LAYOUT ADJUSTMENTS FOR NEW DIMENSIONS ========== */

    /* Main Content - Adjust for new 64px header height */
    .min-viewport-height-mobile {
        min-height: calc(100vh - 64px) !important; /* Adjusted for 64px header */
    }

    /* Content area - Account for larger bottom nav (72px) */
    .work-request-body-container {
        padding-bottom: 88px !important; /* 72px nav + 16px margin */
    }

    .ptw-mobile-activity-body-container {
        padding-bottom: 88px !important;
    }


    .mud-tab.custom-tab-panel-mobile {
        padding: 0px 16px !important;
    }

    /* Dashboard Item List - Adjust max height for new header */
    .mobile-dashboard-item-list-section {
        max-height: calc(100vh - 280px) !important; /* Adjusted for larger header/nav */
    }


    /* ========== TOUCH TARGET IMPROVEMENTS ========== */

    /* Ensure all clickable elements have tablet-appropriate touch targets (min 44-48px) */
    .bottom-nav-item div {
        min-height: 50px !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 4px 8px !important;
    }

    /* User menu touch area */
    .header-user-menu .mud-button-root {
        min-width: 40px !important;
        min-height: 40px !important;
    }


    /* ========== ACCESSIBILITY & VISUAL REFINEMENTS ========== */

    /* Better hover states for navigation - tablet users often use mouse */
    .bottom-nav-item:hover {
        background-color: rgba(0, 63, 45, 0.04) !important;
        transition: background-color 0.2s ease !important;
    }

    /* Improved focus states for keyboard navigation */
    .bottom-nav-item:focus-visible,
    .header-user-menu:focus-visible {
        outline: 2px solid var(--dark-green) !important;
        outline-offset: 2px !important;
    }

    /* Better text contrast for readability */
    .bottom-nav-item span {
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    }


    /* ========== RESPONSIVE REFINEMENTS WITHIN TABLET RANGE ========== */

    .bottom-nav-item span {
        font-size: 12px !important;
    }

    .bottom-nav-container {
        padding: 0 8px !important;
    }

    /* For larger tablets (iPad Air/Pro 900-1024px) */
    @media (min-width: 900px) and (max-width: 1024px) {
        .bottom-nav-item {
            min-width: 100px !important;
            padding: 10px 16px 12px 16px !important;
        }

        .bottom-Icon {
            height: 30px !important;
            width: 30px !important;
        }

        .bottom-nav-item span {
            font-size: 14px !important;
        }

        .header-epermit {
            font-size: 24px !important;
            line-height: 28px !important;
        }
    }


    /* ========== MOBILE DASHBOARD FILTER SECTION - IPAD ADJUSTMENTS ========== */


    /* First item (dropdown) - left alignment */
    .dashboard-grid-filter > .mud-grid-item.pr-0 {
        flex-basis: 20% !important; /* 4/12 columns = 33.333% */
        max-width: 20% !important;
    }

    /* Second item (search) - right alignment */
    .dashboard-grid-filter > .mud-grid-item.pl-0 {
        flex-basis: 80% !important; /* 8/12 columns = 66.667% */
        max-width: 80% !important;
    }

    /* Mobile dashboard header container adjustments */
    .ml-5.mt-4.mb-3.d-flex.flex-wrap {
        padding-left: 24px !important;
        padding-right: 24px !important;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }


    .mud-dialog .mud-dialog-width-md {
        width: 70% !important;
    }

    /* ========== REQUEST TYPE SELECTION DIALOG - IPAD RESPONSIVE WIDTH ========== */

    /* Request Type Selection Dialog - iPad responsive width (no inline style to override) */
    .request-type-selection-dialog.mud-dialog {
        width: 70%;
        max-width: 800px; /* Prevent too wide on larger tablets */
        min-width: 500px; /* Maintain usability and comfortable layout */
    }

    /* Ensure dialog content scales properly */
    .request-type-selection-dialog .mud-dialog-content {
        padding: 24px; /* Better spacing for iPad */
    }

    /* Dialog title styling for iPad */
    .request-type-selection-dialog .emeraldBlackHeading {
        font-size: 20px; /* Slightly larger for iPad readability */
        line-height: 24px;
    }


    /* ========== MOBILE PLANNED MAINTENANCE BUTTON FOOTER - IPAD ADAPTATIONS ========== */

    /* Fixed button footer - enhanced for iPad with proper positioning */
    .sm-fix-button-footer {
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        text-align: center;
        width: 103%;
        left: 0;
        height: 68px;
        box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.60);
        bottom: 0;
        width: 100%;
        width: -webkit-fill-available;
        background-color: var(--white-color);
        color: var(--white-color);
        text-align: center;
        padding-top: 16px !important;
        z-index: 2;
    }

    .work-request-reactive-body-container:has(.sm-fix-button-footer),
    .work-request-remote-body-container:has(.sm-fix-button-footer),
    .work-request-body-container:has(.sm-fix-button-footer) {
        padding-bottom: 70px !important;
    }

    /* ====================================================================
       Mobile Work Request Header Enhancements for iPad
       - Larger text, icons, and spacing for rich user experience
       - Optimized for portrait iPad screens (768-1024px)
       ==================================================================== */

    /* Back Button - Larger touch target */
    .mobile-work-request-header .work-request-header-back-icon {
        margin-left: -4px;
    }

        .mobile-work-request-header .work-request-header-back-icon .mud-icon-root {
            width: 32px !important; /* Larger from 24px */
            height: 32px !important; /* Larger from 22px */
        }

    /* Title - Larger text for iPad */
    .mobile-work-request-header .work-request-title,
    .mobile-dashboard-header .dashboard-header-text {
        font-size: 22px !important; /* Enhanced from 18px */
        font-weight: 600 !important; /* Bolder from 500 */
        padding-top: 6px !important; /* Better vertical alignment */
        line-height: 1.3 !important;
    }

    /* Request Identifier - Larger and more prominent */
    .mobile-work-request-header .work-request-header-identifier {
        font-size: 18px !important; /* Larger for readability */
        font-weight: 600 !important;
        color: var(--light-grey) !important;
        line-height: 1.4 !important;
    }

    /* Request Date - Enhanced readability */
    .mobile-work-request-header .work-request-date {
        font-size: 15px !important; /* Larger from default */
        font-weight: 400 !important;
        margin-top: 4px !important;
        line-height: 1.4 !important;
    }

    /* View ATW Button - Larger icon button */
    .mobile-work-request-header .view-atw-button {
        min-width: 48px !important;
        min-height: 48px !important;
        padding-top: 10px !important;
    }

    .view-atw .view-atw-button {
        min-width: 48px !important;
        min-height: 48px !important;
    }

        .mobile-work-request-header .view-atw-button .mud-icon-root,
        .view-atw .view-atw-button .mud-icon-root {
            width: 28px !important; /* Larger icon */
            height: 28px !important;
        }

    /* Action Buttons (Cancel, Add PAC, Issue ATW) - Enhanced Size.Small */
    .mobile-work-request-header .mud-button-root.mud-button-size-small,
    /* Button margin spacing */
    .mobile-work-request-header .btn-margin {
        margin-left: 14px !important; /* Enhanced from 10px */
    }

    /* View ATW container flex alignment */
    .reactive-request-status-panel {
        max-height: 145px;
    }

        .mobile-work-request-header .view-atw,
        .reactive-request-status-panel .view-atw {
            gap: 12px !important; /* Better spacing between buttons */
            align-items: center !important;
        }

    /* Status Section - Better spacing */
    .mobile-work-request-header .status-section-template {
        margin: 8px 0 12px 0 !important;
    }

    /* ====================================================================
       Activity Menu (Three-dot icon) Positioning for iPad
       - Push the activity menu (4th tab) to the right using flexbox
       - Works within MudBlazor's flex container layout
       ==================================================================== */

    /* Override mobile space-between with flex-start for iPad */
    .work-request .mud-tabs-toolbar-content .mud-tabs-toolbar-wrapper,
    .work-request-reactive-body-container .mud-tabs-toolbar-content .mud-tabs-toolbar-wrapper,
    .work-request-remote-body-container .mud-tabs-toolbar-content .mud-tabs-toolbar-wrapper {
        justify-content: flex-start !important;
        width: 100% !important;
        display: flex !important;
    }

    /* Push the 4th tab (activity menu with custom-tab-panel-mobile class) to the right */
    .mud-tabs-toolbar-content .mud-tabs-toolbar-wrapper > .mud-tooltip-root:has(.custom-tab-panel-mobile) {
        margin-left: auto !important;
        margin-right: 12px !important;
    }

    /* Fallback: target the last tooltip-root in the wrapper */
    .work-request .mud-tabs-toolbar-content .mud-tabs-toolbar-wrapper > .mud-tooltip-root:last-child,
    .work-request-reactive-body-container .mud-tabs-toolbar-content .mud-tabs-toolbar-wrapper > .mud-tooltip-root:last-child,
    .work-request-remote-body-container .mud-tabs-toolbar-content .mud-tabs-toolbar-wrapper > .mud-tooltip-root:last-child {
        margin-left: auto !important;
        margin-right: 12px !important;
    }

    /* Enhanced menu button styling for iPad */
    .custom-padding-menu .mud-icon-button {
        padding: 8px !important;
        min-width: 48px !important;
        min-height: 48px !important;
    }

        .custom-padding-menu .mud-icon-button .mud-icon-root {
            width: 28px !important;
            height: 28px !important;
        }

    /* Hide the tab slider (underline) when the 4th tab (activity menu) is active */
    /* Since it's a menu icon, it shouldn't have an underline highlight */
    .work-request .mud-tabs-toolbar-wrapper:has(.custom-tab-panel-mobile.mud-tab-active) .mud-tab-slider,
    .work-request-reactive-body-container .mud-tabs-toolbar-wrapper:has(.custom-tab-panel-mobile.mud-tab-active) .mud-tab-slider,
    .work-request-remote-body-container .mud-tabs-toolbar-wrapper:has(.custom-tab-panel-mobile.mud-tab-active) .mud-tab-slider {
        display: none !important;
    }

    /* ====================================================================
       MultiSignInSignaturePadExtended - Responsive Height for iPad
       - Increases signature pad height from 120px to 180px on iPad
       - Applies to all pages using this component
       ==================================================================== */

    /* Target the signature pad canvas elements */
    canvas.signature-pad {
        height: 180px !important; /* Override inline height="120" attribute */
    }

    /* Also target the blank canvas used for comparison */
    canvas.ptw-blank-canvas.signature-pad {
        height: 180px !important;
    }

    /* Preview mode image in signature pad - match canvas height */
    .signature-image-mobile {
        height: 180px !important;
        max-height: 180px !important;
    }

    /* Adjust button spacing after taller signature pad */
    .signature-pad-button {
        margin-top: 12px !important;
        padding-top: 12px !important;
    }

    /* Ensure container height adjusts properly */
    .multi-sign-in-child-section .signature-pad,
    .sign-in-signature-pad .signature-pad {
        min-height: 180px !important;
    }

    /* Preview mode container adjustments */
    .signature-image-border {
        height: 180px !important;
    }

    /* Apply mobile view styles for passes and permits dialog on tablets */
    .passes-permits-container .mobile-passes-permits-view {
        padding: 8px;
    }

    .passes-permits-container .mobile-tile-list {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .passes-permits-container .mobile-tile-card {
        background: #fff;
        border-radius: 8px;
        box-shadow: 0px 0px 4px 0px #00000040;
        padding: 16px;
        padding-bottom: 0px;
        border: 1px solid #eee;
        display: flex;
        flex-direction: column;
        min-height: 120px;
        position: relative;
    }

    .passes-permits-container .mobile-tile-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
        gap: 14px;
    }

    .passes-permits-container .mobile-tile-label {
        color: #222;
        font-weight: 500;
        font-size: 1rem;
        width: 128px;
    }

    .passes-permits-container .mobile-tile-value {
        color: #222;
        font-size: 1rem;
        text-align: right;
        word-break: break-word;
        width: calc(100% - 142px);
        text-align: right;
    }

    .passes-permits-container .mobile-tile-actions {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-top: 8px;
    }

    .passes-permits-container .mud-dialog-width-view-passes {
        width: 90% !important;
        max-width: 768px !important;
    }

    .passes-permits-container .icon-button-padding {
        padding: 0px !important;
    }

    .passes-permits-container .mudlink-hover {
        color: #003F2D !important;
        text-decoration: underline;
    }

        .passes-permits-container .mudlink-hover:hover {
            color: #17E88F !important;
        }
}

@media (max-width: 1024px) {
    .workOrderReferenceContent {
        height: 100%;
        border: 1px solid lightgray;
        padding: 24px 12px 12px 12px;
        border-radius: 8px;
    }

    label.mud-radio:has(span.mud-icon-button) {
        background-color: #ffffff !important;
        width: 100% !important;
        margin-bottom: 16px !important;
    }

    .flex-row-space-between {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .mud-radio-group .mud-radio .mud-button-root {
        display: block !important;
        background-color: transparent !important;
    }

    .mud-elevation-0 {
        box-shadow: none !important;
    }

    label.mud-radio:has(span.mud-checked) span:last-child {
        color: var(--Text-Dark-Text-Dark, #1A1A1A) !important;
    }

    .content {
        height: 100% !important;
        padding: 2px 9px 10px 10px !important;
        max-width: 100%;
    }

    .file-upload-card {
        border: 1px solid lightgrey;
        border-radius: 10px;
    }

    .work-request .work-request-form-section {
        flex-grow: 0;
        max-width: 100% !important;
        flex-basis: 100% !important;
        padding-right: 24px !important;
    }

    .main-layout-body .mud-container-fixed {
        max-width: 100%;
    }

    .personal-grid-heading {
        display: grid !important;
    }

    .personnel-detail-mobile {
        display: none;
    }

    /*Mobile Dashboard*/
    .dashboard-grid-filter .mobile-filter-option-dropdown .mud-input-slot {
        padding-right: 0px !important
    }

    .dashboard-grid-filter .mobile-filter-option-dropdown {
        background: var(--overlay-light-green);
    }

    /* Mobile filter search textbox width */
    .mobile-filter-search-textbox {
        width: 200px !important;
    }

        .mobile-filter-search-textbox .mud-input-root {
            width: 200px !important;
        }

        .mobile-filter-search-textbox .mud-input-root-outlined {
            width: 200px !important;
        }

        .mobile-filter-search-textbox .mud-input {
            width: 200px !important;
        }

    .mobile-dashboard-item .status-section {
        align-items: center;
    }

    .record-status .status-circle-awaitingtechnician {
        background-color: #885073 !important;
    }

    .record-status .status-circle-onhold {
        background-color: #FF9742 !important;
    }

    .facilitator-record-status-section .status-circle {
        margin-top: 0px !important;
    }

    @media (max-width: 395px) {
        .record-status .mobile-status-section-ChangesRequested {
            flex-basis: min-content;
        }

        .record-status .mobile-status-section-AwaitingApproval {
            flex-basis: auto;
        }
    }

    @media (max-width: 380px) {
        .record-status .mobile-status-section-AwaitingApproval {
            flex-basis: min-content;
        }
    }

    .mobile-dashboard-item .status-section .status-circle, .filter-count-section .status-circle {
        margin-top: 1px;
        margin-right: 4px;
    }

    .mobile-dashboard-item {
        margin: 13px;
        background: var(--backgrounds-surface);
        border-radius: 8px;
        border-style: solid;
        border-color: rgba(0, 63, 45, 0.15);
        border-width: 1px;
        padding: 12px 16px 12px 16px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
        justify-content: flex-start;
        align-self: stretch;
        flex-shrink: 0;
        position: relative;
        overflow: hidden;
    }

        .mobile-dashboard-item .dashboard-card {
            display: flex;
            flex-direction: column;
            gap: 4px;
            align-items: flex-start;
            justify-content: flex-start;
            align-self: stretch;
            flex-shrink: 0;
            position: relative;
        }

        .mobile-dashboard-item .dashboard-card-title {
            display: flex;
            flex-direction: row;
            gap: 82px;
            align-items: center;
            justify-content: flex-start;
            align-self: stretch;
            flex-shrink: 0;
            position: relative;
        }

        .mobile-dashboard-item .title {
            display: flex;
            flex-direction: row;
            gap: 8px;
            align-items: center;
            justify-content: flex-start;
            flex-shrink: 0;
            position: relative;
        }

        .mobile-dashboard-item .request-id-text {
            color: var(--input-font-color);
            text-align: left;
            font-size: 14px;
            line-height: 16px;
            letter-spacing: 0.005em;
            font-weight: 600;
            position: relative;
        }

        .mobile-dashboard-item .record-status {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            align-self: stretch;
            flex-shrink: 0;
            position: relative;
            margin: 2px 0;
            padding: 0;
            min-height: 24px;
        }

        .mobile-dashboard-item .date-section {
            display: flex;
            flex-direction: row;
            gap: 8px;
            align-items: center;
            justify-content: flex-start;
            flex-shrink: 0;
            position: relative;
            flex: 1;
        }

        .mobile-dashboard-item .icon-timestamp {
            display: flex;
            flex-direction: row;
            gap: 4px;
            align-items: center;
            justify-content: flex-start;
            flex-shrink: 0;
            position: relative;
        }

        .mobile-dashboard-item .request-date-text {
            color: var(--input-font-color);
            text-align: left;
            font-size: 14px;
            font-weight: 400;
            position: relative;
            line-height: 20px;
            display: flex;
            align-items: center;
        }

        .mobile-dashboard-item .workrequest-requesttype-stage-section {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            align-self: stretch;
            flex-shrink: 0;
            position: relative;
        }

        .mobile-dashboard-item .chip {
            background: rgba(0, 63, 45, 0.1);
            border-radius: 40px;
            padding: 4px 8px 4px 8px;
            display: flex;
            flex-direction: row;
            gap: 0px;
            align-items: center;
            justify-content: flex-start;
            flex-shrink: 0;
            position: relative;
            overflow: hidden;
        }

        .mobile-dashboard-item .status-content-chip {
            padding: 0px 4px 0px 0px;
            display: flex;
            flex-direction: row;
            gap: 0px;
            align-items: center;
            justify-content: flex-start;
            flex-shrink: 0;
            position: relative;
        }

        .mobile-dashboard-item .stage-section {
            padding: 0px 4px 0px 4px;
            display: flex;
            flex-direction: row;
            gap: 0px;
            align-items: center;
            justify-content: flex-start;
            flex-shrink: 0;
            height: 16px;
            position: relative;
        }

        .mobile-dashboard-item .stagetext {
            color: var(--input-font-color);
            text-align: left;
            font-size: 12px;
            line-height: 16px;
            letter-spacing: 0.005em;
            font-weight: 400;
            position: relative;
            display: flex;
            align-items: flex-end;
            justify-content: flex-start;
        }

        .mobile-dashboard-item .vendor-section {
            flex-shrink: 0;
            width: 100%;
            max-width: 312px;
            height: 20px;
            position: relative;
        }

        .mobile-dashboard-item .vendor-title {
            color: var(--input-font-color);
            text-align: left;
            font-size: 16px;
            line-height: 20px;
            letter-spacing: -0.01em;
            font-weight: 400;
            position: absolute;
            right: 0%;
            left: 0%;
            width: 100%;
            bottom: 0%;
            top: 0%;
            height: 100%;
        }

        .mobile-dashboard-item .customer-and-contract {
            display: flex;
            flex-direction: row;
            gap: 4px;
            align-items: flex-start;
            justify-content: flex-start;
            align-self: stretch;
            flex-shrink: 0;
            position: relative;
        }

        .mobile-dashboard-item .round-chip {
            max-width: 48%;
            background: var(--primary-green-primary-light-2);
            border-radius: 4px;
            padding: 2px 8px 2px 8px;
            display: flex;
            flex-direction: row;
            gap: 10px;
            align-items: flex-start;
            justify-content: flex-start;
            flex-shrink: 0;
            position: relative;
        }

        .mobile-dashboard-item .customer-contract-text {
            color: var(--brand-primary-dark-grey);
            text-align: left;
            font-size: 12px;
            line-height: 16px;
            letter-spacing: -0.01em;
            font-weight: 400;
            position: relative;
        }

        .mobile-dashboard-item .location-wrap {
            display: flex;
            gap: 8px;
            align-items: flex-start;
            justify-content: flex-start;
            align-self: stretch;
            flex-shrink: 0;
            position: relative;
        }

        .mobile-dashboard-item .region-country-details {
            width: 200px;
        }

        .mobile-dashboard-item .ptw-location-wrap {
            display: flex;
            gap: 8px;
            align-items: flex-start;
            justify-content: end;
            align-self: stretch;
            flex-shrink: 0;
            position: relative;
        }

        .mobile-dashboard-item .location {
            color: var(--input-font-color);
            text-align: left;
            font-size: 14px;
            font-weight: 400;
            position: relative;
            align-self: stretch;
        }

        .mobile-dashboard-item .icon-timestamp {
            display: flex;
            flex-direction: row;
            gap: 4px;
            align-items: flex-start;
            justify-content: flex-start;
            flex-shrink: 0;
            position: relative;
        }

        .mobile-dashboard-item .request-type-text {
            color: var(--input-font-color);
            text-align: left;
            font-size: 14px;
            max-width: 97%;
            line-height: 16px;
            letter-spacing: 0.005em;
            font-weight: 400;
            position: relative;
            white-space: normal;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .mobile-dashboard-item .ptw-request-type-text {
            color: var(--input-font-color);
            text-align: left;
            font-size: 14px;
            max-width: 97%;
            letter-spacing: 0.005em;
            font-weight: 400;
            position: relative;
            white-space: normal;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }

        .mobile-dashboard-item .global-header {
            background: var(--backgrounds-surface);
            padding: 0px 12px 0px 12px;
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            width: 394px;
            height: 48px;
            position: absolute;
            left: 0px;
            top: 0px;
            box-shadow: var( --elevation-elevation-4-dp-box-shadow, 0px 1px 5px 0px rgba(0, 0, 0, 0.14) );
        }

        .mobile-dashboard-item .bottom-nav-item {
            background: white;
            border-bottom-color: white;
            border-style: solid;
            border-width: 0px 0px 4px 0px;
            padding: 8px 12px 12px 12px;
            display: flex;
            flex-direction: column;
            gap: 2px;
            align-items: center;
            justify-content: flex-start;
            flex: 1;
            height: 62px;
            position: relative;
        }

        .mobile-dashboard-item .text-overflow-ellipsis {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

    /* Shared button styles */
    .view-more-button .mud-button-label {
        color: var(--dark-green);
        font-size: 14px;
        font-weight: 400;
        text-decoration: underline;
    }

    /* Shared icon button styles */
    .mobile-icon-button {
        color: #666;
        padding: 0 !important;
        margin-right: 4px;
    }

        .mobile-icon-button .mud-icon-root {
            width: 16px;
            height: 16px;
            fill: #666;
        }



    .mobile-dashboard-item-list-section {
        max-height: calc(100vh - 260px);
        overflow: auto;
    }

    .min-viewport-height-mobile {
        min-height: calc(100vh - 56px);
    }

    .mobile-date-filter-dropdown .mud-popover {
        transform: translateX(-20px) !important;
    }

    .mobile-dashboard-header .d-flex.align-items-center {
        align-items: center !important;
    }

    /* Enhanced dashboard-header-text styling to match Figma specifications exactly - supports multi-line text */
    .mobile-dashboard-header .dashboard-header-text {
        font-family: 'Calibre-R', sans-serif !important;
        font-size: 18px !important;
        font-weight: 500 !important;
        line-height: 22px !important;
        letter-spacing: -0.27px !important; /* -1.5% of 18px */
        color: var(--input-font-color) !important; /* #1A1A1A */
        margin: 0 !important;
        padding: 0 !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        display: block !important;
        width: 100% !important;
        hyphens: auto !important;
    }

    /* Mobile Dashboard Header Layout */
    .mobile-dashboard-main-header {
        padding: 16px;
        margin: 0;
        background: transparent;
    }

    .mobile-dashboard-header {
        margin-bottom: 16px;
    }

    .dashboard-title-section {
        display: flex;
        align-items: flex-start;
        padding: 0;
        padding-right: 8px;
    }

    .dashboard-filter-section {
        display: flex;
        justify-content: flex-end;
        align-items: flex-start;
        padding: 0;
        padding-top: 4px;
    }

    .mobile-vendor-filter-section {
        margin-bottom: 8px;
        padding: 0 0 0 0;
    }

    /* Date filter dropdown styling to match Figma specifications */
    .mobile-date-filter-dropdown {
        background: var(--overlay-light-green);
        border-radius: 8px;
        width: 190px !important;
        height: 32px !important;
        min-height: 32px !important;
        font-size: 12px;
        border: 1px solid rgba(0, 63, 45, 0.15);
    }

        .mobile-date-filter-dropdown .mud-select-input > div.mud-input-root-outlined {
            padding: 4px 8px !important;
            border-color: rgba(0, 63, 45, 0.15);
            border-radius: 8px;
            height: 32px !important;
            min-height: 32px !important;
        }

        .mobile-date-filter-dropdown .mud-input-slot {
            padding-right: 8px !important;
            height: 24px !important;
            min-height: 24px !important;
        }

        .mobile-date-filter-dropdown .mud-icon-button {
            padding: 4px !important;
            height: 24px !important;
            width: 24px !important;
        }

        .mobile-date-filter-dropdown .mud-select-input {
            font-size: 12px;
            font-weight: 400;
            color: var(--input-font-color);
            height: 32px !important;
            line-height: 24px !important;
        }

        .mobile-date-filter-dropdown .mud-input-root {
            height: 32px !important;
            min-height: 32px !important;
        }

        .mobile-date-filter-dropdown .mud-popover {
            right: 0 !important;
            left: auto !important;
        }

    /* PTW Status Section - with colored circle and text */
    .mobile-dashboard-item .status-section {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        font-size: 12px;
        font-weight: 400;
        line-height: 16px;
        display: inline-flex;
        align-items: center;
        justify-content: flex-end;
        color: inherit !important;
    }

    /* Status text styling - plain text only */
    .record-status [class*="mobile-status-section-"] {
        background: transparent !important;
        color: inherit !important;
        border: none !important;
        padding: 0 !important;
        font-weight: 400 !important;
        font-size: 12px !important;
        line-height: 20px !important;
        display: flex;
        align-items: center;
    }

    /* Status circles for mobile - match desktop styling */
    .mobile-dashboard-item .status-section .status-circle {
        margin-right: 8px;
        margin-top: 2px;
        float: left;
        background-color: #fff;
        height: 12px;
        border-radius: 50%;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        min-width: 12px;
    }

    /* Status circle colors - match desktop */
    .mobile-dashboard-item .status-section .status-circle-issued,
    .mobile-dashboard-item .status-section .status-circle-active,
    .mobile-dashboard-item .status-section .status-circle-live {
        background-color: #1E8D29;
    }

    .mobile-dashboard-item .status-section .status-circle-completed {
        background-color: #34eb68;
    }

    .mobile-dashboard-item .status-section .status-circle-changesrequested {
        background-color: #F2810F;
    }

    .mobile-dashboard-item .status-section .status-circle-inprogress {
        background-color: #3E7CA6;
    }

    .mobile-dashboard-item .status-section .status-circle-awaitingapproval {
        border: 2px solid #8169D3;
        background-color: #fff;
    }

    .mobile-dashboard-item .status-section .status-circle-rejected {
        background-color: #FF543E;
    }

    .mobile-dashboard-item .status-section .status-circle-scheduled {
        background-color: #8169D3;
    }

    .mobile-dashboard-item .status-section .status-circle-cancelled {
        background-color: #D7DADB;
    }

    .mobile-dashboard-item .status-section .status-circle-closed {
        background-color: #848E90;
    }

    .mobile-dashboard-item .status-section .status-circle-revoked {
        background-color: #eb3434;
    }

    .mobile-dashboard-item {
        margin: 8px 16px;
        background: #FFFFFF;
        border-radius: 8px;
        border: 1px solid rgba(0, 63, 45, 0.15);
        padding: 12px;
        box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    }

    /* Results count styling */
    .mobile-dashboard-results-count {
        color: var(--input-font-color);
        font-size: 14px;
        font-weight: 400;
        margin: 8px 16px;
    }

    /* Typography refinements to match Figma */
    .mobile-dashboard-item .request-id-text {
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 20px !important;
        color: #1A1A1A !important;
        margin-bottom: 2px !important;
    }

    /* ATW ID text styling - normal font weight */
    .mobile-dashboard-item .atw-id-text {
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 20px !important;
        color: #1A1A1A !important;
        margin-bottom: 2px !important;
    }

    .mobile-dashboard-item .vendor-title {
        font-size: 14px !important;
        font-weight: 400 !important;
        color: #1A1A1A !important;
        line-height: 20px !important;
    }

    .mobile-dashboard-item .customer-contract-text {
        font-size: 11px !important;
        font-weight: 400 !important;
        color: var(--brand-primary-dark-grey) !important;
    }

    .mobile-dashboard-item .time-text {
        color: var(--input-font-color);
        text-align: left;
        font-size: 14px;
        font-weight: 400;
        position: relative;
    }

    /* PTW Time Info Layout - Match Figma */
    .mobile-dashboard-item .ptw-time-info, ptw-region-country-info {
        display: flex;
        flex-direction: row;
        gap: 4px;
        align-items: flex-start;
        justify-content: flex-start;
        margin: 4px 0;
        padding: 0;
    }

    .mobile-dashboard-item .icon-timestamp .mobile-icon-button {
        margin-right: 4px;
        margin-top: 2px;
        min-width: 16px;
        padding: 0;
    }

    /* PTW-specific elements - using ptw-dashboard-item for specificity */

    /* PTW end date styling */
    .ptw-dashboard-item .ptw-end-date {
        flex-shrink: 0;
        position: relative;
    }

    /* PTW actions section styling */
    .ptw-dashboard-item .ptw-actions-section {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        align-self: stretch;
        flex-shrink: 0;
        position: relative;
        padding-top: 8px;
    }

    /* PTW permit button styling */
    .ptw-dashboard-item .view-permit-button {
        color: #003F2D;
        padding: 8px;
    }

        .ptw-dashboard-item .view-permit-button .mud-icon-root {
            width: 20px;
            height: 20px;
            fill: #003F2D;
        }

    /* Request ID section - shared between ATW and PTW */
    .ptw-dashboard-item .request-id-section {
        flex-shrink: 0;
        width: 100%;
        height: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center
    }

        .ptw-dashboard-item .request-id-section .request-id-text {
            color: var(--input-font-color);
            text-align: left;
            font-size: 14px;
            line-height: 16px;
            letter-spacing: 0.005em;
            font-weight: 600;
            position: relative;
        }

    .mobile-dashboard-item .time-details {
        display: flex;
        flex-direction: row;
        gap: 16px;
        align-items: center;
        flex: 1;
    }

    .main-layout-body {
        flex-grow: 0;
        max-width: 100% !important;
        flex-basis: 100% !important;
    }

    /* Spacing adjustments - Reduced spacing to match Figma */
    .mobile-dashboard-item .dashboard-card {
        gap: 4px !important;
    }

    .mobile-dashboard-item .record-status {
        margin: 2px 0 !important;
    }

    /* Vendor and location spacing - Reduced */
    .mobile-dashboard-item .vendor-section {
        margin: 2px 0;
    }

    .mobile-dashboard-item .location-wrap {
        margin: 2px 0 8px 0;
    }

    .mobile-dashboard-item .customer-and-contract {
        margin: 3px 0;
    }

    /* End date spacing */
    .mobile-dashboard-item .ptw-end-date {
        margin: 2px 0;
    }

    /* Request type section spacing */
    .mobile-dashboard-item .workrequest-requesttype-stage-section {
        margin: 3px 0;
    }

    /* Time info spacing */
    .mobile-dashboard-item .ptw-time-info {
        margin: 2px 0;
    }

    .ptw-list {
        padding-left: 8px !important;
    }
}
