/* Desktop defaults */
.topbar-admin-exit-mobile,
.topbar-create-mobile {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.mobile-account-panel {
    display: none !important;
}

.cost-report-mobile-export-icon {
    display: none;
}

.cost-report-desktop-export-icon {
    display: inline-flex;
    align-items: center;
}

#pinSequenceDropdownWrapper {
    display: none;
}

#frmFirearrestInspector .floating-add-question-btn .add-question-mobile-label {
    display: none;
}

/* Project report actions: desktop default text buttons */
#frmGetProjectReport .project-report-mobile-content {
    display: none;
}

#frmGetProjectReport .project-report-desktop-text {
    display: inline-block;
}



@media (min-width: 992px) {
    .topbar-company-logo-wrap {
        display: flex !important;
    }

    .topbar-create-desktop {
        display: inline-flex !important;
    }

    .topbar-mobile-hide {
        display: inline-flex !important;
    }

    .topbar-admin-exit-mobile,
    .topbar-create-mobile {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    #clientListPage #clientTabSelect,
    #adminListPage #adminTabSelect,
    #emailListPage #emailTabSelect,
    #formListPage #formTabSelect,
    #pinServiceFormsPage #pinServiceFormsTabSelect{
        display: none !important;
    }

    #projectListPage #projectTabSelect {
        display: none !important;
    }
}

@media (max-width: 1477px) {
    .card-ui .upload-box .method-document-sec span.status-pill {
        margin-bottom: 10px;
    }
}

@media (max-width: 1327px) {}



