/*
    |--------------------------------------------------------------------------
    | SAP Shared UI Naming Rules
    |--------------------------------------------------------------------------
    | Selection chips / filter chips: .sap-selection-chip
    | Mini toolbar buttons:         .sap-mini-btn
    | Compact action buttons:       .sap-action-btn
    | Status / info pills:          .sap-chip, .sap-badge, .sap-status-badge
    |
    | Rule: use the semantic shared sap-* class first and avoid page-local
    | visual aliases unless the behavior truly differs.
    */

    body.sap-admin-shell {
        min-height: 100vh;
        overflow-y: auto !important;
    }

    body.sap-admin-shell #wrapper {
        height: auto !important;
        min-height: 100vh;
        overflow: visible !important;
    }

    body.sap-admin-shell .content-page {
        overflow: visible !important;
    }

    .sap-filter-card {
        margin-bottom: 1rem;
    }

    .sap-page-header-card,
    .sap-page-toolbar-card {
        border: 0;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    }

    .sap-page-toolbar-row {
        margin-bottom: 1rem;
    }

    .sap-page-toolbar-card {
        padding: 1rem 1.25rem;
    }

    .sap-page-toolbar-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .sap-page-toolbar-actions .btn,
    .sap-page-toolbar-actions .sap-selection-chip,
    .sap-page-toolbar-actions .select2-container,
    .sap-page-toolbar-actions select,
    .sap-page-toolbar-actions input {
        max-width: 100%;
    }

    .sap-page-hero {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 16px;
        flex-wrap: wrap;
    }

    .sap-page-hero-main {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .sap-page-eyebrow {
        margin: 0;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        color: #6c757d;
        letter-spacing: .04em;
    }

    .sap-page-title {
        margin: 0;
        font-weight: 700;
        color: #0f172a;
    }

    .sap-page-subtitle {
        color: #64748b;
        max-width: 920px;
    }

    .sap-page-actions {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .sap-page-actions .btn {
        min-height: 38px;
        border-radius: 10px;
    }

    .sap-section-header {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 1rem;
    }

    .sap-section-title {
        margin: 0;
        font-size: 1rem;
        font-weight: 700;
        color: #0f172a;
    }

    .sap-section-subtitle {
        margin-top: 0.35rem;
        color: #64748b;
        font-size: 0.92rem;
    }

    .sap-section-actions {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .sap-section-actions .btn {
        border-radius: 10px;
    }

    .sap-stat-card {
        border: 0;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
        min-height: 100%;
    }

    .sap-stat-value {
        color: #0f172a;
        font-weight: 700;
    }

    .sap-stat-label {
        font-size: .92rem;
    }

    .sap-tone-primary .sap-stat-value { color: #1d4ed8; }
    .sap-tone-success .sap-stat-value { color: #059669; }
    .sap-tone-warning .sap-stat-value { color: #d97706; }
    .sap-tone-danger .sap-stat-value { color: #dc2626; }
    .sap-tone-info .sap-stat-value { color: #0891b2; }
    .sap-tone-secondary .sap-stat-value { color: #64748b; }

    .sap-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.42rem 0.78rem;
        border-radius: 999px;
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        border: 1px solid rgba(148, 163, 184, 0.22) !important;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 12px 28px rgba(15, 23, 42, 0.10);
    }

    .sap-badge-muted { background: linear-gradient(180deg, rgba(255,255,255,0.90), rgba(241,245,249,0.78)) !important; color: #475569 !important; border-color: rgba(203,213,225,0.55) !important; }
    .sap-badge-primary { background: linear-gradient(180deg, rgba(239,246,255,0.94), rgba(191,219,254,0.78)) !important; color: #1d4ed8 !important; border-color: rgba(147,197,253,0.65) !important; }
    .sap-badge-success { background: linear-gradient(180deg, rgba(236,253,245,0.94), rgba(167,243,208,0.74)) !important; color: #047857 !important; border-color: rgba(110,231,183,0.62) !important; }
    .sap-badge-warning { background: linear-gradient(180deg, rgba(255,251,235,0.96), rgba(253,230,138,0.74)) !important; color: #b45309 !important; border-color: rgba(252,211,77,0.68) !important; }
    .sap-badge-danger { background: linear-gradient(180deg, rgba(254,242,242,0.96), rgba(254,202,202,0.76)) !important; color: #b91c1c !important; border-color: rgba(252,165,165,0.68) !important; }
    .sap-badge-info { background: linear-gradient(180deg, rgba(236,254,255,0.95), rgba(165,243,252,0.74)) !important; color: #0f766e !important; border-color: rgba(103,232,249,0.64) !important; }
    .sap-badge-secondary { background: linear-gradient(180deg, rgba(248,250,252,0.95), rgba(226,232,240,0.78)) !important; color: #475569 !important; border-color: rgba(203,213,225,0.68) !important; }


    .sap-filter-form .row,
    .sap-filter-grid {
        align-items: end;
    }

    .sap-filter-form label,
    .sap-filter-label {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: #6c757d;
        margin-bottom: .4rem;
    }

    .sap-filter-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: .5rem;
        flex-wrap: wrap;
    }

    .sap-filter-search {
        width: min(100%, 28rem);
    }

    .sap-filter-strip,
    .deployment-ui .sap-filter-strip {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
        overflow-x: visible;
        padding-bottom: 0;
        scrollbar-width: none;
        min-width: 0;
    }

    .sap-filter-group,
    .deployment-ui .sap-filter-group {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        flex: 0 1 auto;
        min-width: 0;
    }

    .sap-filter-group-label,
    .deployment-ui .sap-filter-group-label {
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        color: #6c757d;
        letter-spacing: .035em;
        margin: 0;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .sap-filter-chips,
    .deployment-ui .sap-selection-chips,
    .sap-selection-chips,
    .sap-selection-chip-group {
        display: flex;
        flex-wrap: nowrap;
        gap: 5px;
        min-height: 34px;
        align-items: center;
        white-space: nowrap;
        min-width: 0;
    }

    .sap-selection-chip,
    .deployment-ui .sap-selection-chip,
    button.sap-selection-chip,
    .btn.sap-selection-chip {
        appearance: none;
        position: relative;
        isolation: isolate;
        border: 1px solid rgba(148, 163, 184, 0.28) !important;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 249, 0.76)) !important;
        color: #334155 !important;
        border-radius: 999px !important;
        padding: 0.44rem 0.74rem;
        font-size: 0.78rem;
        font-weight: 600;
        line-height: 1.2;
        transition: all .22s ease;
        white-space: nowrap;
        flex: 0 0 auto;
        cursor: pointer;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 12px 26px rgba(15, 23, 42, 0.10) !important;
    }

    .sap-selection-chip::before,
    .deployment-ui .sap-selection-chip::before,
    button.sap-selection-chip::before,
    .btn.sap-selection-chip::before {
        content: '';
        position: absolute;
        inset: -9px;
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(191,219,254,0.16));
        border: 1px solid rgba(255,255,255,0.14);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.26), 0 10px 24px rgba(15, 23, 42, 0.06);
        opacity: 0;
        transform: scale(0.955);
        transition: opacity .22s ease, transform .22s ease, box-shadow .22s ease, background .22s ease;
        pointer-events: none;
        z-index: -1;
        backdrop-filter: blur(18px) saturate(125%);
        -webkit-backdrop-filter: blur(18px) saturate(125%);
    }

    .sap-selection-chip:hover,
    .deployment-ui .sap-selection-chip:hover,
    button.sap-selection-chip:hover,
    .btn.sap-selection-chip:hover,
    .sap-selection-chip:focus-visible,
    .deployment-ui .sap-selection-chip:focus-visible,
    button.sap-selection-chip:focus-visible,
    .btn.sap-selection-chip:focus-visible {
        border-color: rgba(203, 213, 225, 0.42) !important;
        background: linear-gradient(180deg, rgba(248, 250, 252, 0.48), rgba(226, 232, 240, 0.24)) !important;
        color: #0f172a !important;
        transform: translateY(-1px);
        backdrop-filter: blur(26px) saturate(145%);
        -webkit-backdrop-filter: blur(26px) saturate(145%);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), inset 0 -1px 0 rgba(148,163,184,0.12), inset 0 0 20px rgba(226,232,240,0.18), 0 14px 26px rgba(15, 23, 42, 0.08) !important;
    }

    .sap-selection-chip:hover::before,
    .deployment-ui .sap-selection-chip:hover::before,
    button.sap-selection-chip:hover::before,
    .btn.sap-selection-chip:hover::before,
    .sap-selection-chip:focus-visible::before,
    .deployment-ui .sap-selection-chip:focus-visible::before,
    button.sap-selection-chip:focus-visible::before,
    .btn.sap-selection-chip:focus-visible::before {
        opacity: 1;
        transform: scale(1);
        background: linear-gradient(180deg, rgba(241,245,249,0.56), rgba(203,213,225,0.30));
        border-color: rgba(203,213,225,0.52);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.38), 0 0 0 1px rgba(203,213,225,0.34), 0 0 0 9px rgba(203,213,225,0.14), 0 20px 36px rgba(100,116,139,0.18), 0 12px 28px rgba(15,23,42,0.10);
    }

    .sap-selection-chip.is-active,
    .deployment-ui .sap-selection-chip.is-active,
    button.sap-selection-chip.is-active,
    .btn.sap-selection-chip.is-active {
        background: linear-gradient(180deg, rgba(59, 130, 246, 0.94), rgba(29, 78, 216, 0.84)) !important;
        border-color: rgba(96, 165, 250, 0.64) !important;
        color: #eff6ff !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 16px 32px rgba(37, 99, 235, 0.28) !important;
    }

    .sap-selection-chip.is-active::before,
    .deployment-ui .sap-selection-chip.is-active::before,
    button.sap-selection-chip.is-active::before,
    .btn.sap-selection-chip.is-active::before {
        opacity: 0;
        transform: scale(0.955);
    }

    .sap-selection-chip.is-active:hover,
    .deployment-ui .sap-selection-chip.is-active:hover,
    button.sap-selection-chip.is-active:hover,
    .btn.sap-selection-chip.is-active:hover,
    .sap-selection-chip.is-active:focus-visible,
    .deployment-ui .sap-selection-chip.is-active:focus-visible,
    button.sap-selection-chip.is-active:focus-visible,
    .btn.sap-selection-chip.is-active:focus-visible {
        background: linear-gradient(180deg, rgba(59, 130, 246, 0.94), rgba(29, 78, 216, 0.84)) !important;
        border-color: rgba(96, 165, 250, 0.64) !important;
        color: #eff6ff !important;
        transform: translateY(-1px);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 0 0 1px rgba(226,232,240,0.52), 0 0 0 4px rgba(255,255,255,0.10), 0 0 0 10px rgba(203,213,225,0.22), 0 22px 40px rgba(100,116,139,0.22), 0 12px 28px rgba(15,23,42,0.11) !important;
    }

    .sap-selection-chip.is-active:hover::before,
    .deployment-ui .sap-selection-chip.is-active:hover::before,
    button.sap-selection-chip.is-active:hover::before,
    .btn.sap-selection-chip.is-active:hover::before,
    .sap-selection-chip.is-active:focus-visible::before,
    .deployment-ui .sap-selection-chip.is-active:focus-visible::before,
    button.sap-selection-chip.is-active:focus-visible::before,
    .btn.sap-selection-chip.is-active:focus-visible::before {
        opacity: 0;
        transform: scale(0.955);
        background: transparent;
        border-color: transparent;
        box-shadow: none;
    }

    .sap-selection-chip-count,
    .deployment-ui .sap-selection-chip-count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        border-radius: 999px;
        background: rgba(148, 163, 184, 0.18);
        color: inherit;
        font-size: 10px;
        margin-left: 4px;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
    }

    .sap-selection-chip.is-active .sap-selection-chip-count,
    .deployment-ui .sap-selection-chip.is-active .sap-selection-chip-count {
        background: rgba(255, 255, 255, 0.22);
    }

    .sap-toolbar,
    .deployment-ui .deployment-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 12px;
    }

    .sap-toolbar-left,
    .sap-toolbar-right,
    .deployment-ui .deployment-toolbar-left,
    .deployment-ui .deployment-toolbar-right {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        min-width: 0;
    }

    .sap-toolbar-left,
    .deployment-ui .deployment-toolbar-left {
        flex: 1 1 auto;
    }

    .sap-toolbar-right,
    .deployment-ui .deployment-toolbar-right {
        justify-content: flex-end;
        margin-left: auto;
    }


    .corp-page-card,
    .corp-table-card {
        border: 0;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
        border-radius: 14px;
    }

    .corp-page-card .card-body,
    .corp-table-card {
        padding: 18px;
    }

    .corp-page-heading {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        margin-bottom: 14px;
    }

    .corp-page-heading h4 {
        margin: 0;
        font-weight: 700;
    }

    .corp-page-heading-left {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: nowrap;
        min-width: 0;
    }

    .corp-page-heading-actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        flex-wrap: nowrap;
        flex: 0 0 auto;
    }

    .corp-page-subtitle,
    .sap-filter-group-label {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        color: #6c757d;
        letter-spacing: .04em;
        margin: 0;
        white-space: nowrap;
    }

    .corp-view-select {
        min-width: 110px;
        max-width: 220px;
        width: auto;
        flex: 0 0 auto;
        border-radius: 8px;
    }

    .corp-page-heading-actions .form-control {
        border-radius: 8px !important;
    }

    .corp-toolbar {
        row-gap: 14px;
    }

    .corp-toolbar-row {
        row-gap: 14px;
        align-items: flex-end;
    }

    .corp-toolbar-row > [class*='col-'] {
        display: flex;
        flex-direction: column;
    }

    .corp-toolbar label {
        display: block;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        color: #6c757d;
        margin-bottom: 6px;
        letter-spacing: .04em;
    }

    .corp-toolbar .form-control,
    .corp-toolbar .btn,
    .corp-toolbar .sap-mini-btn {
        min-height: 38px;
    }

    .sap-filter-group-city {
        max-width: 220px;
    }

    .sap-filter-group-city .form-control {
        min-width: 120px;
        max-width: 220px;
        width: auto;
        flex: 0 0 auto;
    }

    .corp-custom-dt-toolbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
        margin-bottom: 10px;
        width: 100%;
    }

    .corp-custom-dt-toolbar-left,
    .corp-custom-dt-toolbar-right {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
        min-width: 0;
    }

    .corp-custom-dt-toolbar-left {
        flex: 1 1 auto;
        justify-content: flex-start;
    }

    .corp-custom-dt-toolbar-right {
        justify-content: flex-end;
        flex: 0 0 auto;
        margin-left: auto;
    }

    .corp-custom-dt-search,
    .corp-custom-dt-length {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        margin: 0;
    }

    .corp-custom-dt-search label,
    .corp-custom-dt-length label {
        margin: 0;
        font-size: 12px;
        color: #495057;
        white-space: nowrap;
    }

    .corp-custom-dt-search input,
    .corp-custom-dt-length select {
        border-radius: 8px;
    }

    .corp-custom-dt-search {
        flex: 1 1 220px;
        min-width: 0;
    }

    .corp-custom-dt-search input {
        width: min(240px, 100%);
        min-width: 0;
    }

    .corp-custom-dt-length {
        flex: 0 0 auto;
    }

    .corp-custom-dt-length select {
        width: 86px;
        min-width: 0;
    }

    .corp-table-shell {
        overflow-x: visible;
        position: relative;
        max-width: 100%;
        width: 100%;
    }

    .corp-table-shell #laravel_datatable_wrapper {
        width: 100%;
        max-width: 100%;
        overflow-x: visible;
    }

    .corp-datatable {
        width: 100% !important;
        font-size: 12px;
        border-collapse: separate;
        border-spacing: 0;
        table-layout: auto;
    }

    .corp-datatable thead th {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: #495057;
        background: #f8fafc;
        border-bottom-width: 1px;
    }

    .corp-datatable thead th.sorting,
    .corp-datatable thead th.sorting_asc,
    .corp-datatable thead th.sorting_desc,
    .corp-datatable thead th[aria-sort],
    .sap-datatable thead th.sorting,
    .sap-datatable thead th.sorting_asc,
    .sap-datatable thead th.sorting_desc,
    .sap-datatable thead th[aria-sort] {
        position: relative;
        cursor: pointer;
        padding-right: 1.7rem !important;
    }

    .corp-datatable thead th.sorting::before,
    .corp-datatable thead th.sorting::after,
    .corp-datatable thead th.sorting_asc::before,
    .corp-datatable thead th.sorting_asc::after,
    .corp-datatable thead th.sorting_desc::before,
    .corp-datatable thead th.sorting_desc::after,
    .corp-datatable thead th[aria-sort]::before,
    .corp-datatable thead th[aria-sort]::after,
    .sap-datatable thead th.sorting::before,
    .sap-datatable thead th.sorting::after,
    .sap-datatable thead th.sorting_asc::before,
    .sap-datatable thead th.sorting_asc::after,
    .sap-datatable thead th.sorting_desc::before,
    .sap-datatable thead th.sorting_desc::after,
    .sap-datatable thead th[aria-sort]::before,
    .sap-datatable thead th[aria-sort]::after {
        position: absolute;
        right: 0.58rem;
        font-size: 9px;
        line-height: 1;
        color: #94a3b8;
        opacity: 0.95;
        pointer-events: none;
    }

    .corp-datatable thead th.sorting::before,
    .corp-datatable thead th.sorting_asc::before,
    .corp-datatable thead th.sorting_desc::before,
    .corp-datatable thead th[aria-sort]::before,
    .sap-datatable thead th.sorting::before,
    .sap-datatable thead th.sorting_asc::before,
    .sap-datatable thead th.sorting_desc::before,
    .sap-datatable thead th[aria-sort]::before {
        content: '▲';
        top: calc(50% - 0.52rem);
    }

    .corp-datatable thead th.sorting::after,
    .corp-datatable thead th.sorting_asc::after,
    .corp-datatable thead th.sorting_desc::after,
    .corp-datatable thead th[aria-sort]::after,
    .sap-datatable thead th.sorting::after,
    .sap-datatable thead th.sorting_asc::after,
    .sap-datatable thead th.sorting_desc::after,
    .sap-datatable thead th[aria-sort]::after {
        content: '▼';
        top: calc(50% + 0.1rem);
    }

    .corp-datatable thead th.sorting_asc::before,
    .corp-datatable thead th[aria-sort="ascending"]::before,
    .sap-datatable thead th.sorting_asc::before,
    .sap-datatable thead th[aria-sort="ascending"]::before {
        color: #0f172a;
    }

    .corp-datatable thead th.sorting_asc::after,
    .corp-datatable thead th[aria-sort="ascending"]::after,
    .sap-datatable thead th.sorting_asc::after,
    .sap-datatable thead th[aria-sort="ascending"]::after {
        opacity: 0.28;
    }

    .corp-datatable thead th.sorting_desc::after,
    .corp-datatable thead th[aria-sort="descending"]::after,
    .sap-datatable thead th.sorting_desc::after,
    .sap-datatable thead th[aria-sort="descending"]::after {
        color: #0f172a;
    }

    .corp-datatable thead th.sorting_desc::before,
    .corp-datatable thead th[aria-sort="descending"]::before,
    .sap-datatable thead th.sorting_desc::before,
    .sap-datatable thead th[aria-sort="descending"]::before {
        opacity: 0.28;
    }

    .corp-datatable thead th.sorting_disabled,
    .sap-datatable thead th.sorting_disabled {
        cursor: default;
        padding-right: .6rem !important;
    }

    .corp-datatable thead th.sorting_disabled::before,
    .corp-datatable thead th.sorting_disabled::after,
    .sap-datatable thead th.sorting_disabled::before,
    .sap-datatable thead th.sorting_disabled::after {
        display: none;
    }

    .corp-datatable th,
    .corp-datatable td {
        padding: .55rem .6rem;
        white-space: normal;
        vertical-align: top;
        width: auto !important;
    }

    .corp-datatable th:first-child,
    .corp-datatable td:first-child,
    .corp-datatable th:last-child,
    .corp-datatable td:last-child,
    .corp-datatable .badge {
        white-space: nowrap;
    }

    .corp-table-shell #laravel_datatable_wrapper .dataTables_filter,
    .corp-table-shell #laravel_datatable_wrapper .dataTables_length {
        display: none !important;
    }

    .corp-table-shell #laravel_datatable_wrapper .dt-buttons {
        display: flex !important;
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: flex-end;
        margin-bottom: 0;
        float: none !important;
    }

    .corp-table-shell #laravel_datatable_wrapper .dt-buttons .btn {
        white-space: nowrap;
    }

    .sap-export-btn,
    .dt-buttons .buttons-excel,
    .dt-buttons .buttons-pdf,
    .corp-custom-dt-toolbar-right .buttons-excel,
    .corp-custom-dt-toolbar-right .buttons-pdf {
        position: relative;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 0;
        min-width: 40px;
        min-height: 38px;
        padding: 0.5rem 0.55rem;
        border-radius: 12px !important;
        border: 1px solid rgba(148, 163, 184, 0.24) !important;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 12px 26px rgba(15, 23, 42, 0.10) !important;
        font-size: 0;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-transform: uppercase;
        transition: all .18s ease;
        white-space: nowrap;
    }

    .sap-export-btn .sap-export-btn-label,
    .dt-buttons .buttons-excel span,
    .dt-buttons .buttons-pdf span,
    .corp-custom-dt-toolbar-right .buttons-excel span,
    .corp-custom-dt-toolbar-right .buttons-pdf span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        font-size: 0;
        line-height: 0;
    }

    .sap-export-btn .sap-export-btn-label::before,
    .dt-buttons .buttons-excel span::before,
    .dt-buttons .buttons-pdf span::before,
    .corp-custom-dt-toolbar-right .buttons-excel span::before,
    .corp-custom-dt-toolbar-right .buttons-pdf span::before {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        min-width: 22px;
        height: 22px;
        border-radius: 7px;
        font-size: 10px;
        font-weight: 800;
        line-height: 1;
        letter-spacing: 0.04em;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.34);
    }

    .sap-export-btn[data-export="excel"],
    .dt-buttons .buttons-excel,
    .corp-custom-dt-toolbar-right .buttons-excel {
        background: linear-gradient(180deg, rgba(236,253,245,0.95), rgba(167,243,208,0.76)) !important;
        border-color: rgba(110,231,183,0.62) !important;
        color: #047857 !important;
    }

    .sap-export-btn[data-export="excel"] .sap-export-btn-label::before,
    .dt-buttons .buttons-excel span::before,
    .corp-custom-dt-toolbar-right .buttons-excel span::before {
        content: 'XLS';
        background: linear-gradient(180deg, rgba(16,185,129,0.24), rgba(5,150,105,0.30));
        color: #065f46;
    }

    .sap-export-btn[data-export="pdf"],
    .dt-buttons .buttons-pdf,
    .corp-custom-dt-toolbar-right .buttons-pdf {
        background: linear-gradient(180deg, rgba(254,242,242,0.96), rgba(254,202,202,0.78)) !important;
        border-color: rgba(252,165,165,0.66) !important;
        color: #b91c1c !important;
    }

    .sap-export-btn[data-export="pdf"] .sap-export-btn-label::before,
    .dt-buttons .buttons-pdf span::before,
    .corp-custom-dt-toolbar-right .buttons-pdf span::before {
        content: 'PDF';
        background: linear-gradient(180deg, rgba(239,68,68,0.22), rgba(220,38,38,0.30));
        color: #991b1b;
    }

    .sap-export-btn:hover,
    .sap-export-btn:focus-visible,
    .dt-buttons .buttons-excel:hover,
    .dt-buttons .buttons-pdf:hover,
    .dt-buttons .buttons-excel:focus-visible,
    .dt-buttons .buttons-pdf:focus-visible,
    .corp-custom-dt-toolbar-right .buttons-excel:hover,
    .corp-custom-dt-toolbar-right .buttons-pdf:hover,
    .corp-custom-dt-toolbar-right .buttons-excel:focus-visible,
    .corp-custom-dt-toolbar-right .buttons-pdf:focus-visible {
        transform: translateY(-1px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 16px 30px rgba(15, 23, 42, 0.12) !important;
    }

    .sap-mini-btn,
    .corp-table-shell .sap-mini-btn,
    .deployment-ui .sap-mini-btn {
        min-height: 38px;
        height: 38px;
        padding: 0.55rem 0.9rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.38rem;
        position: relative;
        isolation: isolate;
        border-radius: 12px !important;
        border: 1px solid rgba(148, 163, 184, 0.24) !important;
        background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(241,245,249,0.78)) !important;
        color: #334155 !important;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 12px 26px rgba(15, 23, 42, 0.10) !important;
        transition: all .18s ease;
        text-decoration: none !important;
        white-space: nowrap;
        flex: 0 0 auto;
    }

    .sap-mini-btn::before,
    .corp-table-shell .sap-mini-btn::before,
    .deployment-ui .sap-mini-btn::before {
        content: '';
        position: absolute;
        inset: -6px;
        border-radius: 16px;
        background: linear-gradient(180deg, rgba(241,245,249,0.56), rgba(203,213,225,0.30));
        border: 1px solid rgba(203,213,225,0.18);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 10px 24px rgba(15, 23, 42, 0.06);
        opacity: 0;
        transform: scale(0.96);
        transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease, background .18s ease;
        pointer-events: none;
        z-index: -1;
        backdrop-filter: blur(16px) saturate(125%);
        -webkit-backdrop-filter: blur(16px) saturate(125%);
    }

    .sap-mini-btn:hover,
    .corp-table-shell .sap-mini-btn:hover,
    .deployment-ui .sap-mini-btn:hover,
    .sap-mini-btn:focus-visible,
    .corp-table-shell .sap-mini-btn:focus-visible,
    .deployment-ui .sap-mini-btn:focus-visible {
        transform: translateY(-1px);
        border-color: rgba(203,213,225,0.42) !important;
        color: #0f172a !important;
        background: linear-gradient(180deg, rgba(248,250,252,0.48), rgba(226,232,240,0.24)) !important;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.78), inset 0 -1px 0 rgba(148,163,184,0.12), inset 0 0 20px rgba(226,232,240,0.18), 0 14px 26px rgba(15, 23, 42, 0.08) !important;
    }

    .sap-mini-btn:hover::before,
    .corp-table-shell .sap-mini-btn:hover::before,
    .deployment-ui .sap-mini-btn:hover::before,
    .sap-mini-btn:focus-visible::before,
    .corp-table-shell .sap-mini-btn:focus-visible::before,
    .deployment-ui .sap-mini-btn:focus-visible::before {
        opacity: 1;
        transform: scale(1);
        background: linear-gradient(180deg, rgba(241,245,249,0.56), rgba(203,213,225,0.30));
        border-color: rgba(203,213,225,0.52);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.38), 0 0 0 1px rgba(203,213,225,0.34), 0 0 0 6px rgba(203,213,225,0.12), 0 18px 34px rgba(100,116,139,0.18), 0 10px 24px rgba(15,23,42,0.10);
    }

    .sap-mini-btn.btn-primary {
        background: linear-gradient(180deg, rgba(59, 130, 246, 0.94), rgba(29, 78, 216, 0.84)) !important;
        border-color: rgba(96, 165, 250, 0.62) !important;
        color: #eff6ff !important;
    }

    .sap-mini-btn.btn-outline-secondary {
        background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(241,245,249,0.78)) !important;
        border-color: rgba(148, 163, 184, 0.24) !important;
        color: #475569 !important;
    }

    .sap-mini-btn.btn-outline-success {
        background: linear-gradient(180deg, rgba(236,253,245,0.95), rgba(167,243,208,0.76)) !important;
        border-color: rgba(110,231,183,0.62) !important;
        color: #047857 !important;
    }

    .sap-mini-btn.btn-outline-danger {
        background: linear-gradient(180deg, rgba(254,242,242,0.96), rgba(254,202,202,0.78)) !important;
        border-color: rgba(252,165,165,0.66) !important;
        color: #b91c1c !important;
    }

    .sap-mini-btn.btn-light {
        background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.82)) !important;
        border-color: rgba(203,213,225,0.62) !important;
        color: #334155 !important;
    }

    .sap-mini-btn.btn-primary,
    .sap-mini-btn.btn-outline-secondary,
    .sap-mini-btn.btn-outline-success,
    .sap-mini-btn.btn-outline-danger,
    .sap-mini-btn.btn-light {
        width: auto;
        min-width: 38px;
    }

    .sap-mini-btn.sap-icon-btn,
    .sap-mini-btn.sap-action-btn,
    .sap-mini-btn.btn-icon,
    .sap-mini-btn.icon-only {
        width: 38px;
        min-width: 38px;
        padding-left: 0;
        padding-right: 0;
    }

    .sap-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        min-height: 38px;
        padding: 0.58rem 1rem;
        border-radius: 12px !important;
        border: 1px solid rgba(148, 163, 184, 0.24) !important;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 12px 26px rgba(15, 23, 42, 0.10) !important;
        font-weight: 600;
        line-height: 1.2;
        transition: all .18s ease;
        text-decoration: none !important;
    }

    .sap-btn:hover,
    .sap-btn:focus-visible {
        transform: translateY(-1px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.82), 0 16px 30px rgba(15, 23, 42, 0.12) !important;
    }

    .sap-btn.btn-primary {
        background: linear-gradient(180deg, rgba(59,130,246,0.94), rgba(29,78,216,0.84)) !important;
        border-color: rgba(96,165,250,0.62) !important;
        color: #eff6ff !important;
    }

    .sap-btn.btn-light,
    .sap-btn.btn-secondary {
        background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.82)) !important;
        border-color: rgba(203,213,225,0.62) !important;
        color: #334155 !important;
    }

    .sap-btn.btn-success,
    .sap-btn.btn-outline-success {
        background: linear-gradient(180deg, rgba(236,253,245,0.95), rgba(167,243,208,0.76)) !important;
        border-color: rgba(110,231,183,0.62) !important;
        color: #047857 !important;
    }

    .sap-btn.btn-danger,
    .sap-btn.btn-outline-danger {
        background: linear-gradient(180deg, rgba(254,242,242,0.96), rgba(254,202,202,0.78)) !important;
        border-color: rgba(252,165,165,0.66) !important;
        color: #b91c1c !important;
    }

    .sap-btn.btn-info,
    .sap-btn.btn-outline-info {
        background: linear-gradient(180deg, rgba(236,254,255,0.95), rgba(165,243,252,0.74)) !important;
        border-color: rgba(103,232,249,0.64) !important;
        color: #0f766e !important;
    }

    .sap-btn.btn-warning,
    .sap-btn.btn-outline-warning {
        background: linear-gradient(180deg, rgba(255,251,235,0.96), rgba(253,230,138,0.74)) !important;
        border-color: rgba(252,211,77,0.68) !important;
        color: #b45309 !important;
    }

    .sap-btn.btn-outline-primary {
        background: linear-gradient(180deg, rgba(239,246,255,0.94), rgba(191,219,254,0.78)) !important;
        border-color: rgba(147,197,253,0.65) !important;
        color: #1d4ed8 !important;
    }

    .sap-btn.btn-outline-secondary,
    .sap-btn.btn-outline-dark,
    .sap-btn.btn-dark {
        background: linear-gradient(180deg, rgba(248,250,252,0.95), rgba(226,232,240,0.78)) !important;
        border-color: rgba(203,213,225,0.68) !important;
        color: #475569 !important;
    }

    .sap-btn.btn-sm,
    .sap-btn.btn-xs {
        min-height: 32px;
        padding: 0.42rem 0.78rem;
        border-radius: 10px !important;
        font-size: 0.78rem;
    }

    .sap-btn.btn-block,
    .sap-btn.w-100 {
        display: inline-flex;
        width: 100%;
    }

    .sap-toolbar-search,
    .deployment-ui .deployment-toolbar-search {
        width: min(240px, 100%);
        min-width: 180px;
    }

    .sap-table-shell {
        width: 100%;
        max-width: 100%;
        overflow-x: visible;
        position: relative;
    }

    .sap-dt-toolbar,
    .sap-dt-toolbar-left,
    .sap-dt-toolbar-right {
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .sap-dt-toolbar {
        justify-content: space-between;
        margin-bottom: 12px;
    }

    .sap-dt-toolbar-left {
        flex: 1 1 auto;
        min-width: 0;
    }

    .sap-dt-toolbar-right {
        justify-content: flex-end;
        margin-left: auto;
    }

    .sap-dt-search,
    .sap-dt-length {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        margin: 0;
    }

    .sap-dt-search {
        flex: 1 1 220px;
        min-width: 0;
    }

    .sap-dt-length {
        flex: 0 0 auto;
    }

    .sap-dt-search label,
    .sap-dt-length label {
        margin: 0;
        font-size: 12px;
        color: #495057;
        white-space: nowrap;
    }

    .sap-dt-search input,
    .sap-dt-length select {
        border-radius: 8px;
    }

    .sap-dt-length select {
        width: 86px;
        min-width: 0;
    }

    .sap-dt-wrapper .dataTables_filter,
    .sap-dt-wrapper .dataTables_length {
        display: none !important;
    }

    .sap-dt-wrapper .dt-buttons {
        display: flex !important;
        flex-wrap: nowrap;
        gap: 8px;
        justify-content: flex-end;
        margin-bottom: 0;
        float: none !important;
    }

    .sap-dt-wrapper .dt-buttons .btn {
        white-space: nowrap;
        border-radius: 8px;
    }

    .sap-datatable {
        width: 100% !important;
        font-size: 12px;
        border-collapse: separate;
        border-spacing: 0;
        table-layout: auto;
    }

    .sap-datatable thead th {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: #495057;
        background: #f8fafc;
        border-bottom-width: 1px;
    }

    .sap-datatable th,
    .sap-datatable td {
        padding: .55rem .6rem;
        vertical-align: top;
        width: auto !important;
    }

    /* Shared toolbar mini-button visuals are centralized above. */

    .sap-status-badge,
    .deployment-ui .deployment-status-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.38rem 0.72rem;
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(239, 246, 255, 0.92), rgba(219, 234, 254, 0.76));
        border: 1px solid rgba(147, 197, 253, 0.32);
        color: #1d4ed8;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 10px 24px rgba(30, 64, 175, 0.12);
    }

    .sap-chip,
    .deployment-ui .deployment-chip,
    a.sap-chip,
    button.sap-chip,
    .btn.sap-chip {
        display: inline-flex;
        align-items: center;
        padding: 0.38rem 0.74rem;
        border-radius: 999px !important;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 245, 249, 0.76)) !important;
        border: 1px solid rgba(148, 163, 184, 0.28) !important;
        color: #334155 !important;
        font-size: 0.75rem;
        font-weight: 700;
        text-decoration: none;
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.76), 0 12px 26px rgba(15, 23, 42, 0.10) !important;
    }

    .sap-action-btns {
        display: inline-grid;
        grid-template-columns: repeat(2, 32px);
        gap: 0.35rem;
        align-items: start;
        justify-content: start;
        vertical-align: top;
    }

    .sap-action-btns.justify-content-end {
        justify-content: end;
    }

    .sap-action-btns form {
        display: inline-flex;
        margin: 0;
    }

    .sap-action-btn {
        width: 32px;
        min-width: 32px;
        height: 32px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 9px;
    }

    .sap-select-auto-width + .select2-container,
    select[data-auto-width="selection"] + .select2-container {
        width: auto !important;
        max-width: 100%;
        min-width: 10rem;
    }

    @media (max-width: 767.98px) {
        .sap-filter-actions {
            justify-content: flex-start;
        }

        .sap-filter-search,
        .sap-toolbar-search,
        .deployment-ui .deployment-toolbar-search {
            width: 100%;
            min-width: 0;
        }

        .sap-dt-toolbar,
        .sap-dt-toolbar-left,
        .sap-dt-toolbar-right {
            flex-wrap: wrap;
        }

        .sap-dt-toolbar-right,
        .sap-dt-wrapper .dt-buttons {
            justify-content: flex-start;
        }
    }

