/* Shared responsive safeguards for the legacy MVC views. */
:root {
    --wfm-mobile-gutter: 12px;
    --wfm-ui-bg: #f6f8fb;
    --wfm-ui-surface: var(--theme-surface, #ffffff);
    --wfm-ui-text: var(--ink-black, #121358);
    --wfm-ui-muted: var(--air-force-blue, #2F578A);
    --wfm-ui-border: var(--theme-border, #dce4f0);
    --wfm-ui-border-strong: rgba(47, 87, 138, 0.35);
    --wfm-ui-primary: var(--dark-teal, #232F72);
    --wfm-ui-primary-hover: var(--ink-black, #121358);
    --wfm-ui-danger: var(--ink-black, #121358);
    --wfm-ui-success: var(--air-force-blue, #2F578A);
    --wfm-ui-warning: var(--air-force-blue, #2F578A);
    --wfm-ui-shadow: 0 1px 2px rgba(18, 19, 88, 0.05);
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
svg,
canvas,
video {
    max-width: 100%;
    height: auto;
}

iframe,
object,
embed {
    max-width: 100%;
}

.container,
.container-fluid,
.body-content,
.page-wrapper,
.settings-page {
    max-width: 100%;
}

.body-content,
.page-wrapper {
    min-width: 0;
}

.row,
.row > [class^="col-"],
.row > [class*=" col-"] {
    min-width: 0;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea,
.form-control {
    max-width: 100% !important;
}

.form-control,
input.form-control,
select.form-control,
textarea.form-control {
    width: 100%;
    min-width: 0;
}

input[type="file"] {
    max-width: 100%;
}

label,
.control-label,
.help-block,
.text-danger {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.btn {
    max-width: 100%;
    white-space: normal;
}

.btn-group,
.btn-toolbar,
.page-header-actions,
.header-right,
.toolbar-actions,
.search-row,
.filter-row,
.button-container,
.modal-footer-actions {
    max-width: 100%;
}

.table-card,
.table-panel,
.filter-card,
.form-panel,
.card,
.panel,
#divResultdata {
    max-width: 100%;
}

.page-topbar,
.page-header-row,
.page-header-actions,
.search-row,
.toolbar-actions,
.header-right,
.topbar-actions {
    width: 100%;
    max-width: 100%;
}

.page-topbar,
.page-header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px;
    padding: 0 0 14px;
    border-bottom: 1px solid var(--wfm-ui-border);
}

.page-topbar-center,
.page-header-center {
    flex: 1 1 260px;
    min-width: 0;
    text-align: left;
}

.page-topbar-center h2,
.page-header-row h2,
.page-title,
.page-title-primary {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: var(--wfm-ui-text);
    line-height: 1.2;
}

.page-topbar-left,
.page-topbar-right,
.page-header-left,
.page-header-right,
.header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.search-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--wfm-ui-surface);
    border: 1px solid var(--wfm-ui-border);
    border-radius: 8px;
    box-shadow: var(--wfm-ui-shadow);
}

.search-row .form-control {
    min-width: 0;
    border-radius: 6px;
}

.table-card,
.table-panel,
.filter-card,
.form-panel,
.card,
.panel {
    background: var(--wfm-ui-surface);
    border: 1px solid var(--wfm-ui-border);
    border-radius: 8px;
    box-shadow: var(--wfm-ui-shadow);
}

.styled-table,
.workorder-table,
.subcustomer-table {
    width: 100%;
}

.styled-table thead th,
.workorder-table thead th,
.subcustomer-table thead th {
    background: var(--wfm-ui-primary);
    color: #ffffff;
    font-weight: 600;
    text-transform: none;
}

.styled-table tbody tr:hover,
.workorder-table tbody tr:hover,
.subcustomer-table tbody tr:hover {
    background: #f6f8fb;
}

table {
    max-width: 100%;
}

table th,
table td {
    vertical-align: middle;
    overflow-wrap: anywhere;
}

@media screen {
    body {
        color: var(--wfm-ui-text);
        font-weight: 400;
        letter-spacing: 0;
    }

    .body-content h1,
    .body-content h2,
    .body-content h3,
    .body-content h4,
    .body-content h5,
    .body-content h6,
    .page-title,
    .page-title-primary,
    .section-title,
    .section-header,
    .card-title,
    .panel-title,
    .modal-title,
    .wo-card-title {
        color: var(--wfm-ui-text) !important;
        font-weight: 600 !important;
        letter-spacing: 0 !important;
        line-height: 1.25;
        text-transform: none !important;
    }

    .body-content h1 {
        font-size: 24px;
    }

    .body-content h2 {
        font-size: 21px;
    }

    .body-content h3,
    .page-title,
    .page-title-primary {
        font-size: 19px;
    }

    .page-topbar-center h2,
    .page-header-row h2 {
        font-size: 18px;
    }

    .body-content h4,
    .section-title,
    .section-header {
        font-size: 16px;
    }

    b,
    strong,
    label,
    .control-label,
    .form-label,
    .label-title,
    .field-label,
    .table th,
    table th,
    [style*="font-weight:bold"],
    [style*="font-weight: bold"],
    [style*="font-weight:700"],
    [style*="font-weight: 700"],
    [style*="font-weight:800"],
    [style*="font-weight: 800"],
    [style*="font-weight:900"],
    [style*="font-weight: 900"] {
        font-weight: 600 !important;
    }

    .body-content [style*="text-transform:uppercase"],
    .body-content [style*="text-transform: uppercase"] {
        text-transform: none !important;
    }

    .text-muted,
    .help-block,
    .hint,
    .small,
    small {
        color: var(--wfm-ui-muted) !important;
        font-weight: 400 !important;
    }

    .btn,
    button,
    input[type="button"],
    input[type="submit"],
    input[type="reset"] {
        font-weight: 500 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
    }

    .btn {
        border-radius: 6px !important;
        box-shadow: none !important;
    }

    .page-topbar,
    .page-header-row,
    .search-row {
        background: var(--wfm-ui-surface);
    }

    .btn-primary,
    .btn-info,
    .btn-success,
    .btn-primary-solid,
    .btn-add-main,
    .btn-search,
    .btn-submit {
        background: var(--wfm-ui-primary) !important;
        border-color: var(--wfm-ui-primary) !important;
        color: #ffffff !important;
    }

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-info:hover,
    .btn-info:focus,
    .btn-success:hover,
    .btn-success:focus,
    .btn-primary-solid:hover,
    .btn-primary-solid:focus,
    .btn-add-main:hover,
    .btn-add-main:focus,
    .btn-search:hover,
    .btn-search:focus,
    .btn-submit:hover,
    .btn-submit:focus {
        background: var(--wfm-ui-primary-hover) !important;
        border-color: var(--wfm-ui-primary-hover) !important;
        color: #ffffff !important;
    }

    .btn-default,
    .btn-outline-primary,
    .btn-outline-lightblue,
    .btn-check-existing {
        background: #ffffff !important;
        border-color: var(--wfm-ui-border-strong) !important;
        color: var(--wfm-ui-text) !important;
    }

    .btn-warning {
        background: #eef3f8 !important;
        border-color: #c9d8e7 !important;
        color: var(--wfm-ui-warning) !important;
    }

    .btn-danger {
        background: #eef3f8 !important;
        border-color: #c9d8e7 !important;
        color: var(--wfm-ui-danger) !important;
    }

    .btn-xs,
    .btn-sm {
        font-weight: 500 !important;
    }

    .panel,
    .card,
    .table-card,
    .table-panel,
    .filter-card,
    .form-panel,
    .stats-card,
    .settings-card,
    .modal-content,
    #divResultdata {
        border: 1px solid var(--wfm-ui-border) !important;
        border-radius: 8px !important;
        box-shadow: var(--wfm-ui-shadow) !important;
    }

    .panel-heading,
    .card-header,
    .modal-header,
    .modal-header-primary {
        background: #f6f8fb !important;
        border-color: var(--wfm-ui-border) !important;
        color: var(--wfm-ui-text) !important;
    }

    .form-control,
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea {
        border-color: var(--wfm-ui-border-strong) !important;
        border-radius: 6px !important;
        color: var(--wfm-ui-text);
        font-weight: 400 !important;
        box-shadow: none !important;
    }

    .form-control:focus,
    input:focus,
    select:focus,
    textarea:focus {
        border-color: var(--wfm-ui-primary) !important;
        box-shadow: 0 0 0 2px rgba(35, 47, 114, 0.12) !important;
        outline: none !important;
    }

    table,
    .table,
    .styled-table,
    .workorder-table,
    .subcustomer-table {
        color: var(--wfm-ui-text);
        font-size: 12px;
    }

    table thead,
    .table thead,
    .styled-table thead {
        background: transparent !important;
    }

    table thead th,
    .table > thead > tr > th,
    .styled-table thead th,
    .workorder-table thead th,
    .subcustomer-table thead th {
        background: var(--wfm-ui-primary) !important;
        border-color: var(--wfm-ui-primary) !important;
        color: #ffffff !important;
        font-weight: 600 !important;
        text-transform: none !important;
    }

    table tbody td,
    .table > tbody > tr > td,
    .styled-table tbody td,
    .workorder-table tbody td,
    .subcustomer-table tbody td {
        color: #232F72;
        font-weight: 400 !important;
    }

    .table > tbody > tr:hover,
    .styled-table tbody tr:hover,
    .workorder-table tbody tr:hover {
        background: #f6f8fb !important;
    }

    .alert {
        border-radius: 8px !important;
        border-width: 1px !important;
        font-weight: 400 !important;
    }

    .alert-success {
        background: #eaf8f7 !important;
        border-color: #bfe6e2 !important;
        color: #2F578A !important;
    }

    .alert-info {
        background: #eef3f8 !important;
        border-color: #c9d8e7 !important;
        color: #232F72 !important;
    }

    .alert-warning {
        background: #eef3f8 !important;
        border-color: #c9d8e7 !important;
        color: #2F578A !important;
    }

    .alert-danger {
        background: #eef3f8 !important;
        border-color: #c9d8e7 !important;
        color: #121358 !important;
    }

    .badge,
    .label,
    .status-pill,
    .status-badge {
        border-radius: 999px !important;
        font-weight: 500 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
    }

    .nav-tabs > li > a,
    .pagination > li > a,
    .pagination > li > span {
        font-weight: 500 !important;
    }

    .pagination > .active > a,
    .pagination > .active > span {
        background: var(--wfm-ui-primary) !important;
        border-color: var(--wfm-ui-primary) !important;
        color: #ffffff !important;
    }

    .topbar-avatar {
        background: var(--wfm-ui-primary) !important;
        color: #ffffff !important;
        font-weight: 600 !important;
    }

    body.shell-with-sidebar .wfm-topbar {
        background: linear-gradient(90deg, var(--dark-teal, #232F72) 0%, var(--dark-teal, #232F72) 55%, var(--ink-black, #121358) 100%) !important;
        box-shadow: 0 2px 12px rgba(18, 19, 88, 0.18) !important;
    }

    body.shell-with-sidebar .topbar-avatar {
        background: var(--wfm-ui-primary) !important;
        color: #ffffff !important;
        font-weight: 600 !important;
    }

    body.shell-with-sidebar .topbar-user-name,
    body.shell-with-sidebar .user-dropdown .dropdown-header {
        font-weight: 600 !important;
    }

    body.shell-with-sidebar .topbar-user-role,
    body.shell-with-sidebar .user-dropdown .user-role,
    body.shell-with-sidebar .user-dropdown > li > a {
        font-weight: 500 !important;
    }

    body.shell-with-sidebar .wfm-sidebar {
        border-right-color: var(--wfm-ui-border) !important;
        box-shadow: 1px 0 8px rgba(18, 19, 88, 0.05) !important;
    }

    body.shell-with-sidebar .sidebar-brand {
        background: var(--wfm-ui-surface) !important;
        border-color: var(--wfm-ui-border) !important;
    }

    body.shell-with-sidebar .sidebar-brand-mark {
        background: var(--wfm-ui-primary) !important;
        color: #ffffff !important;
        font-weight: 900 !important;
    }

    body.shell-with-sidebar .sidebar-brand-copy strong {
        font-weight: 600 !important;
    }

    body.shell-with-sidebar .sidebar-brand-copy span,
    body.shell-with-sidebar .sidebar-link,
    body.shell-with-sidebar .timezone-select {
        font-weight: 500 !important;
    }

    body.shell-with-sidebar .sidebar-link:hover,
    body.shell-with-sidebar .sidebar-link:focus,
    body.shell-with-sidebar .sidebar-link.active {
        background: var(--wfm-ui-primary) !important;
        box-shadow: 0 10px 22px rgba(35, 47, 114, 0.20) !important;
    }

    body.shell-with-sidebar .timezone-label {
        font-weight: 600 !important;
    }
}

.table-responsive,
.wfm-responsive-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}

.table-responsive {
    border: 0;
}

.table-responsive > table,
.wfm-responsive-table > table {
    margin-bottom: 0;
}

.wfm-responsive-table > table {
    width: 100%;
    min-width: 680px;
}

.modal,
.modal-dialog,
.modal-content,
.modal-body {
    max-width: 100%;
}

.modal {
    z-index: 11050 !important;
}

.modal-backdrop {
    z-index: 11040 !important;
}

.modal-dialog {
    position: relative;
    z-index: 11060;
}

.modal-body {
    overflow-x: auto;
}

footer,
footer .container,
footer .container-fluid {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.navbar-brand img {
    max-width: 100%;
    height: auto;
}

#ReportFrame,
iframe[id*="Report"],
iframe[id*="report"] {
    width: 100% !important;
}

body.shell-with-sidebar .container.body-content {
    width: auto;
}

@media (max-width: 991px) {
    body.shell-with-sidebar .container.body-content {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .table-card,
    .table-panel,
    .filter-card,
    .form-panel,
    .card,
    .panel {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
}

@media (max-width: 767px) {
    html,
    body {
        min-height: 100%;
        overflow-x: hidden !important;
    }

    html body.shell-with-sidebar .wfm-topbar,
    html body.shell-with-sidebar.sidebar-collapsed .wfm-topbar {
        left: 0 !important;
        right: 0 !important;
        height: 56px !important;
        padding: 0 12px !important;
        background: #ffffff !important;
        border-bottom: 1px solid var(--wfm-ui-border) !important;
        box-shadow: 0 2px 10px rgba(18, 19, 88, 0.08) !important;
    }

    html body.shell-with-sidebar .topbar-left,
    html body.shell-with-sidebar .topbar-right {
        min-width: 0;
    }

    html body.shell-with-sidebar .topbar-logo,
    html body.shell-with-sidebar #btnSidebarToggle.topbar-icon-btn {
        display: inline-flex !important;
    }

    html body.shell-with-sidebar .topbar-logo {
        min-width: 0 !important;
        max-width: 118px !important;
    }

    html body.shell-with-sidebar .topbar-logo img {
        height: 30px !important;
        max-width: 108px !important;
    }

    html body.shell-with-sidebar #btnSidebarToggle.topbar-icon-btn {
        width: 36px !important;
        height: 36px !important;
        border-radius: 8px !important;
        background: #eef3f8 !important;
        color: var(--wfm-ui-primary) !important;
    }

    html body.shell-with-sidebar .topbar-icon-link,
    html body.shell-with-sidebar #btnBack {
        width: 34px !important;
        height: 34px !important;
        font-size: 18px !important;
    }

    html body.shell-with-sidebar .topbar-avatar {
        width: 34px !important;
        height: 34px !important;
        font-size: 12px !important;
    }

    html body.shell-with-sidebar .topbar-avatar::after {
        width: 9px !important;
        height: 9px !important;
        right: 1px !important;
        bottom: 3px !important;
    }

    html body.shell-with-sidebar .topbar-user-copy,
    html body.shell-with-sidebar .topbar-separator {
        display: none !important;
    }

    html body.shell-with-sidebar .wfm-sidebar,
    html body.shell-with-sidebar.sidebar-collapsed .wfm-sidebar {
        top: 56px !important;
        width: 82vw !important;
        max-width: 260px !important;
        height: auto !important;
        padding: 14px !important;
        transform: translateX(-105%) !important;
        transition: transform 0.18s ease !important;
        z-index: 10030 !important;
        box-shadow: 10px 0 28px rgba(18, 19, 88, 0.16) !important;
    }

    html body.shell-with-sidebar.mobile-sidebar-open .wfm-sidebar,
    html body.shell-with-sidebar.sidebar-collapsed.mobile-sidebar-open .wfm-sidebar {
        transform: translateX(0) !important;
    }

    html body.shell-with-sidebar .wrapper::before {
        content: "";
        position: fixed;
        top: 56px;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(18, 19, 88, 0.28);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.18s ease;
        z-index: 10025;
    }

    html body.shell-with-sidebar.mobile-sidebar-open .wrapper::before {
        opacity: 1;
        pointer-events: auto;
    }

    html body.shell-with-sidebar .sidebar-brand,
    html body.shell-with-sidebar.sidebar-collapsed .sidebar-brand {
        display: inline-flex !important;
        width: fit-content !important;
        min-height: 0 !important;
        margin: 0 0 22px 6px !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
    }

    html body.shell-with-sidebar .sidebar-brand img,
    html body.shell-with-sidebar.sidebar-collapsed .sidebar-brand img {
        display: block !important;
        width: 142px !important;
        height: auto !important;
    }

    html body.shell-with-sidebar .sidebar-brand::before,
    html body.shell-with-sidebar.sidebar-collapsed .sidebar-brand::before {
        content: none !important;
        display: none !important;
    }

    html body.shell-with-sidebar .sidebar-brand-copy {
        display: none !important;
    }

    html body.shell-with-sidebar .sidebar-link,
    html body.shell-with-sidebar.sidebar-collapsed .sidebar-link {
        grid-template-columns: 28px minmax(0, 1fr) !important;
        justify-items: stretch !important;
        min-height: 44px !important;
        gap: 12px !important;
        padding: 0 14px !important;
        font-size: 13px !important;
    }

    html body.shell-with-sidebar .sidebar-link span,
    html body.shell-with-sidebar.sidebar-collapsed .sidebar-link span {
        display: block !important;
    }

    html body.shell-with-sidebar .sidebar-divider,
    html body.shell-with-sidebar.sidebar-collapsed .sidebar-divider {
        display: block !important;
    }

    html body.shell-with-sidebar .sidebar-timezone,
    html body.shell-with-sidebar .sidebar-footer {
        display: none !important;
    }

    html body.shell-with-sidebar .container.body-content,
    html body.shell-with-sidebar.sidebar-collapsed .container.body-content {
        width: 100% !important;
        min-height: calc(100vh - 56px) !important;
        margin-top: 56px !important;
        margin-left: 0 !important;
        padding: var(--wfm-mobile-gutter) !important;
    }

    body.shell-no-sidebar .container.body-content,
    body.shell-no-sidebar.sidebar-collapsed .container.body-content {
        margin-left: 0 !important;
    }

    .body-content > .container,
    .body-content > .container-fluid,
    .body-content .page-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .body-content .row {
        margin-left: -6px;
        margin-right: -6px;
    }

    .body-content .row > [class^="col-"],
    .body-content .row > [class*=" col-"] {
        padding-left: 6px;
        padding-right: 6px;
    }

    .body-content [class^="col-sm-"],
    .body-content [class*=" col-sm-"],
    .body-content [class^="col-md-"],
    .body-content [class*=" col-md-"],
    .body-content [class^="col-lg-"],
    .body-content [class*=" col-lg-"] {
        width: 100% !important;
        float: none !important;
    }

    .form-control,
    input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
    select,
    textarea {
        width: 100% !important;
    }

    .page-header-actions,
    .header-right,
    .toolbar-actions,
    .search-row,
    .filter-row,
    .button-container,
    .modal-footer-actions {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 8px;
    }

    .page-header-actions > *,
    .header-right > *,
    .toolbar-actions > *,
    .search-row > *,
    .filter-row > *,
    .button-container > * {
        min-width: 0;
    }

    .search-input,
    .filter-select {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .table-card,
    .table-panel,
    .filter-card,
    .form-panel,
    .card,
    .panel {
        width: 100% !important;
        padding: 12px !important;
    }

    .wfm-responsive-table > table {
        min-width: 620px;
    }

    table th,
    table td {
        font-size: 12px;
    }

    .pagination,
    .pagination-container {
        max-width: 100%;
    }

    .pagination {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination-container {
        overflow-x: auto;
    }

    .modal-dialog,
    .modal-sm-custom {
        width: calc(100vw - 20px) !important;
        max-width: calc(100vw - 20px) !important;
        margin: 10px auto !important;
    }

    .modal-footer,
    .modal-footer-actions {
        text-align: left;
    }

    .modal-footer .btn,
    .modal-footer-actions .btn {
        flex: 1 1 auto;
    }

    .navbar-brand {
        display: inline-flex;
        align-items: center;
        max-width: 70vw;
        min-height: 50px;
        height: auto;
    }

    .navbar-brand img {
        max-width: 120px;
        height: auto !important;
    }

    #ReportFrame,
    iframe[id*="Report"],
    iframe[id*="report"] {
        min-height: 60vh;
        height: 70vh !important;
    }

    html,
    body,
    body .login-page-wrapper,
    body .login-cards-row,
    body .left-panel,
    body .right-panel {
        height: auto !important;
    }

    body {
        overflow-y: auto !important;
    }

    body .login-page-wrapper {
        min-height: calc(100vh - var(--layoutOffset, 72px)) !important;
        overflow: visible !important;
    }

    body .login-cards-row,
    body .left-panel,
    body .right-panel {
        min-height: 0 !important;
        overflow: visible !important;
    }

    .left-panel {
        padding: 22px 16px !important;
    }

    .right-panel {
        padding: 18px 12px 86px !important;
    }

    #Shadow {
        width: 100% !important;
        max-width: 420px !important;
        padding: 22px 18px !important;
    }

    .wfm-title {
        font-size: 28px !important;
    }

    .wfm-desc {
        line-height: 1.5 !important;
    }

    .wfm-feature-grid {
        grid-template-columns: 1fr !important;
    }

    .chatbot-panel {
        left: 10px !important;
        right: 10px !important;
        bottom: 76px !important;
        width: auto !important;
        max-width: none !important;
        height: 430px !important;
        max-height: calc(100vh - 104px) !important;
    }

    .chatbot-fab {
        right: 12px !important;
        bottom: 42px !important;
    }

    .wfm-inline-responsive[data-wfm-fixed-width="1"] {
        width: 100% !important;
        max-width: 100% !important;
    }

    .wfm-inline-responsive[data-wfm-shifted="1"] {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 480px) {
    :root {
        --wfm-mobile-gutter: 10px;
    }

    body.shell-with-sidebar .topbar-icon-btn,
    body.shell-with-sidebar .topbar-icon-link {
        width: 30px !important;
        height: 30px !important;
    }

    .left-panel {
        padding: 18px 12px !important;
    }

    #Shadow {
        padding: 20px 14px !important;
    }

    .wfm-responsive-table > table {
        min-width: 560px;
    }
}

@media print {
    html,
    body {
        height: auto !important;
        overflow: visible !important;
    }

    .table-responsive,
    .wfm-responsive-table {
        overflow: visible !important;
    }

    .wfm-responsive-table > table {
        min-width: 0 !important;
        width: 100% !important;
    }

    .modal-body {
        overflow: visible !important;
    }
}