@media (max-width: 1024px) {
    .card-ui .upload-box .method-document-sec span.status-pill {
        margin-bottom: 10px;
    }


/*---------------------- Login Page Start ----------------------*/
.bg-section {
    display: none;
}

.page-wrapper {
    background-image: url(/Content/images/login-bg-img.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: transparent;
    align-items: center;
    display: inline-flex;
    width: 100%;
    overflow: hidden;
}

.page-wrapper:after {
    content: "";
    width: 100%;
    height: auto;
    position: absolute;
    inset: 0;
    padding: 40px;
    background: linear-gradient(0deg, rgba(145, 13, 9, 1) 0%, rgba(0, 0, 0, 1) 50%);
    opacity: 0.4;
}

.content-section {
    z-index: 1;
    position: relative;
    width: 60%;
    margin: auto;
    align-items: center;
    background-color: transparent;
    height: 100vh;
    overflow: auto;
}

.content-section .login-right-box form .row {
    margin: 0 0 40px;
    background-color: #fff;
    padding: 30px;
    border-radius: 20px;
}

.content-section .login-right-box h2 {
    color: #fff;
}

.content-section .login-right-box p {
    color: #fff;
}

.login-right-box {
    padding: 0px;
    height: 100vh;
    align-items: center;
    display: grid;
    margin: auto;
}
.login-right-box form .row .col.col-sm-12 button.btn-base.secondary-button {
    margin-bottom: 0;
}

.login-right-box .signup-block {
    border: 0;
    padding: 0;
}

.login-right-box .signup-block a {
    color: #fff;
}

.login-right-box .signup-block a span {
    color: #fff;
}

.login-right-box form .row .col.col-sm-12 input.form-control {
    border: 1px solid #ccc;
}
.login-right-box .main-logo {
    display: block;
    margin: 16px auto 80px; 
    text-align: center;
}

.login-right-box .login-footer {
    display: flex;
    margin-top: 50px;
    color: #fff;
    text-align: center;
    justify-content: center;
}

.login-right-box .login-footer a {
    color: #fff;
    font-size: 14px;
}

.login-right-box .login-footer p {
    margin: 0;
}
.login-right-box .login-footer span {
    margin: 0px 10px;
}
.login-right-box .main-logo img {
    width: 60%;
}
.end-fva-logo{
    display: none;
}

/*---------------------- Login Page End ----------------------*/


}





@media (max-width: 992px) {
    .mob-no-data-img {
        width: 100%;
        display: block;
    }

        .mob-no-data-img td {
            width: 100%;
            display: table;
            margin: 0 auto;
        }

    #IndividualDrawingPopup .premium-table-container,
    #documnetModal .premium-table-container {
        background: transparent;
        border: none;
        box-shadow: none;
        overflow: visible !important;
    }

    #IndividualDrawingPopup .table-responsive.premium-table-wrapper,
    #documnetModal .table-responsive.premium-table-wrapper {
        overflow: visible;
    }

    #IndividualDrawingPopup .premium-table,
    #documnetModal .premium-table {
        display: table;
        width: 100%;
    }

    #IndividualDrawingPopup .premium-table:has(tr.mob-no-data-img) thead,
    #documnetModal .premium-table:has(tr.mob-no-data-img) thead {
        display: none !important;
    }

    #IndividualDrawingPopup .mob-no-data-img,
    #documnetModal .mob-no-data-img {
        display: table-row;
        width: auto;
    }

    #IndividualDrawingPopup .mob-no-data-img td,
    #documnetModal .mob-no-data-img td {
        display: table-cell;
        width: 100%;
        text-align: center;
        margin: 0;
    }
    .topbar-item:hover {
        transform: none;
    }

    .card-ui .upload-box .method-document-sec span.status-pill {
        margin-bottom: 10px;
    }

    .topbar {
        padding: 8px 12px;
        height: 70px;
    }

    .topbar-left-group {
        flex: 1;
        min-width: 0;
        justify-content: center;
        position: relative;
    }
    /*
    .topbar-left-group .top-bar-header {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: calc(100% - 140px);
        font-size: 18px;
    }

     .topbar-left-group .topbar-back-btn {
        position: absolute;
        left: 48px;
    } */

    .topbar-right-group {
        gap: 8px !important;
    }

    .topbar-hamburger-btn {
        display: none !important;
    }

    .topbar-company-logo-wrap,
    .topbar-mobile-hide,
    .topbar-create-desktop {
        display: none !important;
    }

    .topbar-admin-exit-mobile,
    .topbar-create-mobile {
        display: inline-flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    .topbar-admin-exit-mobile {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        flex: 0 0 40px;
    }

    .topbar-create-mobile-btn {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: var(--btn-radius-squircle);
    }

    /* Sidebar is replaced with bottom navigation on tablet/mobile */
    .topbar-hamburger-btn {
        display: none !important;
    }

    .sidebar {
        display: none !important;
    }

    body {
        flex-direction: column;
        padding-bottom: 92px;
    }

    .mobile-bottom-nav {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1030;
        pointer-events: none;
        overflow: visible;
    }

    .mobile-bottom-nav__bar {
        pointer-events: auto;
        background: #fff;
        border-radius: 18px 18px 0 0;
        border: 1px solid #ececec;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.08);
        min-height: 72px;
        padding: 8px 10px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        overflow: visible;
        gap: 2px;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

        .mobile-bottom-nav__bar::-webkit-scrollbar {
            display: none;
        }

    .mobile-bottom-nav__item {
        border: 0;
        background: transparent;
        color: #6a6a6a;
        border-radius: 999px;
        text-decoration: none;
        padding: 8px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0;
        transition: background-color .2s ease, color .2s ease;
        justify-self: center;
        corner-shape: round;
        position: relative;
    }

        .mobile-bottom-nav__item .mobile-bottom-nav__icon {
            width: 22px;
            height: 22px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 0;
        }

            .mobile-bottom-nav__item .mobile-bottom-nav__icon svg {
                width: 22px;
                height: 22px;
                fill: #575252;
            }

        .mobile-bottom-nav__item .mobile-bottom-nav__text {
            display: none;
        }

        .mobile-bottom-nav__item:hover,
        .mobile-bottom-nav__item:focus-visible,
        .mobile-bottom-nav__item.active {
            background: #910d09;
            color: #fff;
        }

        .mobile-bottom-nav__item svg path,
        .mobile-bottom-nav__item svg circle,
        .mobile-bottom-nav__item svg rect {
            transition: fill .2s ease, stroke .2s ease;
        }

        .mobile-bottom-nav__item:hover svg path,
        .mobile-bottom-nav__item:hover svg circle,
        .mobile-bottom-nav__item:hover svg rect,
        .mobile-bottom-nav__item:focus-visible svg path,
        .mobile-bottom-nav__item:focus-visible svg circle,
        .mobile-bottom-nav__item:focus-visible svg rect,
        .mobile-bottom-nav__item.active svg path,
        .mobile-bottom-nav__item.active svg circle,
        .mobile-bottom-nav__item.active svg rect {
            fill: #fff
        }

    .mobile-bottom-nav__item:active::after {
        content: attr(data-tooltip);
        position: absolute;
        left: 50%;
        bottom: calc(100% + 8px);
        transform: translateX(-50%);
        background: rgba(22, 22, 22, 0.92);
        color: #fff;
        font-size: 12px;
        line-height: 1.2;
        padding: 6px 10px;
        border-radius: 6px;
        white-space: nowrap;
        z-index: 20;
        pointer-events: none;
    }

    .mobile-submenu-sheet {
        position: fixed;
        inset: 0;
        z-index: 1200;
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
    }

        .mobile-submenu-sheet.show {
            opacity: 1;
            pointer-events: auto;
        }

    .mobile-submenu-sheet__backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, .32);
    }

    .mobile-submenu-sheet__panel {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        border-radius: 24px 24px 0 0;
        padding: 14px 16px 20px;
        max-height: 80vh;
        overflow: auto;
        transform: translateY(100%);
        transition: transform .25s ease;
    }

    .mobile-submenu-sheet.show .mobile-submenu-sheet__panel {
        transform: translateY(0);
    }

    .mobile-submenu-sheet__close {
        width: 10%;
        height: 6px;
        border: 0;
        border-radius: 100px;
        background: #E3E3E3;
        display: block;
        margin: 0 auto 12px;
        padding: 0;
        corner-shape: round;
    }

    .mobile-submenu-sheet__title {
        margin: 0 0 14px;
        font-size: 18px;
        font-weight: 600;
        color: #000;
    }

    .mobile-submenu-sheet__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .mobile-submenu-sheet__card {
        border-radius: 12px;
        border: 1px solid #EEEEEE;
        text-decoration: none;
        display: flex;
        align-items: center;
        padding: 12px 12px;
        gap: 10px;
        background-color: #FAFAFA;
    }

    .mobile-submenu-sheet__card-icon {
        width: 22px;
        height: 22px;
        color: var(--text-primary);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 22px;
    }

        .mobile-submenu-sheet__card-icon svg {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

    .mobile-submenu-sheet__card-label {
        font-size: 14px;
        line-height: 1.2;
        font-weight: 500;
        color: #575252;
    }

    .mobile-account-panel {
        display: block !important;
        position: fixed;
        inset: 0;
        z-index: 1250;
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
    }

        .mobile-account-panel.show {
            opacity: 1;
            pointer-events: auto;
        }

    .mobile-account-panel__backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, .22);
    }

    .mobile-account-panel__sheet {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: min(320px, 86vw);
        background: #fff;
        transform: translateX(100%);
        transition: transform .25s ease;
        border-right: 1px solid #e9e9e9;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .mobile-account-panel.show .mobile-account-panel__sheet {
        transform: translateX(0);
    }

    .mobile-account-panel__header {
        padding: 12px 12px 0;
        border-bottom: 1px solid #e9e9e9;
    }

    .mobile-account-panel__body {
        flex: 1;
        overflow-y: auto;
        padding: 0 12px;
    }

    .mobile-account-panel__logout {
        padding: 0 12px 0;
        border-top: 1px solid #e9e9e9;
        background: #fff;
    }

    .mobile-account-panel__list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-account-panel__content .fa-dropdown.fa-dropdown--account,
    .mobile-account-panel__content .dropdown-menu {
        display: flex !important;
        flex-direction: column;
        gap: 0;
        width: 100%;
        max-width: none;
        min-width: 100%;
        position: static !important;
        transform: none !important;
        padding: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        float: none;
        margin: 0;
    }

    .mobile-account-panel__content .fa-dropdown-profile-card {
        border-bottom: 1px solid #e9e9e9;
        margin-bottom: 0;
        padding: 8px 0 12px;
    }

    .mobile-account-panel__body .fa-dropdown-item,
    .mobile-account-panel__logout .fa-dropdown-item {
        border-radius: 0;
        padding: 14px 0;
        border-bottom: 1px solid #efefef;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .mobile-account-panel__content .fa-dropdown-divider {
        display: none;
    }

    .mobile-account-panel__item-icon {
        width: 22px;
        height: 22px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #575252;
        flex: 0 0 22px;
    }

        .mobile-account-panel__item-icon svg {
            width: 20px;
            height: 20px;
            stroke: currentColor;
            fill: none;
            stroke-width: 1.9;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

    .main {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        flex: 1;
        margin-left: 0 !important;
        width: 100% !important;
    }

        .main.collapsed {
            margin-left: 0 !important;
            width: 100% !important;
        }

    .menu-toggle-btn,
    .overlay {
        display: none !important;
    }

    .modal-dialog-custom {
        max-width: 90%;
        margin: 0 auto;
    }
    #DrawingPopup .modal-dialog-centered.modal-custom-width .modal-content {
        height: 88%;
    }
    .confirmation-popup.show .modal-dialog,
    .confirmation-popup.in .modal-dialog {
        width: 90%;
        height: 100%;
        align-items: center;
        display: flex;
        margin: 0 auto;
    }

    .card-ui .upload-box .method-document-sec span.status-pill {
        margin-bottom: 0px;
    }

    .fa-dropdown-profile-card {
        border-bottom: none;
    }
    .inner-form-box.company-form #frmCreateProject .row .col-md-6 .d-flex {
        justify-content: space-between;
        margin-bottom: 10px;
    }
    #clientListPage #clientTabSelect,
    #emailListPage #emailTabSelect,
    #pinServiceFormsPage #pinServiceFormsTabSelect {
        display: block !important;
        width: auto;
        min-width: 140px;
        max-width: 55%;
        padding: 6px var(--spacing-md);
        margin: 0;
        font-family: var(--font-family);
        font-size: var(--font-size-s);
        font-weight: var(--font-weight-medium);
        color: var(--text-primary);
        background-color: var(--bg-surface);
        border: none;
        border-radius: var(--btn-radius-squircle);
        box-shadow: none;
        appearance: none;
        -webkit-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236b7280' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 32px;
        cursor: pointer;
    }

    #adminListPage #adminTabSelect,
    #formListPage #formTabSelect {
        display: block !important;
        width: auto;
        min-width: 140px;
        padding: 6px var(--spacing-md);
        margin: 0;
        font-family: var(--font-family);
        font-size: var(--font-size-s);
        font-weight: var(--font-weight-medium);
        color: var(--text-primary);
        background-color: var(--bg-surface);
        border: none;
        border-radius: var(--btn-radius-squircle);
        box-shadow: none;
        appearance: none;
        -webkit-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236b7280' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 32px;
        cursor: pointer;
    }

    #adminListPage #adminTabSelect {
        max-width: 55%;
    }

    /* Forms: hug label width — avoid a wide muted track with a narrow 55% control */
    #formListPage #formTabSelect {
        max-width: none;
    }

    #clientListPage #myTab,
    #adminListPage ul[role="tablist"],
    #emailListPage ul[role="tablist"],
    #formListPage ul[role="tablist"],
    #projectListPage ul[role="tablist"],
    #pinServiceFormsPage #myTab {
        display: none !important;
    }

    #pinServiceFormsPage .pin-svc-forms-filter-desktop {
        display: none !important;
    }

    #materialListPage .table-toolbar > .d-flex.gap-2,
    #pinTypeListPage .table-toolbar > .d-flex.gap-2,
    #holeTypeListPage .table-toolbar > .d-flex.gap-2,
    #installationGuidePage .table-toolbar > .d-flex.gap-2 {
        display: none !important;
    }

    #fireRatingListPage > .col-md-4 {
        display: none;
    }

    #fireRatingListPage > .col-md-8 {
        width: 100%;
    }

    #clientListPage .tab-container,
    #adminListPage .tab-container,
    #formListPage .tab-container {
        align-items: center;
    }

    #formListPage .tab-container {
        flex: 0 1 auto;
        width: fit-content;
        max-width: calc(100% - 120px);
    }

    #clientListPage .table-toolbar > div.d-flex.gap-2 {
        display: none !important;
    }

    #clientListPage .table-pagination,
    #adminListPage .table-pagination,
    #emailListPage .table-pagination,
    #formListPage .table-pagination,
    #pinServiceFormsPage .table-pagination,
    #materialListPage .table-pagination,
    #pinTypeListPage .table-pagination,
    #holeTypeListPage .table-pagination,
    #fireRatingListPage .table-pagination,
    #installationGuidePage .table-pagination,
    #reportBatchListPage .table-pagination {
        display: none !important;
    }

    /* Shared mobile card-table behavior across list pages */
    #clientListPage .premium-table-container,
    #adminListPage .premium-table-container,
    #emailListPage .premium-table-container,
    #projectListPage .premium-table-container,
    #formListPage .premium-table-container,
    #pinServiceFormsPage .premium-table-container,
    #materialListPage .premium-table-container,
    #pinTypeListPage .premium-table-container,
    #holeTypeListPage .premium-table-container,
    #fireRatingListPage .premium-table-container,
    #installationGuidePage .premium-table-container,
    #reportBatchListPage .premium-table-container,
    #qrListPage .premium-table-container,
    #DrawingListDiv .premium-table-container {
        background: transparent;
        border: none;
        box-shadow: none;
        overflow: visible !important;
    }

    #clientListPage .premium-table-wrapper.premium-table-min-height,
    #adminListPage .premium-table-wrapper.premium-table-min-height,
    #emailListPage .premium-table-wrapper.premium-table-min-height,
    #projectListPage .premium-table-wrapper.premium-table-min-height,
    #formListPage .premium-table-wrapper.premium-table-min-height,
    #pinServiceFormsPage .premium-table-wrapper.premium-table-min-height,
    #materialListPage .premium-table-wrapper.premium-table-min-height,
    #pinTypeListPage .premium-table-wrapper.premium-table-min-height,
    #holeTypeListPage .premium-table-wrapper.premium-table-min-height,
    #installationGuidePage .premium-table-wrapper.premium-table-min-height,
    #reportBatchListPage .premium-table-wrapper.premium-table-min-height,
    #qrListPage .premium-table-wrapper.premium-table-min-height,
    #DrawingListDiv .premium-table-wrapper.premium-drawing_table-min-height {
        min-height: 0;
    }
    #clientListPage .table-responsive.premium-table-wrapper,
    #adminListPage .table-responsive.premium-table-wrapper,
    #emailListPage .table-responsive.premium-table-wrapper,
    #projectListPage .table-responsive.premium-table-wrapper,
    #formListPage .table-responsive.premium-table-wrapper,
    #pinServiceFormsPage .table-responsive.premium-table-wrapper,
    #materialListPage .table-responsive.premium-table-wrapper,
    #pinTypeListPage .table-responsive.premium-table-wrapper,
    #holeTypeListPage .table-responsive.premium-table-wrapper,
    #fireRatingListPage .table-responsive.premium-table-wrapper,
    #installationGuidePage .table-responsive.premium-table-wrapper,
    #reportBatchListPage .table-responsive.premium-table-wrapper,
    #qrListPage .table-responsive.premium-table-wrapper,
    #DrawingListDiv .table-responsive.premium-table-wrapper {
        overflow: visible;
    }

    #clientListPage #dtAllQuote,
    #adminListPage #dtAllQuote,
    #emailListPage #dtAllQuote,
    #projectListPage #dtAllQuote,
    #formListPage #dtAllQuote,
    #materialListPage #dtAllQuote,
    #pinTypeListPage #dtAllQuote,
    #holeTypeListPage #dtAllQuote,
    #fireRatingListPage #dtAllQuote,
    #installationGuidePage #dtAllQuote,
    #reportBatchListPage #dtAllQuote,
    #qrListPage #dtAllQuote,
    #DrawingListDiv #dtAllQuote {
        display: block;
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }

    #clientListPage #dtAllQuote thead,
    #adminListPage #dtAllQuote thead,
    #emailListPage #dtAllQuote thead,
    #projectListPage #dtAllQuote thead,
    #formListPage #dtAllQuote thead,
    #materialListPage #dtAllQuote thead,
    #pinTypeListPage #dtAllQuote thead,
    #holeTypeListPage #dtAllQuote thead,
    #fireRatingListPage #dtAllQuote thead,
    #installationGuidePage #dtAllQuote thead,
    #reportBatchListPage #dtAllQuote thead,
    #qrListPage #dtAllQuote thead,
    #DrawingListDiv #dtAllQuote thead {
        display: none !important;
    }

    #clientListPage #dtAllQuote tbody,
    #adminListPage #dtAllQuote tbody,
    #emailListPage #dtAllQuote tbody,
    #projectListPage #dtAllQuote tbody,
    #formListPage #dtAllQuote tbody,
    #submittedFormsPage #dtAllQuote tbody,
    #materialListPage #dtAllQuote tbody,
    #pinTypeListPage #dtAllQuote tbody,
    #holeTypeListPage #dtAllQuote tbody,
    #fireRatingListPage #dtAllQuote tbody,
    #installationGuidePage #dtAllQuote tbody,
    #reportBatchListPage #dtAllQuote tbody,
    #qrListPage #dtAllQuote tbody,
    #Reportdata,
    #Reportdata .report-cards-container,
    #DrawingListDiv #dtAllQuote tbody,
    #frmFirearrestInspector,
    #frmManage,
    #drawingPinViewPage,
    #unifiedPinEditMobilePage,
    #frmSendEmail,
    #emailDetailsPage {
        display: block;
        width: 100%;
        padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    }

    /* Drawing Pin View on mobile: drawing-only */
    .drawing-pin-mobile-no-padding {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    #drawingPinViewFilterHost,
    #drawingPinViewPage .btn-group-table {
        display: none !important;
    }

    #drawingPinViewPage .drawing-pin-filter-actions-desktop {
        display: none !important;
    }

     .drawing-pin-mobile-toolbar {  
        display: inline-flex !important;
        gap: 10px;
        justify-content: end;
        width: 100%;
        padding-right: 14px;
        margin-top: 10px;
      }

    #drawingPinViewPage {
        padding: 0 !important;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        position: relative;
    }

    #drawingPinViewPage.drawing-pin-view--list {
        align-items: flex-start;
    }

    #drawingPinMobileFilterModal .premium-card-styled {
        margin-bottom: 0 !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        background: transparent !important;
    }

    #drawingPinMobileFilterModal .drawing-pin-filter-actions-desktop {
        display: none !important;
    }

    #drawingPinViewPage .drawing-accordion .accordion-icons {
        display: none !important;
    }

    #drawingPinViewPage .drawing-accordion .accordion__content {
        display: none !important;
    }

    #drawingPinViewPage .drawing-accordion .accordion__input {
        display: none !important;
        pointer-events: none;
    }

    #drawingPinViewPage .drawing-accordion {
        margin: 10px;
    }

    #drawingPinViewPage .drawing-accordion .accordion__label {
        display: flex !important;
        justify-content: space-between !important;
        width: 100%;
        cursor: pointer;
    }

    #drawingPinViewPage .drawing-accordion .accordion__input:checked + .accordion__label,
    #drawingPinViewPage .drawing-accordion .accordion__input:checked + .accordion__label + .accordion__content {
        border: none !important;
        background-color: transparent !important;
        border-radius: 0 !important;
    }

    #drawingPinViewPage .leaflet-marker-icon.drawing-pin-marker--move-active {
        outline: 2px dashed #26990a;
        outline-offset: 2px;
    }

    /* Drawing image mobile block (class-independent). */
    #drawingPinViewPage #loadPartialview {
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
    }

    #drawingPinViewPage #loadPartialview > .box-heading-tag.seach-full.mb-5,
    #drawingPinViewPage #loadPartialview .table-responsive.table-pindata {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #drawingPinViewPage #loadPartialview > div:first-child {
        margin: 0 !important;
        padding: 0 !important;
    }

    #drawingPinViewPage #loadPartialview > div:first-child > div:first-child {
        margin: 0 !important;
        border: none !important;
        border-radius: 0 !important;
    }

    /* Keep image at natural aspect so pin coordinates stay visually consistent */
    #drawingPinViewPage .afterLoadImgD-none {
        width: 100%;
        margin: 0;
    }

    /*
     * Pin marker on mobile is sized to the SVG's natural aspect ratio
     * (viewBox 376.04 x 471.86 ≈ 0.797) so the SVG fills the icon box with
     * no padding. Anchor is placed at the bottom-center which is the
     * pin's visual tip — this guarantees the tip lands on the saved
     * image coordinate, instead of being offset like the (legacy) desktop CSS.
     */
    #drawingPinViewPage .leaflet-marker-icon.my-div-icon.leaflet-zoom-animated {
        width: 30px !important;
        height: 38px !important;
        margin-left: -15px !important;
        margin-top: -38px !important;
    }

    #drawingPinViewPage .leaflet-marker-icon .marker.makerImg {
        width: 30px !important;
        height: 38px !important;
        top: 0 !important;
        left: 0 !important;
    }

    #drawingPinViewPage .leaflet-marker-icon .marker.makerImg svg {
        width: 100%;
        height: 100%;
        display: block;
    }

    #drawingPinViewPage .leaflet-marker-icon .marker.makerImg .marker-text {
        font-size: 10px !important;
        line-height: 1;
        top: 0;
        right: 0;
    }

    /* Keep zoomed/panned drawing clipped inside the viewport on mobile (do not set overflow on .leaflet-map-pane — it collapses and hides the drawing). */
    #drawingPinViewPage .viewport.leaflet-container {
        overflow: hidden !important;
    }

    .leaflet-top{
        display: none !important;
    }
    #projectReportPage {
        display: block;
        width: 100%;
        padding-bottom: calc(200px + env(safe-area-inset-bottom, 0px));
    }

    /* Project Report: center report type buttons on mobile */
    #frmGetProjectReport #step-2 .project-report-type-btn-wrap {
        display: flex;
        justify-content: center;
    }

    #frmGetProjectReport #step-2 .project-report-type-btn-wrap .make-btn {
        width: min(100%, 390px);
        margin: 0 auto;
    }

    /* Project Report: stack cards in one column with gap */
    #frmGetProjectReport .custom-project-block {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    #frmGetProjectReport .custom-project-block > .col-sm-4,
    #frmGetProjectReport .custom-project-block > [id^="step-3-"] {
        width: 100%;
        max-width: 100%;
        margin-bottom: 0;
    }

    /* Project Report: hide step and report headings in mobile */
    #frmGetProjectReport .custom-project-block .setp-sec,
    #frmGetProjectReport #step-2 h6,
    #frmGetProjectReport #step-3-cplt h6,
    #frmGetProjectReport #step-3-cstm h6 {
        display: none !important;
    }

    /* Project Report: icon action buttons on mobile */
    #frmGetProjectReport .project-report-action-buttons {
        display: flex !important;
        justify-content: space-between;
        align-items: flex-start;
        gap: clamp(6px, 2vw, 14px);
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    #frmGetProjectReport .project-report-action-btn {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        min-width: 0;
        flex: 1 1 0;
        width: 0;
        max-width: 100%;
        overflow: visible;
        transform: none !important;
    }

    #frmGetProjectReport .project-report-mobile-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
        min-width: 0;
    }

    #frmGetProjectReport .or {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #frmGetProjectReport .project-report-desktop-text {
        display: none;
    }

    #frmGetProjectReport #step-3-cplt .project-report-complete-cancel {
        display: flex;
    }

    #frmGetProjectReport .project-report-action-btn:hover,
    #frmGetProjectReport .project-report-action-btn:focus {
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }

    #frmGetProjectReport .project-report-action-btn .project-report-action-icon {
        width: 100%;
        max-width: clamp(52px, 26vw, 90px);
        height: auto;
        aspect-ratio: 90 / 70;
        min-height: 48px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--border-color);
        background: var(--bg-surface);
        color: var(--text-secondary);
        box-sizing: border-box;
        flex-shrink: 1;
    }

    #frmGetProjectReport .project-report-action-btn .project-report-action-icon svg {
        width: clamp(18px, 6.5vw, 42px);
        height: auto;
        max-width: 100%;
        flex-shrink: 0;
    }

    #frmGetProjectReport .project-report-action-btn-excel .project-report-action-icon {
        color: #128a2e;
        border-color: #82c995;
        background: #e8f6ed;
    }

    #frmGetProjectReport .project-report-action-btn-pdf .project-report-action-icon {
        color: #f04438;
        border-color: #df8a86;
        background: #faeceb;
    }

    #frmGetProjectReport .project-report-action-btn-cancel .project-report-action-icon {
        color: #ffffff;
        border-color: #a50f0f;
        background: #a50f0f;
    }

    #frmGetProjectReport .project-report-action-btn .project-report-action-label {
        font-size: clamp(10px, 2.8vw, 12px);
        line-height: 1.25;
        color: var(--text-secondary);
        text-align: center;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
        max-width: 100%;
        padding: 0 2px;
    }


    #clientListPage #dtAllQuote tbody tr.target,
    #adminListPage #dtAllQuote tbody tr.target,
    #emailListPage #dtAllQuote tbody tr.target,
    #projectListPage #dtAllQuote tbody tr.target,
    #formListPage #dtAllQuote tbody tr.target,
    #materialListPage #dtAllQuote tbody tr.target,
    #pinTypeListPage #dtAllQuote tbody tr.target,
    #holeTypeListPage #dtAllQuote tbody tr.target,
    #fireRatingListPage #dtAllQuote tbody tr.target,
    #installationGuidePage #dtAllQuote tbody tr.target,
    #reportBatchListPage #dtAllQuote tbody tr.target,
    #DrawingListDiv #dtAllQuote tbody tr.target {
        display: block;
        position: relative;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-bottom: var(--spacing-md);
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-xxl);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    #clientListPage #dtAllQuote tbody tr.target:last-child,
    #adminListPage #dtAllQuote tbody tr.target:last-child,
    #emailListPage #dtAllQuote tbody tr.target:last-child,
    #projectListPage #dtAllQuote tbody tr.target:last-child,
    #formListPage #dtAllQuote tbody tr.target:last-child,
    #materialListPage #dtAllQuote tbody tr.target:last-child,
    #pinTypeListPage #dtAllQuote tbody tr.target:last-child,
    #holeTypeListPage #dtAllQuote tbody tr.target:last-child,
    #fireRatingListPage #dtAllQuote tbody tr.target:last-child,
    #installationGuidePage #dtAllQuote tbody tr.target:last-child,
    #reportBatchListPage #dtAllQuote tbody tr.target:last-child,
    #DrawingListDiv #dtAllQuote tbody tr.target:last-child {
        margin-bottom: calc(var(--spacing-md) + 12px);
    }

    #clientListPage #dtAllQuote tbody tr.target td,
    #adminListPage #dtAllQuote tbody tr.target td,
    #emailListPage #dtAllQuote tbody tr.target td,
    #projectListPage #dtAllQuote tbody tr.target td,
    #formListPage #dtAllQuote tbody tr.target td,
    #materialListPage #dtAllQuote tbody tr.target td,
    #pinTypeListPage #dtAllQuote tbody tr.target td,
    #holeTypeListPage #dtAllQuote tbody tr.target td,
    #fireRatingListPage #dtAllQuote tbody tr.target td,
    #installationGuidePage #dtAllQuote tbody tr.target td,
    #reportBatchListPage #dtAllQuote tbody tr.target td,
    #DrawingListDiv #dtAllQuote tbody tr.target td {
        display: none;
        border-bottom: none;
        max-width: none !important;
    }

    #emailListPage #dtAllQuote tbody tr.target td:nth-child(1),
    #clientListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #adminListPage #dtAllQuote tbody tr.target td:nth-child(2),
    /* #projectListPage #dtAllQuote tbody tr.target td:nth-child(2), */
    #formListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #materialListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #pinTypeListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #holeTypeListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #fireRatingListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #installationGuidePage #dtAllQuote tbody tr.target td:nth-child(2),
    /* #reportBatchListPage #dtAllQuote tbody tr.target td:nth-child(2), */
    #DrawingListDiv #dtAllQuote tbody tr.target td:nth-child(2) {
        display: flex !important;
        align-items: center;
        position: relative;
        z-index: 1;
        width: 100% !important;
        min-height: 52px;
        padding: var(--table-td-padding);
        box-sizing: border-box;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        color: var(--text-primary);
        font-weight: var(--font-weight-medium);
        font-size: var(--font-size-s);
    }

    #emailListPage #dtAllQuote tbody tr.target td:nth-child(1),
    #clientListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #adminListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #projectListPage #dtAllQuote tbody tr.target td:nth-child(4),
    #formListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #materialListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #pinTypeListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #holeTypeListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #fireRatingListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #installationGuidePage #dtAllQuote tbody tr.target td:nth-child(2),
    #reportBatchListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #DrawingListDiv #dtAllQuote tbody tr.target td:nth-child(2) {
        padding-right: 64px;
    }

    /* Primary label cell: flex row must shrink so long text wraps inside the card */
    #clientListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #adminListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #emailListPage #dtAllQuote tbody tr.target td:nth-child(1),
    #projectListPage #dtAllQuote tbody tr.target td:nth-child(4),
    #formListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #materialListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #pinTypeListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #holeTypeListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #fireRatingListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #installationGuidePage #dtAllQuote tbody tr.target td:nth-child(2),
    #reportBatchListPage #dtAllQuote tbody tr.target td:nth-child(2),
    #DrawingListDiv #dtAllQuote tbody tr.target td:nth-child(2) {
        min-width: 0;
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    #clientListPage #dtAllQuote tbody tr.target td:nth-child(2) .view-mode,
    #adminListPage #dtAllQuote tbody tr.target td:nth-child(2) .view-mode,
    #emailListPage #dtAllQuote tbody tr.target td:nth-child(1) .view-mode,
    #projectListPage #dtAllQuote tbody tr.target td:nth-child(4) .view-mode,
    #formListPage #dtAllQuote tbody tr.target td:nth-child(2) .view-mode,
    #materialListPage #dtAllQuote tbody tr.target td:nth-child(2) .view-mode,
    #pinTypeListPage #dtAllQuote tbody tr.target td:nth-child(2) .view-mode,
    #holeTypeListPage #dtAllQuote tbody tr.target td:nth-child(2) .view-mode,
    #fireRatingListPage #dtAllQuote tbody tr.target td:nth-child(2) .view-mode,
    #installationGuidePage #dtAllQuote tbody tr.target td:nth-child(2) .view-mode,
    #reportBatchListPage #dtAllQuote tbody tr.target td:nth-child(2) .view-mode,
    #DrawingListDiv #dtAllQuote tbody tr.target td:nth-child(2) .view-mode {
        flex: 1 1 auto;
        min-width: 0;
        color: var(--text-primary);
        font-weight: var(--font-weight-medium);
        font-size: var(--font-size-s);
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    #clientListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #adminListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #emailListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #projectListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #formListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #materialListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #pinTypeListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #holeTypeListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #fireRatingListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #installationGuidePage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #reportBatchListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #DrawingListDiv #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td {
        display: flex !important;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        min-width: 40px;
        max-width: 40px;
        height: 40px;
        margin: 0;
        padding: 0 !important;
        align-items: center;
        justify-content: center;
        border: none;
        background: transparent;
        z-index: 6;
    }

    #clientListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #adminListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #emailListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #projectListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #formListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #materialListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #pinTypeListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #holeTypeListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #fireRatingListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #installationGuidePage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #reportBatchListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td,
    #DrawingListDiv #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td {
        pointer-events: auto;
    }

    #adminListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .action-toggle svg {
        width: 18px;
        height: 18px;
        transform: rotate(90deg);
    }

    #adminListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .dropdown.show > .action-toggle svg,
    #adminListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .action-toggle[aria-expanded="true"] svg {
        transform: rotate(0deg);
    }

    #materialListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .action-toggle svg {
        width: 18px;
        height: 18px;
        transform: rotate(90deg);
    }

    #materialListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .dropdown.show > .action-toggle svg,
    #materialListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .action-toggle[aria-expanded="true"] svg {
        transform: rotate(0deg);
    }

    #pinTypeListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .action-toggle svg {
        width: 18px;
        height: 18px;
        transform: rotate(90deg);
    }

    #pinTypeListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .dropdown.show > .action-toggle svg,
    #pinTypeListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .action-toggle[aria-expanded="true"] svg {
        transform: rotate(0deg);
    }

    #holeTypeListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .action-toggle svg,
    #fireRatingListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .action-toggle svg {
        width: 18px;
        height: 18px;
        transform: rotate(90deg);
    }

    #holeTypeListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .dropdown.show > .action-toggle svg,
    #holeTypeListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .action-toggle[aria-expanded="true"] svg,
    #fireRatingListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .dropdown.show > .action-toggle svg,
    #fireRatingListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .action-toggle[aria-expanded="true"] svg {
        transform: rotate(0deg);
    }

    #fireRatingListPage #dtAllQuote tbody tr.table-row-editing.target td.col-edit-action-th {
        display: flex !important;
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto;
        margin: 0;
        padding: 0 !important;
        border: none;
        background: transparent;
        z-index: 7;
        align-items: center;
        justify-content: center;
    }

    #fireRatingListPage #dtAllQuote tbody tr.table-row-editing.target td.col-edit-action-th .edit-mode {
        display: block !important;
        padding: 0 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #fireRatingListPage #dtAllQuote tbody tr.table-row-editing.target td.col-edit-action-th .edit-mode > .d-flex {
        display: flex !important;
        align-items: center;
        gap: 6px !important;
    }

    #fireRatingListPage #dtAllQuote tbody tr.table-row-editing.target td.col-edit-action-th .action-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        visibility: visible !important;
        opacity: 1 !important;
    }

    #fireRatingListPage #dtAllQuote tbody tr.table-row-editing.target td:nth-child(2) {
        display: flex !important;
        padding-left: 84px !important;
        padding-right: 64px !important;
    }

    #installationGuidePage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .action-toggle svg {
        width: 18px;
        height: 18px;
        transform: rotate(90deg);
    }

    #installationGuidePage #dtAllQuote tbody tr.target:not(.table-row-editing) .dropdown.show > .action-toggle svg,
    #installationGuidePage #dtAllQuote tbody tr.target:not(.table-row-editing) .action-toggle[aria-expanded="true"] svg {
        transform: rotate(0deg);
    }

    #reportBatchListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .action-toggle svg {
        width: 18px;
        height: 18px;
        transform: rotate(90deg);
    }

    #reportBatchListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .dropdown.show > .action-toggle svg,
    #reportBatchListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .action-toggle[aria-expanded="true"] svg {
        transform: rotate(0deg);
    }

    #formListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .action-toggle svg {
        width: 18px;
        height: 18px;
        transform: rotate(90deg);
    }

    #formListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .dropdown.show > .action-toggle svg,
    #formListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .action-toggle[aria-expanded="true"] svg {
        transform: rotate(0deg);
    }

    #formListPage #dtAllQuote tbody tr:not(.target) {
        display: block;
        width: 100%;
        margin-bottom: var(--spacing-md);
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-xxl);
    }

    #formListPage #dtAllQuote tbody tr:not(.target) td {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        text-align: center;
        border: none;
        padding: var(--spacing-lg);
    }

    #formListPage .table-toolbar .premium-search-wrapper,
    #clientListPage .table-toolbar .premium-search-wrapper,
    #projectListPage .table-toolbar .premium-search-wrapper,
    #adminListPage .table-toolbar .premium-search-wrapper {
        margin-left: 0;
    }

    /* Collapsed endpoint: lock flex size so inner input (width:100%) cannot widen the pill mid-collapse */
    #formListPage .table-toolbar .premium-search-wrapper:not(.expanded),
    #clientListPage .table-toolbar .premium-search-wrapper:not(.expanded),
    #projectListPage .table-toolbar .premium-search-wrapper:not(.expanded),
    #adminListPage .table-toolbar .premium-search-wrapper:not(.expanded),
    #emailListPage .table-toolbar .premium-search-wrapper:not(.expanded) {
        flex: 0 0 32px;
        width: 32px;
        min-width: 32px;
        max-width: 32px;
    }

    #formListPage .table-toolbar .premium-search-wrapper.expanded,
    #clientListPage .table-toolbar .premium-search-wrapper.expanded,
    #projectListPage .table-toolbar .premium-search-wrapper.expanded,
    #adminListPage .table-toolbar .premium-search-wrapper.expanded,
    #emailListPage .table-toolbar .premium-search-wrapper.expanded {
        flex: 1 1 auto;
        min-width: 0;
        width: max(100px, calc(100vw - 100vw / 2));
        max-width: 50%;
        box-sizing: border-box;
    }

    #formListPage .table-toolbar .premium-search-wrapper.expanded .search-input-field,
    #clientListPage .table-toolbar .premium-search-wrapper.expanded .search-input-field,
    #projectListPage .table-toolbar .premium-search-wrapper.expanded .search-input-field,
    #adminListPage .table-toolbar .premium-search-wrapper.expanded .search-input-field,
    #emailListPage .table-toolbar .premium-search-wrapper.expanded .search-input-field {
        min-width: 0;
    }
     
    #clientListPage .table-toolbar,
    #formListPage .table-toolbar,
    #projectListPage .table-toolbar,
    #adminListPage .table-toolbar,
    #emailListPage .table-toolbar {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-end;
    }






    /* #clientListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .action-toggle {
        width: 36px;
        height: 36px;
        min-width: 36px;
        min-height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--bg-muted);
        border-radius: 999px;
    } */

    #clientListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .action-toggle svg,
    #emailListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .action-toggle svg {
        width: 18px;
        height: 18px;
        transform: rotate(90deg);
    }

    #DrawingListDiv #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .action-toggle svg {
        width: 18px;
        height: 18px;
        transform: rotate(90deg);
    }

    #DrawingListDiv #dtAllQuote tbody tr.target:not(.table-row-editing) .dropdown.show > .action-toggle svg,
    #DrawingListDiv #dtAllQuote tbody tr.target:not(.table-row-editing) .action-toggle[aria-expanded="true"] svg {
        transform: rotate(0deg);
    }

    #clientListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown,
    #adminListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown,
    #emailListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown,
    #DrawingListDiv #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown {
        position: relative;
    }

    #clientListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown-menu.premium-dropdown-menu,
    #adminListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown-menu.premium-dropdown-menu,
    #emailListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown-menu.premium-dropdown-menu,
    #DrawingListDiv #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown-menu.premium-dropdown-menu {
        top: calc(100% + 8px) !important;
        bottom: auto !important;
        right: 0 !important;
        left: auto !important;
        margin: 0 !important;
        transform: none !important;
        z-index: 1200 !important;
    }

    #clientListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown-menu.premium-dropdown-menu.dropdown-menu-mobile-up,
    #adminListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown-menu.premium-dropdown-menu.dropdown-menu-mobile-up,
    #emailListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown-menu.premium-dropdown-menu.dropdown-menu-mobile-up,
    #DrawingListDiv #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown-menu.premium-dropdown-menu.dropdown-menu-mobile-up {
        top: auto !important;
        bottom: calc(100% + 8px) !important;
    }

    #projectListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown {
        position: relative;
    }


    #projectListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown-menu.premium-dropdown-menu {
        top: calc(100% + 8px) !important;
        bottom: auto !important;
        right: 0 !important;
        left: auto !important;
        margin: 0 !important;
        transform: none !important;
        z-index: 1200 !important;
    }


    #projectListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown-menu.premium-dropdown-menu.dropdown-menu-mobile-up {
        top: auto !important;
        bottom: calc(100% + 8px) !important;
    }

    #frmSendEmail .premium-card > .d-flex,
    #frmSendEmail .premium-card > .d-flex > div.d-flex {
        flex-direction: column;
        align-items: stretch !important;
        gap: 8px !important;
    }

    #frmSendEmail .premium-card > .d-flex.mb-4 {
        margin-bottom: 12px !important;
    }

    #frmSendEmail .premium-card label {
        min-width: 0;
        margin-bottom: 0;
        font-weight: var(--font-weight-semibold);
    }

    #frmSendEmail .sticky-totals-footer {
        bottom: 72px;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        border-radius: 12px 12px 0 0;
        box-shadow: 0 -4px 12px rgba(0,0,0,0.05);
        padding: 12px var(--spacing-lg) !important;
    }

    #materialListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown,
    #reportBatchListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown {
        position: relative;
    }

    #materialListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown-menu.premium-dropdown-menu,
    #reportBatchListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown-menu.premium-dropdown-menu {
        top: calc(100% + 8px) !important;
        bottom: auto !important;
        right: 0 !important;
        left: auto !important;
        margin: 0 !important;
        transform: none !important;
        z-index: 1200 !important;
    }

    #materialListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown-menu.premium-dropdown-menu.dropdown-menu-mobile-up,
    #reportBatchListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown-menu.premium-dropdown-menu.dropdown-menu-mobile-up {
        top: auto !important;
        bottom: calc(100% + 8px) !important;
    }


    #clientListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .dropdown.show > .action-toggle svg,
    #clientListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .action-toggle[aria-expanded="true"] svg,
    #adminListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .dropdown.show > .action-toggle svg,
    #adminListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .action-toggle[aria-expanded="true"] svg {
        transform: rotate(0deg);
    }

    #clientListPage #dtAllQuote tbody tr.table-row-editing.target,
    #adminListPage #dtAllQuote tbody tr.table-row-editing.target {
        display: table-row;
        margin-bottom: 0;
        box-shadow: none;
        border: none;
        border-radius: 0;
    }

    #clientListPage #dtAllQuote tbody tr.table-row-editing.target td,
    #adminListPage #dtAllQuote tbody tr.table-row-editing.target td {
        display: table-cell !important;
        border-bottom: 1px solid var(--border-color);
    }

    #clientListPage #dtAllQuote tbody tr.table-row-editing.target td:nth-child(2)::after,
    #adminListPage #dtAllQuote tbody tr.table-row-editing.target td:nth-child(2)::after {
        display: none;
    }

    #clientListPage #dtAllQuote tbody tr.table-row-editing.target td.col-action-three-dot-td,
    #adminListPage #dtAllQuote tbody tr.table-row-editing.target td.col-action-three-dot-td {
        position: static;
        transform: none;
        width: 100px;
        min-width: 100px;
        max-width: 100px;
        height: auto;
        opacity: 1;
        pointer-events: auto;
    }

    #clientListPage #dtAllQuote tbody tr.table-row-editing.target td.col-action-three-dot-td .action-toggle,
    #adminListPage #dtAllQuote tbody tr.table-row-editing.target td.col-action-three-dot-td .action-toggle {
        opacity: 1;
    }

    #clientListPage #dtAllQuote tbody tr:not(.target),
    #adminListPage #dtAllQuote tbody tr:not(.target) {
        display: block;
        width: 100%;
        margin-bottom: var(--spacing-md);
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-xxl);
    }

    #clientListPage #dtAllQuote tbody tr:not(.target),
    #adminListPage #dtAllQuote tbody tr:not(.target),
    #emailListPage #dtAllQuote tbody tr:not(.target) {
        display: block;
        width: 100%;
        margin-bottom: var(--spacing-md);
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-xxl);
    }

    #projectListPage #projectTabSelect {
        display: block !important;
        width: auto;
        min-width: 140px;
        max-width: 55%;
        padding: 6px var(--spacing-md);
        margin: 0;
        font-family: var(--font-family);
        font-size: var(--font-size-s);
        font-weight: var(--font-weight-medium);
        color: var(--text-primary);
        background-color: var(--bg-surface);
        border: none;
        border-radius: var(--btn-radius-squircle);
        box-shadow: none;
        appearance: none;
        -webkit-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236b7280' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        padding-right: 32px;
        cursor: pointer;
    }

    #projectListPage #active-tab,
    #projectListPage #inactive-tab {
        display: none !important;
    }

    #projectListPage .tab-container {
        align-items: center;
    }

    #projectListPage #clientDropdownWrapper,
    #projectListPage #calendarWrapper,
    #projectListPage .table-pagination {
        display: none !important;
    }

    /* Project mobile cards: dedicated responsive meta block */
    /* td:nth-child(4) = ClientName column (SiteName is now nth-child(2) after column swap) */
    #projectListPage #dtAllQuote tbody tr.target td:nth-child(4) {
        display: block !important;
        width: 100% !important;
        min-height: 0;
        padding: 10px 54px 12px 12px !important;
        cursor: default;
    }

    #projectListPage #dtAllQuote tbody tr.target td:nth-child(4) .project-mobile-meta {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 6px;
    }

    #projectListPage #dtAllQuote tbody tr.target td:nth-child(4) .project-mobile-meta-item {
        min-width: 0;
    }

    #projectListPage #dtAllQuote tbody tr.target td:nth-child(4) .project-mobile-meta-label {
        display: block;
        margin-bottom: 4px;
        color: var(--text-secondary);
        font-size: var(--font-size-s);
        font-weight: var(--font-weight-semibold);
        line-height: 1.2;
    }

    #projectListPage #dtAllQuote tbody tr.target td:nth-child(4) .project-mobile-meta-value {
        display: block;
        color: var(--text-secondary);
        font-size: var(--font-size-s);
        line-height: 1.35;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    #projectListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .action-toggle svg {
        width: 18px;
        height: 18px;
        transform: rotate(90deg);
    }

    #projectListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .dropdown.show > .action-toggle svg,
    #projectListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .action-toggle[aria-expanded="true"] svg {
        transform: rotate(0deg);
    }

    #projectListPage #dtAllQuote tbody tr:not(.target) {
        display: block;
        width: 100%;
        margin-bottom: var(--spacing-md);
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-xxl);
    }

    #projectListPage #dtAllQuote tbody tr:not(.target) td {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        text-align: center;
        border: none;
        padding: var(--spacing-lg);
    }

    /* Report batch mobile cards: show Project, Client and Status */
    #reportBatchListPage #dtAllQuote tbody tr.target td.report-batch-primary-cell {
        display: block !important;
        width: 100% !important;
        min-height: 0;
        padding: 10px 54px 12px 12px !important;
        cursor: default;
    }

    #reportBatchListPage #dtAllQuote tbody tr.target td.report-batch-primary-cell .report-batch-mobile-meta {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 6px;
    }

    #reportBatchListPage #dtAllQuote tbody tr.target td.report-batch-primary-cell .report-batch-mobile-meta-item {
        min-width: 0;
    }

    #reportBatchListPage #dtAllQuote tbody tr.target td.report-batch-primary-cell .report-batch-mobile-meta-label {
        display: block;
        margin-bottom: 4px;
        color: var(--text-secondary);
        font-size: var(--font-size-s);
        font-weight: var(--font-weight-semibold);
        line-height: 1.2;
    }

    #reportBatchListPage #dtAllQuote tbody tr.target td.report-batch-primary-cell .report-batch-mobile-meta-value {
        display: block;
        font-size: var(--font-size-s);
        line-height: 1.35;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    /*
     * Batch actions dropdown (mobile): Global.css uses li:last-child to drop .premium-dropdown-item
     * borders, but hidden PDF/Excel rows break :last-child. Remove dividers for all action links here.
     */
    #reportBatchListPage #dtAllQuote tbody .dropdown-menu.premium-dropdown-menu .premium-dropdown-header {
        border-bottom: none !important;
        margin-bottom: 0 !important;
        padding-bottom: 4px !important;
    }

    #reportBatchListPage #dtAllQuote tbody .dropdown-menu.premium-dropdown-menu li:not(.premium-dropdown-header) .premium-dropdown-item {
        border-bottom: none !important;
        margin-bottom: 0 !important;
        padding-bottom: 6px !important;
    }

    #reportBatchListPage #dtAllQuote tbody .dropdown-menu.premium-dropdown-menu.batch-mobile-single-action {
        padding: 6px 8px 8px 10px !important;
        min-height: 0 !important;
    }

    #reportBatchListPage #dtAllQuote tbody .dropdown-menu.batch-mobile-single-action li:not(.premium-dropdown-header) .premium-dropdown-item {
        padding-bottom: 4px !important;
    }

    /* Submitted forms mobile cards: show main 3 fields, reveal extras on hold */
    #submittedFormsPage .table-pagination {
        display: none !important;
    }

    #submittedFormsPage .submitted-forms-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    #submittedFormsPage .submitted-forms-mobile-title {
        color: var(--text-primary);
        font-size: clamp(18px, 5.2vw, 34px);
        font-weight: var(--font-weight-medium);
        line-height: 1.2;
        margin: 0;
    }

    #submittedFormsPage .submitted-forms-filter-icon-btn svg {
        width: 22px;
        height: 22px;
    }

    #submittedFormsPage .submitted-forms-filter-icon-btn[aria-expanded="true"] {
        border-color: var(--color-primary);
    }

    #submittedFormsPage .submitted-forms-filter-panel {
        display: none;
    }

    #submittedFormsPage .submitted-forms-filter-panel.is-open {
        display: block;
    }

    #submittedFormsPage .premium-table-container {
        background: transparent;
        border: none;
        box-shadow: none;
        overflow: visible !important;
    }

    #submittedFormsPage .table-responsive.premium-table-wrapper {
        overflow: visible;
    }

    #submittedFormsPage #dtAllQuote {
        display: block;
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }

    #submittedFormsPage #dtAllQuote thead {
        display: none !important;
    }

    #submittedFormsPage #dtAllQuote tbody,
    #pinServiceFormsPage #dtAllQuote tbody {
        display: block;
        width: 100%;
        padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
    }

    #submittedFormsPage #dtAllQuote tbody tr.target {
        display: block;
        position: relative;
        width: 100%;
        margin-bottom: var(--spacing-md);
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-xxl);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    #submittedFormsPage #dtAllQuote tbody tr.target:last-child {
        margin-bottom: calc(var(--spacing-md) + 12px);
    }

    #submittedFormsPage #dtAllQuote tbody tr.target td {
        display: none;
        border-bottom: none;
        max-width: none !important;
    }

    #submittedFormsPage #dtAllQuote tbody tr.target td.submitted-form-primary-cell {
        display: block !important;
        width: 100% !important;
        min-height: 0;
        padding: 10px 54px 12px 12px !important;
        cursor: default;
    }

    #submittedFormsPage #dtAllQuote tbody tr.target td.submitted-form-primary-cell .submitted-form-mobile-meta {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 6px;
    }

    #submittedFormsPage #dtAllQuote tbody tr.target td.submitted-form-primary-cell .submitted-form-mobile-meta-item {
        min-width: 0;
    }

    #submittedFormsPage #dtAllQuote tbody tr.target td.submitted-form-primary-cell .submitted-form-mobile-meta-label {
        display: block;
        margin-bottom: 4px;
        color: var(--text-secondary);
        font-size: var(--font-size-s);
        font-weight: var(--font-weight-semibold);
        line-height: 1.2;
    }

    #submittedFormsPage #dtAllQuote tbody tr.target td.submitted-form-primary-cell .submitted-form-mobile-meta-value {
        display: block;
        font-size: var(--font-size-s);
        line-height: 1.35;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    #submittedFormsPage #dtAllQuote tbody tr.target td.submitted-form-action-td {
        display: flex !important;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        min-width: 40px;
        max-width: 40px;
        height: 40px;
        margin: 0;
        padding: 0 !important;
        align-items: center;
        justify-content: center;
        border: none;
        background: transparent;
        z-index: 6;
    }

    #submittedFormsPage #dtAllQuote tbody tr.target td.submitted-form-action-td .submitted-form-expand-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        padding: 0;
        border: none;
        background: transparent;
        position: absolute;
        top: 10px;
        right: 10px;
    }

    #submittedFormsPage #dtAllQuote tbody tr.target td.submitted-form-action-td .submitted-form-expand-toggle svg {
        transition: transform 0.2s ease;
    }

    #submittedFormsPage #dtAllQuote tbody tr.target td.submitted-form-action-td .submitted-form-mobile-actions {
        display: none !important;
    }

    #submittedFormsPage #dtAllQuote tbody tr.table-row-editing.target {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 8px;
        padding-bottom: 12px;
    }

    #submittedFormsPage #dtAllQuote tbody tr.table-row-editing.target td.submitted-form-action-td {
        position: static;
        top: auto;
        right: auto;
        transform: none;
        grid-column: 1 / -1;
        width: 100% !important;
        max-width: none;
        min-width: 0;
        height: auto;
        padding: 4px 12px 0 !important;
        justify-content: flex-end;
    }

    #submittedFormsPage #dtAllQuote tbody tr.table-row-editing.target td.submitted-form-action-td .submitted-form-expand-toggle svg {
        transform: rotate(90deg);
    }

    #submittedFormsPage #dtAllQuote tbody tr.table-row-editing.target td.submitted-form-action-td .submitted-form-expand-toggle {
        display: inline-flex !important;
    }

    #submittedFormsPage #dtAllQuote tbody tr.table-row-editing.target td.submitted-form-action-td .submitted-form-mobile-actions {
        display: flex !important;
        justify-content: flex-end;
        width: 100%;
        padding-top: 2px;
    }

    #submittedFormsPage #dtAllQuote tbody tr.target td.submitted-form-action-td .submitted-form-expanded-delete-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--color-primary);
        font-size: var(--font-size-s);
        font-weight: var(--font-weight-medium);
        text-decoration: none;
    }

    #submittedFormsPage #dtAllQuote tbody tr.table-row-editing.target td.submitted-form-primary-cell {
        grid-column: 1 / -1;
    }

    #submittedFormsPage #dtAllQuote tbody tr.table-row-editing.target td.submitted-form-detail-pin,
    #submittedFormsPage #dtAllQuote tbody tr.table-row-editing.target td.submitted-form-detail-status,
    #submittedFormsPage #dtAllQuote tbody tr.table-row-editing.target td.submitted-form-detail-filled-by {
        display: block !important;
        width: 100% !important;
        padding: 6px 12px 2px !important;
        font-size: var(--font-size-s);
    }

    #submittedFormsPage #dtAllQuote tbody tr.table-row-editing.target td.submitted-form-detail-filled-on {
        display: block !important;
        grid-column: 1 / -1;
        width: 100% !important;
        padding: 0 12px 2px !important;
        font-size: var(--font-size-s);
    }

    #submittedFormsPage #dtAllQuote tbody tr.table-row-editing.target td.submitted-form-detail-cell::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: var(--text-secondary);
        font-weight: var(--font-weight-semibold);
        line-height: 1.2;
    }

    #submittedFormsPage #dtAllQuote tbody tr.table-row-editing.target td.submitted-form-detail-status .status-pill {
        margin-left: 0;
    }

    #submittedFormsPage #dtAllQuote tbody tr:not(.target) {
        display: block;
        width: 100%;
        margin-bottom: var(--spacing-md);
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-xxl);
    }

    #submittedFormsPage #dtAllQuote tbody tr:not(.target) td {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        text-align: center;
        border: none;
        padding: var(--spacing-lg);
    }

    /* Pin service forms list (GetServiceForms) mobile cards */
    #pinServiceFormsPage #dtAllQuote {
        display: block;
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }

    #pinServiceFormsPage #dtAllQuote thead {
        display: none !important;
    }

    #pinServiceFormsPage #dtAllQuote tbody tr.target {
        display: block;
        position: relative;
        width: 100%;
        margin-bottom: var(--spacing-md);
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-xxl);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    }

    #pinServiceFormsPage #dtAllQuote tbody tr.target:last-child {
        margin-bottom: calc(var(--spacing-md) + 12px);
    }

    #pinServiceFormsPage #dtAllQuote tbody tr.target td {
        display: none;
        border-bottom: none;
        max-width: none !important;
    }

    #pinServiceFormsPage #dtAllQuote tbody tr.target td.pin-svc-form-primary-cell {
        display: block !important;
        width: 100% !important;
        min-height: 0;
        padding: 12px 54px 12px 12px !important;
        cursor: default;
    }

    #pinServiceFormsPage #dtAllQuote tbody tr.target td.pin-svc-form-primary-cell .pin-svc-form-mobile-meta {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 8px;
    }

    #pinServiceFormsPage #dtAllQuote.pin-svc-form-list-new tbody tr.target td.pin-svc-form-primary-cell .pin-svc-form-mobile-meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #pinServiceFormsPage #dtAllQuote tbody tr.target td.pin-svc-form-primary-cell .pin-svc-form-mobile-meta-item {
        min-width: 0;
    }

    #pinServiceFormsPage #dtAllQuote tbody tr.target td.pin-svc-form-primary-cell .pin-svc-form-mobile-meta-label {
        display: block;
        margin-bottom: 4px;
        color: var(--text-secondary);
        font-size: var(--font-size-s);
        font-weight: var(--font-weight-semibold);
        line-height: 1.2;
    }

    #pinServiceFormsPage #dtAllQuote tbody tr.target td.pin-svc-form-primary-cell .pin-svc-form-mobile-meta-value {
        display: block;
        color: var(--text-primary);
        font-size: var(--font-size-s);
        font-weight: var(--font-weight-medium);
        line-height: 1.3;
        word-break: break-word;
    }

    #pinServiceFormsPage #dtAllQuote tbody tr.target td.pin-svc-form-primary-cell .pin-svc-form-mobile-meta-value .status-pill {
        margin-top: 2px;
    }

    #pinServiceFormsPage #dtAllQuote tbody tr.target td.pin-svc-form-action-td {
        display: flex !important;
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        min-width: 40px;
        max-width: none;
        height: auto;
        margin: 0;
        padding: 0 !important;
        align-items: center;
        justify-content: center;
        border: none;
        background: transparent;
        z-index: 6;
    }

    #pinServiceFormsPage #dtAllQuote tbody tr.target td.pin-svc-form-action-td.col-action-three-dot-td {
        width: 40px;
        min-width: 40px;
        max-width: 40px;
        height: 40px;
    }

    #pinServiceFormsPage #dtAllQuote tbody tr.target td.pin-svc-form-action-td .pin-svc-form-fill-btn {
        font-size: var(--font-size-s);
        padding: 6px 12px;
        white-space: nowrap;
    }

    #pinServiceFormsPage #dtAllQuote tbody tr.target td.pin-svc-form-action-td.col-action-three-dot-td .action-toggle svg {
        width: 18px;
        height: 18px;
        transform: rotate(90deg);
    }

    #pinServiceFormsPage #dtAllQuote tbody tr.target td.pin-svc-form-action-td.col-action-three-dot-td .dropdown.show > .action-toggle svg,
    #pinServiceFormsPage #dtAllQuote tbody tr.target td.pin-svc-form-action-td.col-action-three-dot-td .action-toggle[aria-expanded="true"] svg {
        transform: rotate(0deg);
    }

    #pinServiceFormsPage #dtAllQuote tbody tr:not(.target) {
        display: block;
        width: 100%;
        margin-bottom: var(--spacing-md);
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-xxl);
    }

    #pinServiceFormsPage #dtAllQuote tbody tr:not(.target) td {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        text-align: center;
        border: none;
        padding: var(--spacing-lg);
    }

    #pinServiceFormsPage .tab-container {
        align-items: center;
    }

    #frmCreateProject .row.align-items-start.mb-4 > .col-md-12.d-flex.gap-4 {
        flex-direction: column;
        gap: var(--spacing-md) !important;
    }

    #frmCreateProject .row.align-items-start.mb-4 > .col-md-12.d-flex.gap-4 > .card-ui.p-4.w-50 {
        width: 100% !important;
    }

    #pinSequenceDropdownWrapper {
        display: block;
    }

    .shared-pin-sequence-group .shared-pin-sequence-card {
        display: none;
    }

    #DrawingListDiv .table-pagination {
        display: none !important;
    }

    #DrawingListDiv .table-toolbar {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: flex-end;
    }

    #DrawingListDiv .table-toolbar > .d-flex.gap-2 {
        display: flex !important;
    }

    #DrawingListDiv .table-toolbar .premium-search-wrapper {
        margin-left: 0;
    }

    /* Drawings toolbar: compact expanded search + icon-only upload on small screens */
    #DrawingListDiv .premium-search-wrapper.expanded {
        width: max(100px, calc(100vw - 100vw / 2));
        max-width: 50%;
        box-sizing: border-box;
    }

    #DrawingListDiv .drawing-toolbar-upload-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-width: 40px;
        padding-left: 12px;
        padding-right: 12px;
    }

    #DrawingListDiv .drawing-toolbar-upload-btn__icon {
        display: flex;
        flex: 0 0 auto;
        line-height: 0;
    }

    #DrawingListDiv .drawing-toolbar-upload-btn__icon svg {
        display: block;
    }

    #DrawingListDiv .drawing-toolbar-upload-btn__text {
        display: none !important;
    }

    #DrawingListDiv #dtAllQuote tbody tr:not(.target) {
        display: block;
        width: 100%;
        margin-bottom: var(--spacing-md);
        background: var(--bg-surface);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-xxl);
    }

    #DrawingListDiv #dtAllQuote tbody tr:not(.target) td {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        text-align: center;
        border: none;
        padding: var(--spacing-lg);
    }
    .inner-form-box.company-form form .shared-pin-sequence-group {
        display: block;
    }

    /* Add Form: mobile field alignment */
    #frmFirearrestInspector .add-form-responsive-row {
        row-gap: 16px;
    }

    #frmFirearrestInspector .add-form-field-label {
        display: block;
        white-space: nowrap;
        margin-bottom: 8px;
    }

    #frmFirearrestInspector .add-form-title-col,
    #frmFirearrestInspector .add-form-category-list-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    #frmFirearrestInspector .add-form-category-col {
        flex: 1 1 calc(100% - 78px);
        max-width: calc(100% - 78px);
    }

    #frmFirearrestInspector .add-form-category-btn-col {
        flex: 0 0 62px;
        max-width: 62px;
        display: flex;
        align-items: flex-end;
        justify-content: flex-end;
    }

    #frmFirearrestInspector .add-form-category-btn {
        height: 38px;
        line-height: 0;
    }

    #frmFirearrestInspector .add-form-category-btn #spnCatBtn {
        display: none;
    }

    #frmFirearrestInspector .add-form-plus-icon {
        font-size: 34px;
        line-height: 1;
        font-weight: 500;
        margin-top: -2px;
    }

    /* Add Form: show add-question button under last question on mobile */
    #frmFirearrestInspector .modern-question-section-wrapper {
        padding-right: 0;
    }

    #frmFirearrestInspector .floating-add-question-btn {
        position: static !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        width: fit-content;
        min-width: 0;
        height: 42px;
        margin: 6px auto 0;
        padding: 0 16px;
        background-color: var(--color-secondary);
        color: var(--text-inverse);
        border: none;
        box-shadow: none;
        gap: 8px;
    }

    #frmFirearrestInspector .floating-add-question-btn svg {
        width: 18px;
        height: 18px;
    }

    #frmFirearrestInspector .floating-add-question-btn:hover {
        transform: none !important;
        background-color: var(--color-secondary);
        color: var(--text-inverse);
        border: none;
        box-shadow: none;
    }

    #frmFirearrestInspector .floating-add-question-btn .add-question-mobile-label {
        display: inline-block;
        /* font-size: var(--font-size-m);
        font-weight: var(--font-weight-medium); */
        line-height: 1;
    }

    #frmFirearrestInspector .add-form-responsive-card {
        margin-right: 0px;
    }

    /* Cost report: mobile-only tuning for PinReport section */
    .main-content-wrapper .card-ui.p-4.mb-4 {
        padding: 16px !important;
        border-radius: 18px;
    }

    .main-content-wrapper .card-ui .row > .cost-filter-col {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .main-content-wrapper .search-buttons {
        width: fit-content;
        justify-content: flex-end;
        gap: 8px;
        margin-left: auto;
    }

    .main-content-wrapper .export-buttons {
        width: fit-content;
        gap: 10px;
        justify-content: center;
        flex-direction: row-reverse;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 10px;
    }

    .main-content-wrapper .export-buttons button.btn-ghost-premium {
      /*  width: 44px;
        min-width: 44px;
        height: 44px;*/
        padding: 16px;
        border-radius: 10px;
        font-size: 0;
        line-height: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .main-content-wrapper .export-buttons button.btn-ghost-premium svg {
       /* width: 18px;
        height: 18px;*/
        margin: 0;
    }

    .main-content-wrapper .export-buttons .cost-report-desktop-export-icon {
        display: none;
    }

    .main-content-wrapper .export-buttons .cost-report-mobile-export-icon {
        display: inline-flex;
        align-items: center;
    }

    .main-content-wrapper .export-buttons #IdCostReportGenarate.btn-ghost-premium {
        background-color: #fff4f1;
        border-color: #efb2a8;
        color: #ef5b3e;
    }

    .main-content-wrapper .export-buttons #IdExcelCostReportGenarate.btn-ghost-premium {
        background-color: #eaf5e7;
        border-color: #88b64e;
        color: #26990a;
    }

    .main-content-wrapper .filter-action-bar.cost-report-has-results .search-buttons {
        width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .main-content-wrapper .filter-action-bar.cost-report-has-results .search-buttons .btn-base {
        flex: 1 1 0;
        justify-content: center;
    }

    /* Keep Sumo dropdown list fully visible on small phones (no sticky OK/Cancel bar overlap) */
    .main-content-wrapper .fa-sumoselect-popup .SumoSelect > .optWrapper {
        max-height: min(300px, 52vh);
        overflow-y: auto;
    }

    .main-content-wrapper .fa-sumoselect-popup .SumoSelect > .optWrapper > .MultiControls {
        display: none !important;
    }

    #Reportdata .pin-report-mobile-scope .pin-card {
        border-radius: 10px;
        margin-bottom: 10px;
    }

    /* Reserve scroll space so the final record is not hidden behind sticky totals */
    #Reportdata .pin-report-mobile-scope {
        padding-bottom: 190px;
    }

    #Reportdata .pin-report-mobile-scope .pin-card-header {
        padding: 10px 10px;
    }

    #Reportdata .pin-report-mobile-scope .pin-info-left {
        gap: 10px;
        min-width: 0;
    }

    #Reportdata .pin-report-mobile-scope .pin-badge {
        width: 28px;
        height: 28px;
        font-size: 11px;
        flex: 0 0 28px;
    }

    #Reportdata .pin-report-mobile-scope .pin-summary {
        font-size: 12px;
        line-height: 1.3;
    }

    #Reportdata .pin-report-mobile-scope .pin-price-right {
        gap: 8px;
        flex-shrink: 0;
    }

    #Reportdata .pin-report-mobile-scope .pin-subtotal {
        font-size: 13px;
    }

    #Reportdata .pin-report-mobile-scope .pin-card-body {
        padding: 10px 10px 12px 10px;
    }

    #Reportdata .pin-report-mobile-scope .cost-grid-container {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 10px;
    }

    #Reportdata .pin-report-mobile-scope .cost-section-title {
        font-size: 13px;
        margin-bottom: 8px;
    }

    #Reportdata .pin-report-mobile-scope .cost-items-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    #Reportdata .pin-report-mobile-scope .cost-input-group {
        padding: 8px;
    }

    #Reportdata .pin-report-mobile-scope .cost-item-label {
        font-size: 11px;
        margin-bottom: 3px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    #Reportdata .pin-report-mobile-scope .cost-input-group input.form-control {
        padding: 4px 6px;
        height: 30px;
        font-size: 12px;
    }

    #Reportdata .pin-report-mobile-scope .cost-box-sec span {
        margin-right: 6px;
        font-size: 12px;
    }

    #Reportdata .pin-report-mobile-scope .pin-update-btn-container {
        margin-top: 12px;
    }

    #Reportdata .pin-report-mobile-scope .pin-update-btn-container .btn-base.btn-secondary {
        min-height: 36px;
        padding: 0 12px;
        font-size: 12px;
        gap: 6px;
    }

    #Reportdata .pin-report-mobile-scope .pin-update-btn-container .btn-base.btn-secondary svg {
        width: 14px;
        height: 14px;
    }

    #Reportdata .pin-report-mobile-scope .sticky-totals-footer {
        padding: 10px 12px;
        gap: 8px;
        flex-direction: column;
        align-items: stretch;
        border-radius: 10px 10px 0 0;
        bottom: 72px;
    }

    #Reportdata .pin-report-mobile-scope .sticky-totals-footer .total-item {
        width: 100%;
        justify-content: space-between;
        padding-right: 0;
    }

    #Reportdata .pin-report-mobile-scope .sticky-totals-footer .total-item::after {
        display: none;
    }

    #Reportdata .pin-report-mobile-scope .sticky-totals-footer .total-label,
    #Reportdata .pin-report-mobile-scope .sticky-totals-footer .subtotal-label {
        font-size: 13px;
    }

    #Reportdata .pin-report-mobile-scope .sticky-totals-footer .total-value {
        font-size: 14px;
    }

    #Reportdata .pin-report-mobile-scope .sticky-totals-footer .total-value-grand {
        font-size: 20px;
        line-height: 1;
    }

    #Reportdata .pin-report-mobile-scope .vat-input-wrapper {
        margin-left: 8px;
        margin-right: 8px;
        gap: 4px;
        flex: 0 0 auto;
    }

    #Reportdata .pin-report-mobile-scope .vat-input-wrapper input.vat-input-mini {
        max-width: 50px;
        height: 30px;
        padding: 4px 6px;
        font-size: 12px;
    }

    #Reportdata .pin-report-mobile-scope .vat-input-wrapper span {
        margin: 0;
        font-size: 12px;
    }

    #Reportdata .pin-report-mobile-scope .vat-input-wrapper button.btn-save-vat {
        padding: 5px;
    }

    #Reportdata .pin-report-mobile-scope .sticky-totals-footer .total-item:nth-child(2) {
        justify-content: flex-start;
    }

    #Reportdata .pin-report-mobile-scope .sticky-totals-footer .total-item:nth-child(2) .total-value {
        margin-left: auto;
    }

    /* QR List specific mobile overrides */
    #qrListPage .premium-table-container { background: transparent; border: none; box-shadow: none; overflow: visible !important; }
    #qrListPage .premium-table-wrapper { overflow: visible; min-height: 0; }
    #qrListPage #dtAllQuote { display: block; width: 100%; border-collapse: separate; border-spacing: 0; }
    #qrListPage #dtAllQuote thead { display: none !important; }
    #qrListPage #dtAllQuote tbody { display: block; width: 100%; padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
    #qrListPage #dtAllQuote tbody tr.target { display: block; position: relative; width: 100%; margin-bottom: var(--spacing-md); background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-xxl); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); }
    #qrListPage #dtAllQuote tbody tr.target:last-child { margin-bottom: calc(var(--spacing-md) + 12px); }
    #qrListPage #dtAllQuote tbody tr.target td { display: none; border-bottom: none; max-width: none !important; }
    #qrListPage #dtAllQuote tbody tr.target td.qr-col-td { display: flex !important; flex-direction: column; align-items: stretch; position: relative; z-index: 1; width: 100% !important; min-height: 52px; padding: 12px; padding-right: 64px; box-sizing: border-box; cursor: default; -webkit-tap-highlight-color: transparent; color: var(--text-primary); font-weight: var(--font-weight-medium); font-size: var(--font-size-s); }
    #qrListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td { display: flex !important; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 40px; min-width: 40px; max-width: 40px; height: 40px; margin: 0; padding: 0 !important; align-items: center; justify-content: center; border: none; background: transparent; z-index: 6; pointer-events: auto; }
    #qrListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .action-toggle svg { width: 18px; height: 18px; transform: rotate(90deg); }
    #qrListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .dropdown.show > .action-toggle svg,
    #qrListPage #dtAllQuote tbody tr.target:not(.table-row-editing) .action-toggle[aria-expanded="true"] svg { transform: rotate(0deg); }
    #qrListPage #dtAllQuote tbody tr.target td.qr-col-td .project-mobile-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; row-gap: 6px; }
    #qrListPage #dtAllQuote tbody tr.target td.qr-col-td .project-mobile-meta-item { min-width: 0; }
    #qrListPage #dtAllQuote tbody tr.target td.qr-col-td .project-mobile-meta-label { display: block; margin-bottom: 4px; color: var(--text-secondary); font-size: var(--font-size-s); font-weight: var(--font-weight-semibold); line-height: 1.2; }
    #qrListPage #dtAllQuote tbody tr.target td.qr-col-td .project-mobile-meta-value { display: block; color: var(--text-secondary); font-size: var(--font-size-s); line-height: 1.35; }
    #qrListPage .table-pagination { display: none !important; }
    #qrListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown { position: relative; }
    #qrListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown-menu.premium-dropdown-menu { top: calc(100% + 8px) !important; bottom: auto !important; right: 0 !important; left: auto !important; margin: 0 !important; transform: none !important; z-index: 1200 !important; }
    #qrListPage #dtAllQuote tbody tr.target:not(.table-row-editing) td.col-action-three-dot-td .dropdown-menu.premium-dropdown-menu.dropdown-menu-mobile-up { top: auto !important; bottom: calc(100% + 8px) !important; }
}