/* Settings page shared styles */
    #settings-page .settings-shell {
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    #settings-page .settings-main-card {
        border: 1px solid rgba(148, 163, 184, 0.18);
        border-radius: 22px;
        box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
        overflow: hidden;
    }

    #settings-page .settings-main-card > .card-body {
        padding: 1.4rem;
    }

    #settings-page .settings-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        border: 0;
        margin-bottom: 1.2rem;
    }

    #settings-page .settings-tabs .nav-link {
        border: 1px solid rgba(148, 163, 184, 0.2);
        border-radius: 999px;
        background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(241,245,249,0.92));
        color: #475569;
        font-size: 0.82rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        padding: 0.68rem 1rem;
        transition: all .18s ease;
    }

    #settings-page .settings-tabs .nav-link:hover,
    #settings-page .settings-tabs .nav-link:focus {
        color: #1e293b;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    }

    #settings-page .settings-tabs .nav-link.active {
        color: #0f172a;
        border-color: rgba(59, 130, 246, 0.28);
        background: linear-gradient(180deg, rgba(239,246,255,0.98), rgba(219,234,254,0.94));
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 12px 24px rgba(37, 99, 235, 0.12);
    }

    #settings-page .settings-pane-stack {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    #settings-page .settings-section-card {
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 18px;
        background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.96));
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
    }

    #settings-page .settings-section-card > .card-body {
        padding: 1.25rem 1.25rem 1.15rem;
    }

    #settings-page .settings-section-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 14px;
        margin-bottom: 1rem;
    }

    #settings-page .settings-section-title {
        margin: 0;
        font-size: 1rem;
        font-weight: 700;
        color: #0f172a;
    }

    #settings-page .settings-section-copy,
    #settings-page .settings-mini-copy {
        margin: 0.3rem 0 0;
        color: #64748b;
        font-size: 0.88rem;
        line-height: 1.55;
    }

    #settings-page .settings-kicker {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 0.35rem 0.65rem;
        border-radius: 999px;
        background: rgba(59, 130, 246, 0.08);
        color: #2563eb;
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.05em;
        text-transform: uppercase;
        white-space: nowrap;
    }

    #settings-page .settings-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 16px;
    }

    #settings-page .settings-stat-card,
    #settings-page .settings-link-card {
        height: 100%;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 18px;
        background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.94));
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
    }

    #settings-page .settings-stat-card .card-body,
    #settings-page .settings-link-card .card-body {
        padding: 1.15rem;
    }

    #settings-page .settings-stat-top {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 0.8rem;
    }

    #settings-page .settings-stat-card h5,
    #settings-page .settings-link-card h5 {
        margin: 0;
        font-size: 0.98rem;
        font-weight: 700;
        color: #0f172a;
    }

    #settings-page .settings-stat-badge {
        min-width: 40px;
        padding: 0.35rem 0.6rem;
        border-radius: 999px;
        background: rgba(37, 99, 235, 0.1);
        color: #1d4ed8;
        font-size: 0.76rem;
        font-weight: 800;
        text-align: center;
    }

    #settings-page .settings-form-grid {
        display: grid;
        gap: 14px;
    }

    #settings-page .settings-field {
        display: grid;
        grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
        gap: 14px;
        align-items: start;
    }

    #settings-page .settings-field-label {
        padding-top: 0.75rem;
        margin: 0;
        color: #334155;
        font-size: 0.88rem;
        font-weight: 700;
    }

    #settings-page .settings-field-label .text-danger {
        margin-left: 2px;
    }

    #settings-page .settings-field-control .form-control,
    #settings-page .settings-field-control select,
    #settings-page .settings-field-control textarea {
        min-height: 46px;
        border-radius: 14px;
        border-color: rgba(148, 163, 184, 0.24);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
    }

    #settings-page .settings-field-control textarea.form-control {
        min-height: 140px;
    }

    #settings-page .settings-switch-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 0.95rem 1rem;
        border: 1px solid rgba(148, 163, 184, 0.16);
        border-radius: 16px;
        background: rgba(248, 250, 252, 0.88);
    }

    #settings-page .settings-actions {
        display: flex;
        justify-content: flex-end;
        margin-top: 0.25rem;
    }

    #settings-page .settings-code-note code {
        background: rgba(15, 23, 42, 0.06);
        color: #0f172a;
        padding: 0.12rem 0.38rem;
        border-radius: 8px;
    }

    @media (max-width: 991.98px) {
        #settings-page .settings-field {
            grid-template-columns: 1fr;
            gap: 8px;
        }

        #settings-page .settings-field-label {
            padding-top: 0;
        }
    }

/* Deployment request form shared styles */
    .deployment-request-header-shell {
        position: relative;
        z-index: 3;
    }
    .deployment-request-header-shell.is-pinned {
        position: fixed;
        top: 70px;
        z-index: 1020;
        margin-top: 0;
    }
    .deployment-request-header-placeholder {
        display: none;
    }
    .deployment-request-header-row {
        display: flex;
        align-items: center;
        gap: 0.85rem;
    }
    .deployment-request-header-title {
        flex: 0 0 auto;
        min-width: 0;
    }
    .deployment-request-header-progress {
        flex: 1 1 auto;
        min-width: 0;
    }
    .deployment-request-progress-track {
        position: relative;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.75rem;
        width: 100%;
    }
    .deployment-request-progress-track::before {
        content: '';
        position: absolute;
        top: 16px;
        left: 18px;
        right: 18px;
        height: 2px;
        background: #dbe4f0;
        z-index: 0;
    }
    .deployment-request-progress-fill {
        position: absolute;
        top: 16px;
        left: 18px;
        height: 2px;
        background: #2563eb;
        z-index: 1;
        width: 0;
        transition: width .2s ease;
    }
    .deployment-request-progress-step {
        position: relative;
        z-index: 2;
        flex: 1 1 0;
        min-width: 0;
        text-align: center;
    }
    .deployment-request-progress-dot {
        width: 34px;
        height: 34px;
        border-radius: 999px;
        border: 2px solid #cbd5e1;
        background: #fff;
        color: #64748b;
        font-size: 0.84rem;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 0.45rem;
        transition: all .18s ease;
    }
    .deployment-request-progress-label {
        display: block;
        color: #64748b;
        font-size: 0.78rem;
        font-weight: 600;
        line-height: 1.35;
    }
    .deployment-request-progress-meta {
        display: block;
        margin-top: 0.2rem;
        min-height: 1rem;
        color: #94a3b8;
        font-size: 0.7rem;
        font-weight: 700;
        letter-spacing: 0.01em;
    }
    .deployment-request-progress-meta.is-success {
        color: #15803d;
    }
    .deployment-request-progress-meta.is-pending {
        color: #d97706;
    }
    .deployment-request-progress-meta.is-danger {
        color: #b91c1c;
    }
    .deployment-request-progress-step.is-active .deployment-request-progress-dot,
    .deployment-request-progress-step.is-complete .deployment-request-progress-dot {
        border-color: #2563eb;
        color: #2563eb;
    }
    .deployment-request-progress-step.is-active .deployment-request-progress-dot {
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    }
    .deployment-request-progress-step.is-complete .deployment-request-progress-dot {
        background: #2563eb;
        color: #fff;
    }
    .deployment-request-progress-step.is-active .deployment-request-progress-label,
    .deployment-request-progress-step.is-complete .deployment-request-progress-label {
        color: #0f172a;
    }
    .deployment-request-progress-step.is-hidden {
        display: none;
    }
    @media (max-width: 991.98px) {
        .deployment-request-header-row {
            align-items: flex-start;
            flex-wrap: wrap;
        }
        .deployment-request-header-title,
        .deployment-request-header-progress {
            flex: 1 1 100%;
        }
    }
    .deployment-request-section {
        border: 1px solid #e2e8f0;
        border-radius: 18px;
        background: #fff;
        padding: 1rem 1rem 0.15rem;
        margin-bottom: 1rem;
    }
    .deployment-request-section-title {
        margin: 0 0 0.2rem;
        font-size: 1rem;
        font-weight: 700;
        color: #0f172a;
    }
    .deployment-request-section-note {
        margin: 0 0 0.9rem;
        color: #64748b;
        font-size: 0.82rem;
    }
    .deployment-request-source-grid {
        display: grid;
        gap: 0.85rem;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        margin-bottom: 1rem;
    }
    .deployment-request-source-card {
        position: relative;
        border: 1px solid #dbe4f0;
        border-radius: 16px;
        background: #fff;
        padding: 0.95rem 1rem;
        cursor: pointer;
        transition: all .18s ease;
    }
    .sap-selection-chip-group {
        flex-wrap: wrap;
        gap: 0.55rem;
    }
    .deployment-request-inline-row {
        display: flex;
        align-items: flex-end;
        gap: 0.9rem;
        flex-wrap: nowrap;
    }
    .deployment-request-inline-item {
        min-width: 0;
    }
    .deployment-request-inline-item--name {
        flex: 1 1 30ch;
        max-width: 30ch;
    }
    .deployment-request-inline-item--bw {
        flex: 0 0 110px;
    }
    .deployment-request-inline-item--redundancy {
        flex: 0 0 170px;
    }
    .deployment-request-inline-item--medium,
    .deployment-request-inline-item--priority {
        flex: 0 0 auto;
    }
    .deployment-request-bw-field {
        width: 110px;
        max-width: 100%;
    }
    @media (max-width: 1199.98px) {
        .deployment-request-inline-row {
            flex-wrap: wrap;
        }
        .deployment-request-inline-item--name {
            max-width: none;
        }
    }
    /* request selection-chip visual styling is centralized in shared-ui::partials.admin_ui */
    .deployment-request-source-card:hover {
        border-color: #93c5fd;
        box-shadow: 0 8px 18px rgba(37, 99, 235, 0.08);
    }
    .deployment-request-source-card.is-active {
        border-color: #2563eb;
        background: #eff6ff;
        box-shadow: 0 10px 22px rgba(37, 99, 235, 0.12);
    }
    .deployment-required-mark {
        color: #dc2626;
        font-weight: 700;
        margin-left: 0.18rem;
    }
    .deployment-required-note {
        color: #b91c1c;
        font-size: 0.76rem;
        font-weight: 600;
        margin-top: 0.35rem;
    }
    .sap-selection-chip-group.is-required-missing,
    .deployment-customer-source-grid.is-required-missing,
    .deployment-existing-customer-field.is-required-missing .select2-selection,
    .deployment-form-card .form-control.is-required-missing,
    .deployment-form-card select.is-required-missing {
        border-color: #dc2626 !important;
        box-shadow: 0 0 0 0.12rem rgba(220, 38, 38, 0.12) !important;
    }
    .sap-selection-chip-group.is-required-missing {
        border: 1px solid #fecaca;
        border-radius: 14px;
        padding: 0.45rem;
        background: #fff7f7;
    }
    .deployment-customer-source-grid.is-required-missing {
        border: 1px solid #fecaca;
        border-radius: 18px;
        padding: 0.6rem;
        background: #fff7f7;
    }
    .sap-selection-chip.is-required-missing,
    .deployment-customer-source-card.is-required-missing {
        border-color: #dc2626 !important;
        color: #991b1b;
    }
    .deployment-request-source-card input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }
    .deployment-existing-customer-field {
        width: 100%;
    }
    .deployment-existing-customer-field .select2-container {
        display: inline-block !important;
        width: auto !important;
        max-width: 100%;
        min-width: 420px;
    }
    .deployment-existing-customer-field .select2-selection {
        min-width: 420px;
    }
    .deployment-request-source-title {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        margin-bottom: 0.3rem;
        font-weight: 700;
        color: #0f172a;
    }
    .deployment-request-source-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(37, 99, 235, 0.10);
        color: #2563eb;
        font-size: 0.95rem;
    }
    .deployment-request-source-text {
        color: #64748b;
        font-size: 0.8rem;
        line-height: 1.45;
        margin: 0;
    }
    .deployment-request-location-card {
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        padding: 1rem 1rem 0.1rem;
        background: #f8fafc;
        margin-bottom: 1rem;
    }
    .deployment-request-location-title {
        margin: 0 0 0.25rem;
        font-size: 1rem;
        font-weight: 700;
        color: #0f172a;
    }
    .deployment-request-location-note {
        margin: 0 0 0.9rem;
        color: #64748b;
        font-size: 0.84rem;
    }
    .deployment-request-map-actions {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        flex-wrap: wrap;
    }
    .deployment-request-location-inline-row {
        display: flex;
        gap: 0.85rem;
        align-items: flex-end;
        flex-wrap: nowrap;
    }
    .deployment-request-location-inline-main {
        flex: 1 1 auto;
        min-width: 0;
    }
    .deployment-request-location-inline-field {
        flex: 0 0 170px;
    }
    .deployment-request-location-inline-field--city {
        flex-basis: 220px;
    }
    @media (max-width: 1199.98px) {
        .deployment-request-location-inline-row {
            flex-wrap: wrap;
        }
        .deployment-request-location-inline-main,
        .deployment-request-location-inline-field,
        .deployment-request-location-inline-field--city {
            flex: 1 1 100%;
        }
    }
    .deployment-request-inline-help {
        display: block;
        margin-top: 0.35rem;
        color: #64748b;
        font-size: 0.78rem;
    }
    .deployment-request-map-grid {
        display: grid;
        gap: 1rem;
        grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
        align-items: start;
    }
    .deployment-request-map-canvas {
        width: 100%;
        min-height: 420px;
        border-radius: 14px;
        border: 1px solid #dbe4f0;
        overflow: hidden;
        background: #e2e8f0;
    }
    .deployment-request-map-sidebar {
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        padding: 1rem;
        background: #f8fafc;
    }
    .deployment-request-map-sidebar h6 {
        margin-bottom: 0.2rem;
        font-weight: 700;
        color: #0f172a;
    }
    .deployment-request-map-sidebar p {
        color: #64748b;
        font-size: 0.83rem;
        margin-bottom: 0.45rem;
    }
    .deployment-request-map-status {
        min-height: 0;
        color: #475569;
        font-size: 0.82rem;
        margin-bottom: 0.45rem;
    }
    .deployment-request-coordinate-preview {
        display: grid;
        gap: 0.75rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 1rem;
    }
    .deployment-request-coordinate-box {
        border: 1px solid #dbe4f0;
        border-radius: 12px;
        background: #fff;
        padding: 0.75rem 0.85rem;
    }
    .deployment-request-coordinate-box span {
        display: block;
        font-size: 0.72rem;
        font-weight: 700;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        margin-bottom: 0.2rem;
    }
    .deployment-request-coordinate-box strong {
        display: block;
        color: #0f172a;
        word-break: break-word;
    }
    .deployment-request-map-zoom-controls {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 500;
        display: inline-flex;
        align-items: center;
        overflow: hidden;
        border-radius: 999px;
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
        background: rgba(15, 23, 42, 0.9);
    }
    .deployment-request-map-zoom-btn,
    .deployment-request-map-zoom-badge {
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 0.78rem;
        font-weight: 700;
        height: 34px;
        line-height: 34px;
    }
    .deployment-request-map-zoom-btn {
        width: 34px;
        cursor: pointer;
    }
    .deployment-request-map-zoom-btn:hover {
        background: rgba(255,255,255,0.12);
    }
    .deployment-request-map-zoom-badge {
        min-width: 78px;
        padding: 0 0.7rem;
        text-align: center;
        border-left: 1px solid rgba(255,255,255,0.12);
        border-right: 1px solid rgba(255,255,255,0.12);
        pointer-events: none;
    }
    .deployment-request-side-card {
        position: sticky;
        top: 18px;
    }
    .deployment-request-checklist {
        display: grid;
        gap: 0.7rem;
        margin: 0;
    }
    .deployment-request-checklist-item {
        display: flex;
        align-items: flex-start;
        gap: 0.65rem;
        color: #334155;
        font-size: 0.84rem;
    }
    .deployment-request-checklist-badge {
        width: 24px;
        height: 24px;
        border-radius: 999px;
        background: #eff6ff;
        color: #2563eb;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 24px;
        margin-top: 0.05rem;
    }
    .deployment-request-aside-kv {
        display: grid;
        gap: 0.75rem;
    }
    .deployment-request-aside-kv-item {
        display: flex;
        justify-content: space-between;
        gap: 0.75rem;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid #e2e8f0;
    }
    .deployment-request-aside-kv-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }
    .deployment-request-aside-kv-item span {
        color: #64748b;
        font-size: 0.8rem;
    }
    .deployment-request-aside-kv-item strong {
        color: #0f172a;
        font-size: 0.84rem;
        text-align: right;
    }
    .deployment-request-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
        flex-wrap: wrap;
        padding-top: 1rem;
        margin-top: 1rem;
        border-top: 1px solid #e2e8f0;
    }
    .deployment-flow-hidden {
        display: none;
    }
    .deployment-form-card .form-control[readonly],
    .deployment-form-card .form-control:disabled,
    .deployment-form-card select:disabled {
        background: #f1f5f9;
        border-color: #cbd5e1;
        color: #475569;
        box-shadow: none;
        cursor: not-allowed;
    }
    .deployment-form-card .form-control[readonly]:focus,
    .deployment-form-card .form-control:disabled:focus,
    .deployment-form-card select:disabled:focus {
        border-color: #cbd5e1;
        box-shadow: none;
    }
    .deployment-request-footer-note {
        color: #64748b;
        font-size: 0.82rem;
        max-width: 680px;
    }
    .deployment-request-autosave-status {
        margin-top: 0.35rem;
        font-size: 0.76rem;
        font-weight: 600;
        color: #64748b;
    }
    .deployment-request-autosave-status.is-success {
        color: #15803d;
    }
    .deployment-request-autosave-status.is-danger {
        color: #b91c1c;
    }
    .leaflet-container { font: inherit; }
    @media (max-width: 991.98px) {
        .deployment-request-map-grid { grid-template-columns: 1fr; }
        .deployment-request-map-canvas { min-height: 320px; }
        .deployment-request-side-card { position: static; }
    }