@media (max-width: 940px) {
    .card-ui .upload-box .method-document-sec span.status-pill {
        margin-bottom: 10px;
    }

}

@media (min-width: 769px) and (max-width: 1366px) {
    .table-responsive.premium-table-wrapper table {
        width: 100%;
        table-layout: auto;
        border-collapse: separate;
        border-spacing: 0;
        min-width: 100%;
    }

    .premium-table-container table.premium-table thead th,
    .premium-table-container table.premium-table tbody td {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        word-wrap: break-word;
        font-size: 12px;
        width: auto;
        min-width: 50px;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .config-grid-row {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 24px;
    }

    .config-grid-row--top {
        border-bottom: none;
        padding-bottom: 0;
    }

    .config-grid-row--bottom {
        padding-top: 0;
    }

    .config-card {
        padding: 24px 0;
    }

    .config-card--metric,
    .config-card--vat {
        padding: 24px 0;
    }

    .config-card--logo,
    .config-card--mfa {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 24px;
    }

    .config-installation-guides-action {
        width: 100%;
    }

    .page-wrapper {
        flex-direction: column;
    }

    .bg-section {
        height: 200px;
    }


}


@media (max-width: 767px) {
.modal-small-dialog-custom {
    max-width: 90%;
    margin: 0 auto;
}

.col-md-3.clsIsMeasureMaterial .form-check {
    padding-left: 0;
    margin-bottom: 0;
}

.card-ui .upload-box .method-document-sec span.status-pill {
    margin-bottom: 0px;
}

.content-section {
        width: 100%;
}
.login-right-box{
    max-width: 100%;
}
.content-section .login-right-box form .row {
    display: block;
    width: 80%;
    margin: 0 auto 40px;
}
.content-section .login-right-box form .row .col.col-sm-12 {
    margin-bottom: 20px;
}
.login-right-box .main-logo {
    margin: 16px auto 40px;
}
.pins-section .row .col-md-11 {
    width: 90%;
}

.pins-section .row .col-md-1 {
    width: 10%;
}

}


@media (max-width: 576px) {
    .premium-login-card {
        padding: 32px 24px;
        border-radius: var(--radius-xl);
    }

    .premium-login-header h1 {
        font-size: 26px;
    }

    .premium-login-container {
        padding: 20px 15px;
    }

    .premium-table{
        width: 500px;
        margin-bottom: 0;
    }

    .premium-table-wrapper{
        overflow-x: auto;
    }

    .pins-section .row .col-md-11 {
        width: 85%;
    }
    
    .pins-section .row .col-md-1 {
        width: 15%;
    }

    #IndividualDrawingPopup .premium-table,
    #documnetModal .premium-table {
        width: 100%;
    }
}