/* Deployment survey form shared styles */
    .deployment-survey-header-shell {
        position: relative;
        z-index: 3;
    }
    .deployment-survey-header-shell.is-pinned {
        position: fixed;
        top: 70px;
        z-index: 1020;
    }
    .deployment-survey-header-placeholder {
        display: none;
    }
    .deployment-survey-header-row {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    .deployment-survey-header-title {
        flex: 0 0 auto;
        min-width: 0;
    }
    .deployment-survey-header-progress {
        flex: 1 1 auto;
        min-width: 0;
    }
    .deployment-survey-progress-track {
        position: relative;
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        width: 100%;
    }
    .deployment-survey-progress-track::before {
        content: '';
        position: absolute;
        top: 16px;
        left: 18px;
        right: 18px;
        height: 2px;
        background: #dbe4f0;
        z-index: 0;
    }
    .deployment-survey-progress-fill {
        position: absolute;
        top: 16px;
        left: 18px;
        height: 2px;
        width: 0;
        background: #2563eb;
        z-index: 1;
        transition: width .2s ease;
    }
    .deployment-survey-progress-step {
        position: relative;
        z-index: 2;
        flex: 1 1 0;
        min-width: 0;
        text-align: center;
    }
    .deployment-survey-progress-step.is-hidden {
        display: none;
    }
    .deployment-survey-progress-dot {
        width: 34px;
        height: 34px;
        border-radius: 999px;
        border: 2px solid #cbd5e1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        color: #64748b;
        font-size: 0.82rem;
        font-weight: 700;
        margin-bottom: 0.45rem;
        transition: all .18s ease;
    }
    .deployment-survey-progress-label {
        display: block;
        color: #64748b;
        font-size: 0.76rem;
        font-weight: 600;
        line-height: 1.35;
    }
    .deployment-survey-progress-step.is-active .deployment-survey-progress-dot,
    .deployment-survey-progress-step.is-complete .deployment-survey-progress-dot {
        border-color: #2563eb;
        color: #2563eb;
    }
    .deployment-survey-progress-step.is-active .deployment-survey-progress-dot {
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    }
    .deployment-survey-progress-step.is-complete .deployment-survey-progress-dot {
        background: #2563eb;
        color: #fff;
    }
    .deployment-survey-progress-step.is-active .deployment-survey-progress-label,
    .deployment-survey-progress-step.is-complete .deployment-survey-progress-label {
        color: #0f172a;
    }
    .deployment-survey-section {
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        background: #f8fafc;
        padding: 1rem 1rem 0.25rem;
        margin-bottom: 1rem;
    }
    .deployment-survey-section-title {
        margin: 0 0 0.2rem;
        font-size: 0.96rem;
        font-weight: 700;
        color: #0f172a;
    }
    .deployment-survey-section-note {
        margin: 0 0 0.9rem;
        color: #64748b;
        font-size: 0.8rem;
    }
    .deployment-survey-flow-hidden {
        display: none;
    }
    .deployment-survey-choice-group {
        display: flex;
        flex-wrap: wrap;
        gap: 0.45rem;
        min-height: auto;
        white-space: normal;
    }
    .deployment-survey-choice-group .sap-selection-chip {
        padding: 8px 12px;
        font-size: 12px;
        line-height: 1.2;
    }
    .deployment-survey-choice-group.is-invalid {
        padding: 0.35rem;
        border: 1px solid #f1556c;
        border-radius: 12px;
        background: rgba(241, 85, 108, 0.06);
    }
    .deployment-required-mark {
        color: #dc2626;
        font-weight: 700;
        margin-left: 0.18rem;
    }
    .deployment-form-card .form-control.is-required-missing,
    .deployment-form-card select.is-required-missing,
    .deployment-form-card .select2-selection.is-required-missing,
    .deployment-survey-choice-group.is-required-missing {
        border-color: #dc2626 !important;
        box-shadow: 0 0 0 0.12rem rgba(220, 38, 38, 0.12) !important;
    }
    .deployment-survey-choice-group.is-required-missing {
        padding: 0.35rem;
        border: 1px solid #fecaca;
        border-radius: 12px;
        background: #fff7f7;
    }
    .deployment-survey-choice-group.is-required-missing .sap-selection-chip {
        border-color: #dc2626 !important;
        color: #991b1b;
    }
    .deployment-survey-inline-row {
        display: flex;
        flex-wrap: wrap;
        gap: 0.9rem;
        align-items: flex-start;
        margin-bottom: 1rem;
    }
    .deployment-survey-inline-item {
        flex: 1 1 220px;
        min-width: 0;
    }
    .deployment-survey-inline-item--physical-toggle {
        flex: 0 0 138px;
    }
    .deployment-survey-inline-item--physical-person {
        flex: 1 1 0;
        min-width: 0;
    }
    .deployment-survey-inline-item--physical-owner,
    .deployment-survey-inline-item--physical-engineer {
        flex: 1 1 0;
        min-width: 0;
    }
    .deployment-survey-inline-item--physical-datetime {
        flex: 0 0 228px;
    }
    .deployment-survey-datetime-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 78px;
        column-gap: 0.45rem;
        row-gap: 0.18rem;
        align-items: end;
    }
    .deployment-survey-datetime-caption {
        display: block;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 0.72rem !important;
        font-weight: 600 !important;
        font-family: inherit !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
        line-height: 1.1 !important;
        color: #475569 !important;
        white-space: nowrap;
        text-align: center;
    }
    .deployment-survey-datetime-field {
        min-width: 0;
    }
    .deployment-survey-datetime-field .form-control {
        width: 100%;
        min-width: 0;
    }
    .datepicker-dropdown,
    .clockpicker-popover {
        z-index: 1085 !important;
    }
    .clockpicker-popover .popover-title {
        font-size: 20px;
        color: #0f172a;
    }
    .clockpicker-popover .popover-content {
        background: #fff;
    }
    .clockpicker-button {
        font-weight: 600;
    }
    .deployment-survey-inline-item--narrow {
        flex: 0 0 170px;
    }
    .deployment-survey-inline-row--fiber-types {
        gap: 0.6rem;
        align-items: flex-start;
    }
    .deployment-survey-inline-item--fiber-ont {
        flex: 0 0 180px;
    }
    .deployment-survey-inline-item--fiber-patch-type {
        flex: 1 1 0;
        min-width: 0;
    }
    .deployment-survey-inline-item--fiber-patch-type .deployment-survey-choice-group {
        gap: 0.35rem;
    }
    .deployment-survey-inline-item--fiber-patch-type .sap-selection-chip {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 11px;
    }
    .deployment-survey-subcard {
        border: 1px solid #dbe4f0;
        border-radius: 14px;
        background: #fff;
        padding: 0.9rem 0.95rem;
        margin-bottom: 1rem;
    }
    .deployment-survey-approval-blocker {
        border-color: #f59e0b;
        background: #fffaf0;
    }
    .deployment-survey-subcard-title {
        margin: 0 0 0.15rem;
        font-size: 0.84rem;
        font-weight: 700;
        color: #0f172a;
    }
    .deployment-survey-subcard-note {
        margin: 0 0 0.75rem;
        color: #64748b;
        font-size: 0.76rem;
    }
    .deployment-survey-image-grid {
        display: grid;
        gap: 0.75rem;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        margin-top: 0.8rem;
    }
    .deployment-survey-image-card {
        border: 1px solid #dbe4f0;
        border-radius: 14px;
        background: #fff;
        padding: 0.55rem;
    }
    .deployment-survey-image-card img {
        width: 100%;
        height: 110px;
        object-fit: cover;
        border-radius: 10px;
        margin-bottom: 0.5rem;
    }
    .deployment-survey-image-meta {
        font-size: 0.72rem;
        color: #64748b;
        line-height: 1.35;
        word-break: break-word;
    }
    .deployment-survey-footer-note {
        color: #64748b;
        font-size: 0.82rem;
        max-width: 720px;
    }
    .deployment-survey-footer-note strong {
        color: #0f172a;
    }
    .deployment-survey-action-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        flex-wrap: wrap;
    }
    .deployment-survey-action-stack {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.6rem;
        min-width: min(100%, 440px);
    }
    .deployment-survey-action-tools {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.5rem;
        width: 100%;
    }
    .deployment-survey-submit-btn {
        min-width: 220px;
    }
    .deployment-survey-stage-chip {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 0.45rem 0.75rem;
        border-radius: 999px;
        background: #eff6ff;
        color: #1d4ed8;
        font-size: 0.78rem;
        font-weight: 700;
        border: 1px solid #bfdbfe;
    }
    .deployment-survey-kv-grid {
        display: grid;
        gap: 0.45rem;
    }
    .deployment-survey-kv-item {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.45rem 0;
        border-bottom: 1px solid #e2e8f0;
    }
    .deployment-survey-kv-item:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }
    .deployment-survey-kv-item span {
        color: #64748b;
        font-size: 0.78rem;
        font-weight: 600;
    }
    .deployment-survey-kv-item strong {
        color: #0f172a;
        font-size: 0.84rem;
        font-weight: 700;
        text-align: right;
        max-width: 65%;
        line-height: 1.35;
    }
    .deployment-survey-side-card {
        position: sticky;
        top: 96px;
    }
    .deployment-survey-inline-row--required-survey {
        flex-wrap: nowrap;
        align-items: flex-end;
        gap: 0.55rem;
    }
    .deployment-survey-inline-row--required-survey .select2-container {
        width: 100% !important;
    }
    @media (max-width: 991.98px) {
        .deployment-survey-header-row {
            flex-wrap: wrap;
        }
        .deployment-survey-header-title,
        .deployment-survey-header-progress {
            flex: 1 1 100%;
        }
        .deployment-survey-side-card {
            position: static;
        }
        .deployment-survey-action-stack {
            align-items: stretch;
            min-width: 100%;
        }
        .deployment-survey-inline-row--required-survey {
            flex-wrap: wrap;
        }
    }

/* SAP admin profile shared styles */
    .sap-profile-shell {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    .sap-profile-hero,
    .sap-profile-card {
        position: relative;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,0.22);
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.56));
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.10);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .sap-profile-hero::before,
    .sap-profile-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(59,130,246,0.16), transparent 30%), radial-gradient(circle at bottom left, rgba(14,165,233,0.10), transparent 28%);
        pointer-events: none;
    }

    .sap-profile-hero {
        padding: 1.5rem;
    }

    .sap-profile-hero-inner {
        position: relative;
        z-index: 1;
        display: flex;
        gap: 1.5rem;
        justify-content: space-between;
        flex-wrap: wrap;
        align-items: center;
    }

    .sap-profile-identity {
        display: flex;
        align-items: center;
        gap: 1rem;
        min-width: 0;
    }

    .sap-profile-avatar-stack {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.65rem;
        flex: 0 0 auto;
    }

    .sap-profile-avatar {
        width: 86px;
        height: 86px;
        border-radius: 24px;
        object-fit: cover;
        border: 3px solid rgba(255,255,255,0.68);
        box-shadow: 0 18px 30px rgba(37, 99, 235, 0.15);
        background: #e2e8f0;
    }

    .sap-profile-avatar-form {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.45rem;
    }

    .sap-profile-avatar-input {
        display: none;
    }

    .sap-profile-avatar-change {
        min-height: 34px;
        padding: 0.48rem 0.8rem;
        border-radius: 999px;
        border: 1px solid rgba(148,163,184,0.22);
        background: rgba(255,255,255,0.7);
        color: #1e293b;
        font-size: 0.82rem;
        font-weight: 700;
        box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
        cursor: pointer;
    }

    .sap-profile-avatar-help {
        font-size: 0.74rem;
        color: #64748b;
        text-align: center;
    }

    .sap-profile-identity-copy {
        min-width: 0;
    }

    .sap-profile-eyebrow {
        margin: 0 0 0.45rem;
        font-size: 0.74rem;
        font-weight: 700;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: #64748b;
    }

    .sap-profile-title {
        margin: 0;
        font-size: 1.8rem;
        font-weight: 800;
        letter-spacing: -0.03em;
        color: #0f172a;
    }

    .sap-profile-subtitle {
        margin: 0.45rem 0 0;
        color: #475569;
        max-width: 42rem;
    }

    .sap-profile-meta {
        position: relative;
        z-index: 1;
        display: flex;
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .sap-profile-pill {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.72rem 0.95rem;
        border-radius: 16px;
        background: rgba(255,255,255,0.58);
        border: 1px solid rgba(148,163,184,0.18);
        color: #334155;
        min-width: 11rem;
    }

    .sap-profile-pill i {
        width: 34px;
        height: 34px;
        border-radius: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(37,99,235,0.12);
        color: #1d4ed8;
    }

    .sap-profile-pill--security i {
        background: rgba(14,165,233,0.13);
        color: #0369a1;
    }

    .sap-profile-pill-copy {
        display: flex;
        flex-direction: column;
        gap: 0.12rem;
        min-width: 0;
    }

    .sap-profile-pill-label {
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: #64748b;
    }

    .sap-profile-pill-value {
        font-size: 0.92rem;
        font-weight: 700;
        color: #0f172a;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sap-profile-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 1.25rem;
    }

    .sap-profile-stack {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        min-width: 0;
    }

    .sap-profile-card {
        padding: 1.35rem;
    }

    .sap-profile-card-body {
        position: relative;
        z-index: 1;
    }

    .sap-profile-card-head {
        display: flex;
        justify-content: space-between;
        gap: 0.75rem;
        align-items: flex-start;
        margin-bottom: 1rem;
        flex-wrap: wrap;
    }

    .sap-profile-card-title {
        margin: 0;
        display: flex;
        align-items: center;
        gap: 0.7rem;
        font-size: 1.05rem;
        font-weight: 800;
        color: #0f172a;
    }

    .sap-profile-card-title i {
        width: 38px;
        height: 38px;
        border-radius: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(37,99,235,0.12);
        color: #1d4ed8;
    }

    .sap-profile-card-subtitle {
        margin: 0.42rem 0 0;
        color: #64748b;
        font-size: 0.92rem;
    }

    .sap-profile-form .row {
        --bs-gutter-y: 0.9rem;
    }

    .sap-profile-form label {
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #64748b;
    }

    .sap-profile-form .form-control,
    .sap-profile-form textarea {
        border-radius: 14px;
        border: 1px solid rgba(148,163,184,0.22);
        background: rgba(255,255,255,0.72);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.35);
        min-height: 46px;
    }

    .sap-profile-form textarea {
        min-height: 110px;
        resize: vertical;
    }

    .sap-profile-form .form-control:focus,
    .sap-profile-form textarea:focus {
        border-color: rgba(59,130,246,0.44);
        box-shadow: 0 0 0 0.22rem rgba(59,130,246,0.12);
    }

    .sap-profile-actions {
        display: flex;
        justify-content: flex-end;
        gap: 0.75rem;
        flex-wrap: wrap;
        margin-top: 1rem;
    }

    .sap-profile-btn {
        min-height: 42px;
        border-radius: 14px;
        padding: 0.68rem 1rem;
        font-weight: 700;
        box-shadow: 0 12px 24px rgba(37, 99, 235, 0.14);
    }

    .sap-profile-password-stamp {
        display: inline-flex;
        flex-direction: column;
        gap: 0.22rem;
        min-width: 13rem;
        padding: 0.65rem 0.85rem;
        border-radius: 16px;
        background: rgba(255,255,255,0.58);
        border: 1px solid rgba(14,165,233,0.18);
        color: #334155;
    }

    .sap-profile-password-stamp strong {
        font-size: 0.9rem;
        line-height: 1.35;
        color: #0f172a;
    }

    .sap-profile-qr {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1rem;
        border-radius: 20px;
        background: rgba(255,255,255,0.62);
        border: 1px solid rgba(148,163,184,0.18);
    }

    .sap-profile-qr svg {
        max-width: 100%;
        height: auto;
    }

    .sap-profile-alert {
        border-radius: 16px;
        border: 1px solid transparent;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
        padding: 0.95rem 1rem;
    }

    .sap-profile-inline-help {
        display: block;
        margin-top: 0.42rem;
        font-size: 0.82rem;
        color: #64748b;
    }

    .sap-profile-password-meter {
        margin-top: 0.7rem;
        padding: 0.8rem 0.9rem;
        border-radius: 16px;
        background: rgba(255,255,255,0.52);
        border: 1px solid rgba(148,163,184,0.18);
    }

    .sap-profile-password-bar {
        height: 8px;
        border-radius: 999px;
        background: rgba(148,163,184,0.18);
        overflow: hidden;
        margin-bottom: 0.55rem;
    }

    .sap-profile-password-bar span {
        display: block;
        height: 100%;
        width: 0;
        border-radius: 999px;
        background: linear-gradient(90deg, #ef4444, #f59e0b);
        transition: width 0.18s ease, background 0.18s ease;
    }

    .sap-profile-password-copy {
        display: flex;
        justify-content: space-between;
        gap: 0.75rem;
        flex-wrap: wrap;
        font-size: 0.82rem;
        color: #64748b;
    }

    .sap-profile-2fa-state {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 0.9rem;
        flex-wrap: wrap;
        padding: 1rem;
        border-radius: 18px;
        background: rgba(255,255,255,0.54);
        border: 1px solid rgba(148,163,184,0.18);
        margin-bottom: 1rem;
    }

    .sap-profile-2fa-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 0.42rem 0.72rem;
        border-radius: 999px;
        font-size: 0.75rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .sap-profile-2fa-badge.is-on {
        color: #047857;
        background: rgba(16,185,129,0.12);
        border: 1px solid rgba(16,185,129,0.18);
    }

    .sap-profile-2fa-badge.is-off {
        color: #b45309;
        background: rgba(245,158,11,0.12);
        border: 1px solid rgba(245,158,11,0.18);
    }

    .sap-profile-recovery-list {
        list-style: none;
        padding: 0;
        margin: 1rem 0 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .sap-profile-recovery-list li {
        padding: 0.7rem 0.85rem;
        border-radius: 14px;
        background: rgba(255,255,255,0.58);
        border: 1px solid rgba(148,163,184,0.18);
        font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
        font-size: 0.82rem;
        color: #0f172a;
    }

    .sap-profile-muted {
        color: #64748b;
    }

    @media (max-width: 767.98px) {
        .sap-profile-recovery-list {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 991.98px) {
        .sap-profile-grid {
            grid-template-columns: 1fr;
        }

        .sap-profile-meta {
            justify-content: flex-start;
        }
    }

/* Corporate link editor shared styles */
    .link-editor-card {
        border: 0;
        border-radius: 18px;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
        overflow: hidden;
    }

    .link-editor-header {
        padding: 1.25rem 1.5rem 1rem;
        border-bottom: 1px solid #e2e8f0;
        background: linear-gradient(135deg, #f8fbff 0%, #f8fafc 100%);
    }

    .link-editor-title {
        margin: 0;
        font-size: 1.35rem;
        font-weight: 700;
        color: #0f172a;
    }

    .link-editor-subtitle {
        margin: 0.35rem 0 0;
        color: #64748b;
        font-size: 0.92rem;
    }


    .link-editor-progress {
        padding: 1rem 1.25rem 1.1rem;
        background: #fff;
        border-bottom: 1px solid #e2e8f0;
    }

    .link-editor-progress-track {
        position: relative;
        height: 8px;
        border-radius: 999px;
        background: #e2e8f0;
        overflow: hidden;
        margin-bottom: 0.85rem;
    }

    .link-editor-progress-bar {
        height: 100%;
        width: 0;
        border-radius: 999px;
        background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
        transition: width 0.2s ease;
    }

    .link-editor-progress-steps {
        display: grid;
        gap: 0.75rem;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .link-editor-progress-step {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        color: #64748b;
        font-size: 0.84rem;
        font-weight: 600;
    }

    .link-editor-progress-step.is-active {
        color: #2563eb;
    }

    .link-editor-progress-step.is-complete {
        color: #0f766e;
    }

    .link-editor-progress-index {
        width: 28px;
        height: 28px;
        border-radius: 999px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #cbd5e1;
        background: #fff;
        color: #475569;
        font-size: 0.78rem;
        flex-shrink: 0;
    }

    .link-editor-progress-step.is-active .link-editor-progress-index {
        border-color: #2563eb;
        background: #dbeafe;
        color: #1d4ed8;
    }

    .link-editor-progress-step.is-complete .link-editor-progress-index {
        border-color: #14b8a6;
        background: #ccfbf1;
        color: #0f766e;
    }

    .link-editor-steps {
        position: relative;
    }

    .link-editor-step {
        display: none;
    }

    .link-editor-step.is-active {
        display: block;
    }

    .link-editor-body {
        padding: 1.25rem;
        background: #f8fafc;
    }

    .link-editor-pane {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 16px;
        padding: 1.15rem 1.15rem 0.15rem;
    }

    .link-editor-subsection {
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        background: #f8fafc;
        padding: 1rem 1rem 0.2rem;
        margin-bottom: 1rem;
    }

    .link-editor-subsection-title {
        margin: 0 0 0.2rem;
        font-size: 0.95rem;
        font-weight: 700;
        color: #0f172a;
    }

    .link-editor-subsection-note {
        margin: 0 0 0.9rem;
        color: #64748b;
        font-size: 0.8rem;
    }

    .link-editor-pane-note {
        margin: -0.15rem 0 1rem;
        color: #64748b;
        font-size: 0.86rem;
    }

    .link-editor-body .form-group label {
        font-weight: 600;
        color: #334155;
        margin-bottom: 0.35rem;
    }

    .link-editor-body .form-control,
    .link-editor-body .select2-container--default .select2-selection--single,
    .link-editor-body .select2-container--default .select2-selection--multiple {
        border-radius: 10px;
    }

    .link-editor-body .is-invalid,
    .link-editor-body .select2-container.is-invalid .select2-selection {
        border-color: #ef4444 !important;
        box-shadow: 0 0 0 0.12rem rgba(239, 68, 68, 0.12);
    }

    .link-editor-body .select2-container--default .select2-selection--single {
        min-height: 38px;
        padding-top: 4px;
    }

    .link-editor-body .select2-container--default .select2-selection--multiple {
        min-height: 38px;
    }

    .link-editor-inline-help {
        display: block;
        margin-top: 0.35rem;
        color: #64748b;
        font-size: 0.78rem;
    }

    .link-editor-poc-row {
        border: 1px dashed #cbd5e1;
        border-radius: 12px;
        padding: 0.85rem 0.85rem 0.1rem;
        margin-bottom: 0.9rem;
        background: #fff;
    }

    .link-editor-footer {
        position: sticky;
        bottom: 0;
        z-index: 5;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.75rem;
        flex-wrap: wrap;
        margin: 1rem -1.25rem -1.25rem;
        padding: 1rem 1.25rem;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(8px);
        border-top: 1px solid #e2e8f0;
    }

    .link-editor-footer-note {
        color: #64748b;
        font-size: 0.82rem;
    }

    .link-editor-footer-actions {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        margin-left: auto;
    }

    .link-editor-tab-error-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 18px;
        height: 18px;
        padding: 0 6px;
        margin-left: 0.45rem;
        border-radius: 999px;
        background: #ef4444;
        color: #fff;
        font-size: 0.7rem;
        font-weight: 700;
        line-height: 1;
    }

    .link-editor-map-actions {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        flex-wrap: wrap;
    }

    .link-editor-map-grid {
        display: grid;
        gap: 1rem;
        grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
        align-items: start;
    }

    .link-editor-map-canvas {
        width: 100%;
        min-height: 420px;
        border-radius: 14px;
        border: 1px solid #dbe4f0;
        overflow: hidden;
        background: #e2e8f0;
    }

    .link-editor-map-sidebar {
        border: 1px solid #e2e8f0;
        border-radius: 14px;
        padding: 1rem;
        background: #f8fafc;
    }

    .link-editor-map-sidebar h6 {
        margin-bottom: 0.35rem;
        font-weight: 700;
        color: #0f172a;
    }

    .link-editor-map-sidebar p {
        color: #64748b;
        font-size: 0.83rem;
        margin-bottom: 0.85rem;
    }

    .link-editor-coordinate-preview {
        display: grid;
        gap: 0.75rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-bottom: 1rem;
    }

    .link-editor-coordinate-box {
        border: 1px solid #dbe4f0;
        border-radius: 12px;
        background: #fff;
        padding: 0.75rem 0.85rem;
    }

    .link-editor-coordinate-box span {
        display: block;
        font-size: 0.72rem;
        font-weight: 700;
        color: #64748b;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        margin-bottom: 0.2rem;
    }

    .link-editor-coordinate-box strong {
        display: block;
        color: #0f172a;
        word-break: break-word;
    }

    .link-editor-map-status {
        min-height: 20px;
        color: #475569;
        font-size: 0.82rem;
        margin-bottom: 0.85rem;
    }

    .link-editor-map-zoom-controls {
        position: absolute;
        top: 12px;
        left: 12px;
        z-index: 500;
        display: inline-flex;
        align-items: center;
        overflow: hidden;
        border-radius: 999px;
        box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
        background: rgba(15, 23, 42, 0.9);
    }

    .link-editor-map-zoom-btn,
    .link-editor-map-zoom-badge {
        border: 0;
        background: transparent;
        color: #fff;
        font-size: 0.78rem;
        font-weight: 700;
        height: 34px;
        line-height: 34px;
    }

    .link-editor-map-zoom-btn {
        width: 34px;
        cursor: pointer;
    }

    .link-editor-map-zoom-btn:hover {
        background: rgba(255,255,255,0.12);
    }

    .link-editor-map-zoom-badge {
        min-width: 78px;
        padding: 0 0.7rem;
        text-align: center;
        border-left: 1px solid rgba(255,255,255,0.12);
        border-right: 1px solid rgba(255,255,255,0.12);
        pointer-events: none;
    }

    @media (max-width: 991.98px) {
        .link-editor-map-grid {
            grid-template-columns: 1fr;
        }

        .link-editor-map-canvas {
            min-height: 320px;
        }
    }

    @media (max-width: 991.98px) {
        .link-editor-progress-steps {
            grid-template-columns: 1fr;
        }

        .link-editor-footer {
            position: static;
            margin-left: 0;
            margin-right: 0;
            margin-bottom: 0;
            padding-left: 0;
            padding-right: 0;
            background: transparent;
            backdrop-filter: none;
            border-top: 0;
        }
    }
    .leaflet-container {
        font: inherit;
    }

/* Corporate links listing shared styles */
    #links-page .dt_table tr td,
    #links-page .dt_table tr th {
        vertical-align: middle;
    }

    #links-page .dt_table .table-img {
        width: 40px;
        height: 40px;
        object-fit: cover;
    }

    #links-page .corp-datatable thead th {
        position: sticky;
        top: 0;
        z-index: 3;
    }

    #links-page .corp-datatable th:first-child,
    #links-page .corp-datatable td:first-child {
        position: sticky;
        left: 0;
        z-index: 2;
        background: #fff;
        box-shadow: 1px 0 0 rgba(15, 23, 42, 0.08);
    }

    #links-page .corp-datatable thead th:first-child {
        z-index: 4;
        background: #f8fafc;
    }

    #links-page .corp-datatable td:nth-child(2) a {
        font-weight: 600;
    }

    #links-page .link-name-stack {
        min-width: 0;
        line-height: 1.25;
    }

    #links-page .link-name-stack strong,
    #links-page .link-name-stack a {
        font-weight: 600;
        word-break: break-word;
    }

    #links-page .link-name-stack small {
        word-break: break-word;
    }

    #links-page .links-bw-mismatch {
        background: #fff5f5;
        border: 1px solid #f5c2c7;
        border-radius: 8px;
        padding: 6px 8px;
    }

    #links-page .links-bw-mismatch small,
    #links-page .links-bw-mismatch .links-bw-mismatch-label {
        color: #b42318 !important;
    }

    #links-page .links-filter-strip {
        gap: 7px;
        flex-wrap: nowrap;
        overflow-x: visible;
        align-items: center;
    }

    #links-page .links-filter-group,
    #links-page .links-filter-group-city {
        gap: 5px;
        flex: 0 1 auto;
        min-width: 0;
    }

    #links-page .links-filter-group-label {
        font-size: 9px;
        letter-spacing: .03em;
    }

    #links-page .links-filter-chips {
        gap: 5px;
        min-width: 0;
    }

    #links-page .links-filter-chip {
        padding: 0.43rem 0.7rem;
        font-size: 0.76rem;
    }

    #links-page #reset_button.sap-mini-btn {
        width: 34px;
        min-width: 34px;
        height: 34px;
        min-height: 34px;
        padding: 0.35rem;
    }

    #links-page #city_id {
        min-width: 118px;
        max-width: 148px;
    }

    #links-page .links-header-city-select {
        min-width: 118px;
        max-width: 148px;
    }

    #links-page .links-page-heading-actions {
        gap: 6px;
    }