@media (max-width: 479px) {
    .mob-no-data-img td img {
        width: 100%;
    }

    .table-pagination {
        margin: 0 auto;
        display: inline-flex;
        margin: 0;
    }

    .table-pagination .table-pagination-info {
        order: 2;
        margin: 0 auto;
    }

    .table-pagination .pagination-md {
        order: 1;
        margin-bottom: 10px;
        width: 100%;
        text-align: center;
    }

    .table-pagination .pagination-md ul.pagination.bootpag {
        gap: 2px;
        display: inline-flex;
    }

    .table-pagination .table-pagination-info select {
        text-align: center;
    }

.content-section .login-right-box form .row .col.col-sm-12 {
    margin-bottom: 20px;
}

.login-right-box .login-footer {
    display: block;
}

.login-right-box .login-footer a + span + a + span {
    display: none;
}

.login-right-box .login-footer a {
    margin-bottom: 12px;
    display: inline-block;
}
.content-section .login-right-box p {
    width: 80%;
    margin: 0 auto 40px;
    line-height: 20px;
}

    .pins-section .row .col-md-11 {
        width: 82%;
    }

    .pins-section .row .col-md-1 {
        width: 18%;
    }
    .config-card.guides-sec {
        flex-direction: column;
        align-items: start;
    }
        .guides-sec .config-installation-guides-action {
            margin-top: 16px;
            margin-left: 0;
            
        }
}


@media (max-width: 420px) {
    .list-page-toolbar .d-flex {
        display: block !important;
    }
    .list-page-toolbar .d-flex .col-md-6 {
        margin-top: 10px;
    }
}


@media (max-width: 325px) {

    .card-ui .upload-box .method-document-sec span.status-pill {
        margin-bottom: 10px;
    }



}