/* Global DataTable width behavior */
    .corp-table-shell {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: visible;
    }

    .corp-table-shell #laravel_datatable_wrapper,
    .corp-table-shell .dataTables_wrapper {
        width: 100%;
        max-width: 100%;
    }

    .corp-datatable,
    #laravel_datatable {
        width: 100% !important;
        table-layout: auto;
    }

    .corp-datatable th,
    .corp-datatable td,
    #laravel_datatable th,
    #laravel_datatable td {
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .corp-datatable th:first-child,
    .corp-datatable td:first-child,
    .corp-datatable th:last-child,
    .corp-datatable td:last-child,
    .corp-datatable .badge,
    .corp-datatable .btn {
        white-space: nowrap;
    }

/* Corporate IP pool profile shared styles */
    .select2-container { width: 100% !important }
    .value_td { vertical-align: middle !important; padding-top: 0 !important; padding-bottom: 0 !important }
    #ip-pool-profile-page .profile-detail-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 14px;
    }
    #ip-pool-profile-page .profile-detail-card {
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 14px;
        background: #f8fafc;
        min-height: 100%;
    }
    #ip-pool-profile-page .profile-detail-label {
        display: block;
        margin-bottom: 6px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .04em;
        color: #64748b;
    }
    #ip-pool-profile-page .profile-detail-value {
        color: #0f172a;
        word-break: break-word;
    }

/* Client portal transactions popup shared styles */
    /* Styles for the popup overlay */
    .popup-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        justify-content: center;
        align-items: center;
        z-index: 1000;
        overflow-y: scroll;
    }

    /* Styles for the popup content */
    .popup-content {
        position: relative;
        max-width: 80%;
        max-height: 80%;
    }

    /* Styles for the image */
    .popup-content img {
        width: 100%;
        height: auto;
    }

    /* Styles for the close button */
    .popup-close {
        position: absolute;
        top: 10px;
        right: 10px;
        background: #fff;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        z-index: 1001;
    }

/* Client portal add transaction popup shared styles */
    /* Styles for the popup overlay */
    .popup-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        justify-content: center;
        align-items: center;
        z-index: 1000;
        overflow-y:scroll;
    }

    /* Styles for the popup content */
    .popup-content {
        position: relative;
        max-width: 80%;
        max-height: 80%;
    }

    /* Styles for the image */
    .popup-content img {
        width: 100%;
        height: auto;
    }

    /* Styles for the close button */
    .popup-close {
        position: absolute;
        top: 10px;
        right: 10px;
        background: #fff;
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        z-index: 1001;
    }

/* Corporate IP pool listing shared styles */
    #ippool-page .ippool-link-cell {
        vertical-align: middle !important;
    }
    #ippool-page .ippool-link-cell .ippool-stack {
        justify-content: center;
        min-height: 100%;
    }
    #ippool-page .ippool-stack {
        display: flex;
        flex-direction: column;
        gap: .3rem;
    }
    #ippool-page .ippool-stack strong a {
        color: #0f172a;
        text-decoration: none;
    }
    #ippool-page .ippool-stack strong a:hover {
        color: #2563eb;
        text-decoration: underline;
    }
    #ippool-page .ippool-meta-line {
        color: #64748b;
        font-size: .85rem;
    }
    #ippool-page .ippool-range-box {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 6px 8px;
    }

/* Client portal profile table shared styles */
    .table-dark {
        color: #6c757d;
        --bs-table-color: #6c757d;
        --bs-table-bg: transparent;
        --bs-table-accent-bg: transparent;
        --bs-table-striped-color: #6c757d;
        --bs-table-striped-bg: #f3f7f9;
        --bs-table-active-color: #6c757d;
        --bs-table-active-bg: #f3f7f9;
        --bs-table-hover-color: #6c757d;
        --bs-table-hover-bg: #f3f7f9;
        --bs-table-border-color: #dee2e6;
        --bs-table-group-separator-color: #dee2e6;
        --bs-table-caption-color: #98a6ad;
    }

    tbody,
    td,
    tfoot,
    th,
    thead,
    tr {
        border-color: #e2e2e2;
    }

/* Corporate customers listing shared styles */
    #customers-page .customer-name-stack {
        min-width: 0;
        line-height: 1.25;
    }

    #customers-page .customer-name-stack strong,
    #customers-page .customer-name-stack a,
    #customers-page .customer-name-stack small {
        word-break: break-word;
    }
