/* Live DotVVM control styling aligned to the AlexStyles reference screenshots. */

:root {
    --az-dotvvm-border: #e6eefb;
    --az-dotvvm-border-strong: #b0caf4;
    --az-dotvvm-primary: #2068df;
    --az-dotvvm-overlay: rgba(85, 85, 85, 0.9);
    --az-dotvvm-surface: #ffffff;
    --az-dotvvm-surface-muted: #e9f0fc;
    --az-dotvvm-text: #1f2940;
    --az-dotvvm-text-muted: #6a7488;
    --az-dotvvm-radius: 8px;
}

/* Shared utilities */
.z-index-toast {
    z-index: 1080;
}

.toast-progress-shell {
    width: 40px;
}

.max-width-460 {
    max-width: 460px;
}

.max-width-760 {
    max-width: 760px;
}

.max-width-820 {
    max-width: 820px;
}

.max-width-900 {
    max-width: 900px;
}

.max-width-980 {
    max-width: 980px;
}

.max-width-1080 {
    max-width: 1080px;
}

.max-width-220-full {
    max-width: 220px;
    width: 100%;
}

.max-height-60vh {
    max-height: 60vh;
}

.min-width-16rem {
    min-width: 16rem;
}

.min-width-18rem {
    min-width: 18rem;
}

.width-3rem {
    width: 3rem;
}

.width-5rem {
    width: 5rem;
}

.width-8rem {
    width: 8rem;
}

.width-9rem {
    width: 9rem;
}

.width-10rem {
    width: 10rem;
}

.width-12rem {
    width: 12rem;
}

.width-16rem {
    width: 16rem;
}

.width-auto {
    width: auto;
}

.height-200 {
    height: 200px;
}

.payment-frame {
    display: block;
    min-height: 720px;
}

.pre-line {
    white-space: pre-line;
}

.pre-wrap {
    white-space: pre-wrap;
}

.object-fit-cover {
    object-fit: cover;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-default {
    cursor: default;
}

.icon-max-16 {
    max-width: 16px;
}

.hosted-terrain-thumb {
    width: 7rem;
    height: 5rem;
}

.admin-side-menu-desktop {
    width: 20em;
}

.admin-menu-offcanvas {
    --bs-offcanvas-width: 20rem;
}

.price-on-request {
    font-size: 1.7rem;
}

/* Search and common controls */
.search_box {
    align-items: center;
    gap: 0.75rem;
}

    .search_box > .wrapper {
        flex: 0 1 auto;
    }

.search-bar {
    margin-right: -45px;
    width: 25em;
    height: 3.5rem;
    min-height: 3.5rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.az-search-popout {
    flex: 0 1 26rem;
    width: min(100%, 26rem);
    min-height: 3.5rem;
}

.az-search-box {
    position: relative;
    width: 100%;
    height: 3.5rem;
    min-height: 3.5rem;
    gap: 0 !important;
    align-items: stretch;
    flex-wrap: nowrap;
    overflow: hidden;
    border: 1px solid #d6dce6;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(31, 41, 64, 0.08);
}

    .az-search-box:focus-within {
        border-color: #c7cfdb;
        box-shadow: 0 0 0 3px rgba(32, 104, 223, 0.08);
    }

.az-search-input {
    width: 100%;
    min-width: 0;
    margin-right: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0.8rem 4rem 0.8rem 1.25rem;
    color: var(--az-dotvvm-text);
    font-size: 1rem;
}

    .az-search-input::placeholder {
        color: #6d778b;
        opacity: 1;
    }

    .az-search-input:focus {
        box-shadow: none !important;
    }

.az-search-button {
    position: absolute;
    top: 50%;
    right: 0.55rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    flex: 0 0 auto;
    width: 2.6rem;
    min-width: 2.6rem;
    min-height: 2.6rem;
    height: 2.6rem;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #1a1a1a !important;
    box-shadow: none !important;
    padding: 0 !important;
}

    .az-search-button:hover,
    .az-search-button:focus {
        background: #f1f3f4 !important;
        color: #1a1a1a !important;
        box-shadow: none !important;
    }

    .az-search-button i {
        font-size: 1.35rem;
    }

.az-search-launcher,
.dataset-search-launcher {
    flex: 0 0 auto;
}

.map-toolbar-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
}

    .map-toolbar-actions > .wrapper,
    .map-toolbar-actions > .az-search-popout {
        min-width: 0;
    }

    .map-toolbar-actions > .btn.rounded-circle {
        width: 3.5rem;
        min-width: 3.5rem;
        height: 3.5rem;
        min-height: 3.5rem;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 3.5rem;
    }

    .map-toolbar-actions .map-search-popout {
        flex: 1 1 22rem;
        max-width: 26rem;
        margin-right: 0.1rem;
    }

.maxWidth-5 {
    max-width: 5em;
}

.list-sticky-shell {
    margin-bottom: 0.85rem;
    background: #fff;
}

    .list-sticky-shell > * {
        position: relative;
        z-index: 1;
    }

.list-toolbar-shell {
    padding: 0.85rem 0.5rem;
}

.list-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.list-toolbar__start,
.list-toolbar__end,
.list-toolbar__filters,
.list-toolbar__chips,
.list-pager,
.list-sort-group,
.list-view-toggle-group,
.list-filter-panel-row,
.list-filter-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.list-toolbar__start {
    flex: 1 1 18rem;
    min-width: 0;
}

.list-toolbar__end {
    justify-content: flex-end;
    gap: 0.75rem;
    flex: 1 1 32rem;
}

.list-toolbar__filters,
.list-toolbar__chips {
    gap: 0.55rem;
}

.list-filter-trigger,
.list-clear-filters,
.list-filter-option,
.list-sort-option,
.list-pager-button,
.list-view-toggle,
.list-filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.25rem;
    padding: 0.45rem 0.85rem;
    border: 1px solid #d7e1f0;
    border-radius: 999px;
    background: #fff;
    color: var(--az-dotvvm-text);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
    margin-top: 0.2rem;
}

    .list-filter-trigger:hover,
    .list-clear-filters:hover,
    .list-filter-option:hover,
    .list-sort-option:hover,
    .list-pager-button:hover,
    .list-view-toggle:hover,
    .list-filter-chip:hover,
    .list-filter-trigger:focus,
    .list-clear-filters:focus,
    .list-filter-option:focus,
    .list-sort-option:focus,
    .list-pager-button:focus,
    .list-view-toggle:focus,
    .list-filter-chip:focus {
        color: var(--az-dotvvm-text);
        border-color: #bfd0ea;
        background: #f8fbff;
        box-shadow: none;
        text-decoration: none;
    }

.list-filter-trigger-active,
.list-filter-option-active,
.list-sort-option-active,
.list-view-toggle-active {
    border-color: rgba(32, 104, 223, 0.25);
    background: rgba(32, 104, 223, 0.1);
    color: var(--az-dotvvm-primary);
}

.list-filter-trigger i,
.list-sort-option i,
.list-view-toggle i,
.list-filter-chip i {
    font-size: 0.95rem;
}

.list-clear-filters {
    border-style: dashed;
    color: var(--az-dotvvm-text-muted);
}

.list-filter-chip {
    padding-right: 0.7rem;
}

.list-pager {
    gap: 0.5rem;
}

.list-pager-status {
    min-width: 7.5rem;
    padding: 0 0.1rem;
    text-align: center;
    color: var(--az-dotvvm-text);
    font-size: 0.92rem;
    font-weight: 700;
}

.list-pager-jump {
    position: relative;
}

.list-pager-status-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 999px;
    transition: background-color 0.2s ease, color 0.2s ease;
    list-style: none;
}

    .list-pager-status-button::-webkit-details-marker {
        display: none;
    }

    .list-pager-jump[open] .list-pager-status-button,
    .list-pager-status-button:hover,
    .list-pager-status-button:focus {
        background: #f8fbff;
    }

.list-pager-jump-panel {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 50%;
    z-index: 5;
    transform: translateX(-50%);
    padding: 0.65rem;
    border: 1px solid var(--az-dotvvm-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(31, 41, 64, 0.12);
}

.list-pager-jump-inner {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.list-pager-jump-input {
    width: 5.25rem;
    min-height: 2.25rem;
    border: 1px solid #d7e1f0;
    border-radius: 999px;
    text-align: center;
    font-size: 0.92rem;
    font-weight: 700;
}

.list-pager-jump-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(32, 104, 223, 0.18);
    border-radius: 999px;
    background: rgba(32, 104, 223, 0.1);
    color: var(--az-dotvvm-primary);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

    .list-pager-jump-submit:hover,
    .list-pager-jump-submit:focus {
        color: var(--az-dotvvm-primary);
        border-color: rgba(32, 104, 223, 0.28);
        background: rgba(32, 104, 223, 0.14);
        text-decoration: none;
    }

.list-pager-status-mobile,
.list-pager-label-mobile {
    display: none;
}

.list-pager-button-disabled,
.list-pager-button[aria-disabled="true"],
.list-pager-button:disabled {
    opacity: 0.45;
    pointer-events: none;
}

.list-toolbar-page-size-wrap {
    display: flex;
    align-items: center;
}

.list-toolbar-page-size,
.list-toolbar-page-size.form-select,
.list-toolbar-page-size .dotvvm-bp-combo-box-select,
.list-toolbar-page-size .dotvvm-bp-text-box,
.list-toolbar-page-size.dotvvm-bp-control {
    min-height: 2.25rem;
    border-radius: 999px;
    font-size: 0.92rem;
}

    .list-toolbar-page-size.form-select {
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
        padding-left: 0.85rem;
    }

    .list-toolbar-page-size .dotvvm-bp-combo-box-select,
    .list-toolbar-page-size .dotvvm-bp-text-box {
        border-radius: 999px !important;
    }

.azimap-bp-connected-combo-open,
.azimap-bp-connected-combo-open.round-corners,
.azimap-bp-connected-combo-open.list-toolbar-page-size,
.azimap-bp-connected-combo-open .round-corners,
.azimap-bp-connected-combo-open .dotvvm-bp-combo-box,
.azimap-bp-connected-combo-open .dotvvm-bp-combo-box-select,
.azimap-bp-connected-combo-open .dotvvm-bp-text-box,
.azimap-bp-connected-combo-open .dotvvm-bp-primitive_input {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.dotvvm-bp-primitive_popup.azimap-bp-connected-combo-popup {
    background: #fff !important;
    border: 1px solid #dbe3ea !important;
    border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 0 0 14px 14px !important;
    box-shadow: 0 18px 40px rgba(19, 52, 77, 0.18) !important;
    margin-top: -1px !important;
    overflow: hidden auto !important;
}

.list-sort-group,
.list-view-toggle-group {
    gap: 0.45rem;
}

.list-view-toggle {
    width: 2.35rem;
    min-width: 2.35rem;
    padding: 0;
}

.list-filter-panel {
    display: grid;
    gap: 0.9rem;
    margin-top: 0.85rem;
    padding: 0.9rem 0.95rem;
    border: 1px solid var(--az-dotvvm-border);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.list-filter-panel-row {
    gap: 1rem;
    align-items: flex-start;
}

.list-filter-group {
    gap: 0.45rem;
    row-gap: 0.7rem;
}

.list-filter-options {
    display: flex;
    flex: 1 1 18rem;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 0.45rem;
    min-width: 0;
}

.list-filter-group-label {
    margin-right: 0.2rem;
    color: var(--az-dotvvm-text-muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.list-filter-select {
    min-width: 10rem;
    width: auto;
}

/* Map list / grid overlays */
.map-card {
    position: relative;
    border-color: var(--az-dotvvm-border);
    background: var(--az-dotvvm-surface);
    box-shadow: none;
    overflow: hidden;
    isolation: isolate;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

    .map-card:hover,
    .map-card:focus-within {
        transform: none;
        box-shadow: none;
        border-color: var(--az-dotvvm-border-strong);
    }

    .map-card::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        opacity: 0;
        pointer-events: none;
        background: rgba(85, 85, 85, 0.60);
        transition: opacity 0.2s ease;
    }

    .map-card:hover::after,
    .map-card:focus-within::after,
    .map-card-actions-open::after {
        opacity: 1;
    }

.map-card-list {
    padding: 0.85rem 1rem !important;
    background: #fff;
}

.map-card-grid {
    --map-card-grid-media-ratio: 16 / 10;
    --map-card-grid-body-min-height: 11.75rem;
    --map-card-grid-meta-min-height: 3.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 !important;
    background: #fff;
}

    .map-card-grid::after {
        display: none;
    }

.map-card-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-card-grid .map-card-media {
    flex: 0 0 auto;
    min-height: 0;
}

.map-overlay,
.grid-map-overlay {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
}

    .map-overlay::before,
    .grid-map-overlay::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        opacity: 0;
        background: transparent;
        pointer-events: none;
        transition: opacity 0.25s ease;
    }

.map-card-grid .grid-map-overlay::before {
    background: rgba(85, 85, 85, 0.88);
}

.map-card:hover .map-overlay::before,
.map-card:hover .grid-map-overlay::before,
.map-card:focus-within .map-overlay::before,
.map-card:focus-within .grid-map-overlay::before,
.map-card-actions-open.map-overlay::before,
.map-card-actions-open .grid-map-overlay::before {
    opacity: 1;
}

.grid-map-overlay {
    border-radius: var(--az-dotvvm-radius) var(--az-dotvvm-radius) 0 0;
}

.map-card-actions {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.map-card > .map-card-actions {
    display: block;
    gap: 0;
    flex-wrap: nowrap;
    margin-top: 0;
    justify-content: initial;
}

.map-card-grid .map-card-actions {
    inset: 0 0 auto 0;
    height: auto;
    aspect-ratio: var(--map-card-grid-media-ratio);
}

.map-card-media-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    overflow: hidden;
    background: #f6f8fc;
}

.map-card-grid .map-card-media-shell {
    height: auto;
    min-height: 0;
    aspect-ratio: var(--map-card-grid-media-ratio);
}

    .map-card-media-shell img {
        position: absolute;
        inset: 0;
        z-index: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

        .map-card-media-shell img.map-card-media-placeholder {
            object-fit: contain;
            padding: 1.5rem;
        }

.map-preview-debug-badge {
    position: absolute;
    left: 0.5rem;
    bottom: 0.5rem;
    z-index: 4;
    display: none;
    max-width: calc(100% - 1rem);
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.88);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    box-shadow: 0 0.25rem 0.75rem rgba(15, 23, 42, 0.24);
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html[data-map-preview-debug="true"] .map-preview-debug-badge {
    display: inline-flex;
    align-items: center;
}

.map-preview-debug-badge.is-queued,
.map-preview-debug-badge.is-polling {
    background: rgba(29, 78, 216, 0.92);
}

.map-preview-debug-badge.is-ready {
    background: rgba(22, 101, 52, 0.92);
}

.map-preview-debug-badge.is-failed,
.map-preview-debug-badge.is-timed-out {
    background: rgba(185, 28, 28, 0.94);
}

.map-preview-debug-badge.is-skipped {
    background: rgba(146, 64, 14, 0.92);
}

.map-preview-debug-badge.is-candidate,
.map-preview-debug-badge.is-watching {
    background: rgba(67, 56, 202, 0.9);
}

html[data-map-preview-debug="true"] [data-map-preview="true"][data-preview-debug-state] {
    outline: 2px solid transparent;
    outline-offset: -2px;
}

html[data-map-preview-debug="true"] [data-map-preview="true"][data-preview-debug-state="queued"],
html[data-map-preview-debug="true"] [data-map-preview="true"][data-preview-debug-state="polling"] {
    outline-color: rgba(29, 78, 216, 0.8);
}

html[data-map-preview-debug="true"] [data-map-preview="true"][data-preview-debug-state="ready"] {
    outline-color: rgba(22, 101, 52, 0.8);
}

html[data-map-preview-debug="true"] [data-map-preview="true"][data-preview-debug-state="failed"],
html[data-map-preview-debug="true"] [data-map-preview="true"][data-preview-debug-state="timed-out"] {
    outline-color: rgba(185, 28, 28, 0.85);
}

html[data-map-preview-debug="true"] [data-map-preview="true"][data-preview-debug-state="skipped"] {
    outline-color: rgba(146, 64, 14, 0.8);
}

.map-card-media-shell .map-card-view-grid {
    inset: 0;
}

.map-card-checkbox,
.map-card-menu,
.map-card-view {
    pointer-events: auto;
}

.map-card-view {
    pointer-events: none;
}

.map-card-grid .card-body,
.map-card-list > .d-flex.justify-content-between {
    position: relative;
    z-index: 0;
}

.map-card-checkbox,
.map-card-menu {
    position: absolute;
    top: 1rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.map-card-checkbox {
    left: 1rem;
    z-index: 3;
}

    .map-card-checkbox input {
        accent-color: var(--az-dotvvm-primary);
        transform: scale(1.25);
        cursor: pointer;
    }

.map-card-menu {
    position: absolute;
    right: 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 2rem;
    min-height: 2rem;
    z-index: 3;
    overflow: visible;
}

.map-card-view {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.map-card-view-list {
    inset: 0;
}

.map-card-view-grid {
    inset: 0;
}

.map-card:hover .map-card-checkbox,
.map-card:hover .map-card-menu,
.map-card:hover .map-card-view,
.map-card:focus-within .map-card-checkbox,
.map-card:focus-within .map-card-menu,
.map-card:focus-within .map-card-view,
.map-card-actions-open .map-card-checkbox,
.map-card-actions-open .map-card-menu,
.map-card-actions-open .map-card-view,
.map-card-menu-active {
    opacity: 1;
}

.hover-control {
    opacity: 0;
}

.map-card-view .btn-hover-azimap {
    min-width: 8.5rem;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    pointer-events: auto;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.map-card-view-list .btn-hover-azimap {
    background: #fff;
    border-color: #fff;
    color: #2b3038;
}

.map-card:hover .map-card-view .btn-hover-azimap,
.map-card:focus-within .map-card-view .btn-hover-azimap,
.map-card-actions-open .map-card-view .btn-hover-azimap {
    background: #fff;
    border-color: #fff;
    color: #2b3038;
}

.map-menu-toggle,
.map-action-rail-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    text-decoration: none;
    box-shadow: none;
}

.map-menu-toggle {
    position: relative;
    z-index: 5;
}

    .map-menu-toggle:hover,
    .map-menu-toggle:focus-visible,
    .map-action-rail-button:hover,
    .map-action-rail-button:focus {
        color: #fff;
        background: transparent;
        outline: none;
    }

    .map-menu-toggle i,
    .map-action-rail-button i {
        font-size: 1.25rem;
    }

.map-action-rail {
    position: absolute;
    top: 50%;
    right: calc(100% + 0.75rem);
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.6rem;
    padding-top: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    white-space: nowrap;
}

.map-action-rail-button-danger {
    color: #fff;
}

.map-action-rail-button-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.map-card-grid .map-card-menu {
    width: auto;
    min-width: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.55rem;
    z-index: 4;
}

.map-card-grid .map-action-rail {
    position: absolute;
    top: 0;
    right: 0;
    transform: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(2rem, 2rem));
    grid-auto-rows: 2rem;
    justify-items: center;
    align-items: center;
    gap: 0.45rem;
    width: calc((2rem * 4) + (0.45rem * 3));
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    white-space: normal;
    overflow: visible;
}

.map-card-grid .map-action-rail-button {
    min-width: 2rem;
    min-height: 2rem;
    border-radius: 0;
    background: transparent;
}

.map-card-grid .map-action-rail-button-copy {
    grid-column: 4;
    grid-row: 2;
}

.map-card-grid .map-action-rail-button-delete {
    grid-column: 4;
    grid-row: 3;
}

    .map-card-grid .map-action-rail-button:hover,
    .map-card-grid .map-action-rail-button:focus {
        background: transparent;
    }

.map-card-grid.map-card-actions-open .map-card-view-grid {
    align-items: center;
    padding-bottom: 0;
}

.map-inline-action {
    display: none;
}

.dataset-toolbar {
    gap: 1rem;
}

.dataset-sort-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .dataset-sort-links .active {
        text-decoration: underline;
    }

.dataset-card {
    position: relative;
}

.dataset-card-media {
    min-height: 12.5rem;
}

.dataset-list-icon {
    min-width: 4rem;
}

.dataset-grid-icon-shell {
    display: flex;
    height: 100%;
    min-height: 12.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    background: radial-gradient(circle at top, rgba(230, 238, 251, 0.95), rgba(255, 255, 255, 0.85)), linear-gradient(180deg, #f6f9ff 0%, #eef4fd 100%);
}

.dataset-grid-icon {
    width: auto;
    max-width: 4.5rem;
    max-height: 4.5rem;
}

.dataset-import-strip,
.dataset-card-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.dataset-inline-link {
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
}

    .dataset-inline-link:hover,
    .dataset-inline-link:focus {
        text-decoration: underline;
    }

.dataset-inline-action {
    display: none;
}

@media (min-width: 992px) {
    .dataset-inline-action {
        display: inline-flex;
        margin-left: 1rem;
    }
}

@media (max-width: 991.98px) {

    .dataset-toolbar,
    .dataset-sort-links {
        flex-wrap: wrap;
    }
}

.list-img {
    width: 15em;
    height: 10em;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 0;
    background: transparent;
}

    .list-img img,
    .map-card-media img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center center;
    }

.map-card-grid-body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1 0 auto;
    min-height: var(--map-card-grid-body-min-height);
    min-width: 0;
    padding: 1rem 1rem 0.85rem;
    background: #fff;
}

.grid-card-summary {
    display: grid;
    gap: 0.5rem;
    min-width: 0;
    margin: 0;
}

.grid-card-summary-toggle {
    width: 100%;
    display: grid;
    gap: 0.3rem;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: left;
    color: inherit;
    box-shadow: none;
    cursor: pointer;
}

    .grid-card-summary-toggle:hover,
    .grid-card-summary-toggle:focus {
        background: transparent;
        color: inherit;
    }

    .grid-card-summary-toggle:focus-visible {
        outline: 2px solid rgba(32, 104, 223, 0.35);
        outline-offset: 0.18rem;
    }

.grid-card-summary-title,
.grid-card-summary-description {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    margin: 0;
}

.grid-card-summary-title {
    line-height: 1.35;
}

.grid-card-summary-description {
    line-height: 1.45;
}

.grid-card-summary-expanded .grid-card-summary-title,
.grid-card-summary-expanded .grid-card-summary-description {
    margin: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.map-card-grid-meta {
    margin-top: auto;
    min-height: var(--map-card-grid-meta-min-height);
    display: flex;
    align-items: flex-end;
}

.map-card-grid-meta-row {
    gap: 0.85rem;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.map-card-grid-stat {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.95rem;
    line-height: 1.2;
    white-space: nowrap;
}

    .map-card-grid-stat i {
        font-size: 0.95em;
    }

.map-card-grid-stat-time {
    margin-left: auto;
    text-align: right;
}

.map-grid-list {
    align-items: stretch;
}

    .map-grid-list > [class*="col-"] {
        display: flex;
    }

    .map-grid-list .map-card-grid {
        width: 100%;
    }

.dataset-grid-background,
.dataset-list-background {
    background-color: ghostwhite;
}

.dataset-grid-background {
    height: 6rem;
    border-radius: var(--az-dotvvm-radius) var(--az-dotvvm-radius) 0 0;
}

.dataset-grid-background-large {
    height: 12rem;
}

.dataset-list-background {
    height: auto;
}

.top-0-7 {
    top: 0.7em !important;
}

/* Shared DotVVM control primitives */
.az-modal-header,
.az-modal-header-row,
.create-map-modal-header,
.create-dataset-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: nowrap;
    width: 100%;
}

.az-modal-title {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
    flex: 1 1 auto;
}

.az-modal-heading,
.az-modal-heading-stack {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.az-modal-title h2,
.az-modal-title h3,
.az-modal-title h4,
.az-modal-title p {
    margin: 0;
}

.az-modal-kicker,
.create-dataset-modal-kicker {
    color: #2f6d8f;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.az-modal-heading-title,
.create-dataset-modal-title {
    margin: 0;
    color: #173248;
    line-height: 1.15;
}

.az-modal-actions,
.create-dataset-modal-header-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
    min-width: 0;
    flex: 0 0 auto;
    margin-left: auto;
    flex-wrap: nowrap;
}

.az-modal-actions .btn,
.create-dataset-modal-header-actions .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

.az-modal-actions > .btn-close,
.create-dataset-close {
    flex: 0 0 auto;
}

.az-step,
.add-map-step {
    padding: 0.5rem 0 0;
}

.az-step-frame,
.add-map-step-frame {
    min-height: 0;
    max-height: none;
    flex: 1 1 auto;
}

.az-step-surface,
.add-map-surface {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.az-step-surface-wide,
.add-map-surface-wide {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.az-step-header,
.add-map-step-header,
.create-dataset-step-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.az-step-title,
.add-map-step-title,
.create-dataset-step-title {
    margin: 0;
    color: #173248;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
}

.az-step-copy,
.add-map-step-copy,
.create-dataset-step-copy,
.map-privacy-copy {
    margin: 0.25rem 0 0;
    max-width: 58rem;
    color: #55697a;
    line-height: 1.45;
}

.az-step-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
}

.az-step-panel,
.create-dataset-step-panel {
    border: 1px solid #dbe3ea;
    border-radius: 16px;
    padding: 1rem;
    background: #fafcfe;
}

.az-form-grid,
.add-map-form-grid,
.create-dataset-form-grid {
    display: grid;
    gap: 0.8rem;
}

.az-field,
.add-map-field,
.create-dataset-field {
    display: grid;
    gap: 0.45rem;
}

.az-label,
.add-map-label,
.add-map-mini-label,
.create-dataset-label {
    color: #173248;
    font-weight: 700;
}

.az-label,
.add-map-label {
    font-size: 1rem;
}

.add-map-mini-label {
    font-size: 0.95rem;
    text-transform: uppercase;
}

.az-input,
.az-textarea,
.az-select,
.add-map-input,
.add-map-textarea,
.create-dataset-input,
.create-dataset-textarea,
.create-dataset-select,
.edit-map-field-control {
    border-width: 2px;
    min-height: 2.85rem;
    width: 100%;
    font-size: 0.95rem;
}

.az-input,
.az-textarea,
.add-map-input,
.add-map-textarea {
    max-width: 42rem;
}

.az-textarea,
.add-map-textarea,
.edit-map-textarea {
    min-height: 5.75rem;
}

.az-toolbar,
.add-map-toolbar,
.add-map-function-toolbar,
.add-map-footer,
.create-dataset-footer {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.az-action-row,
.map-privacy-inline-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.az-action-row-start,
.add-map-toolbar-left,
.add-map-function-actions,
.add-map-footer-left,
.create-dataset-footer-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.az-action-row-end,
.add-map-footer-right,
.create-dataset-footer-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.az-action-row-end,
.add-map-footer-right,
.create-dataset-footer-right {
    margin-left: auto;
    justify-content: flex-end;
}

.az-status-message,
.add-map-validation-message,
.create-dataset-status {
    margin-top: 0.25rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: #fff1f1;
    color: #8b2f2f;
    line-height: 1.45;
}

.az-choice-card,
.add-map-tool-card,
.create-dataset-choice-card,
.map-privacy-choice-card {
    border: 1px solid #dbe3ea;
    border-radius: 16px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, transform 0.15s ease;
}

.az-choice-card-clickable,
.create-dataset-choice-card-clickable,
.map-privacy-choice-card-clickable {
    cursor: pointer;
}

.az-choice-card-selected,
.create-dataset-choice-card-selected,
.map-privacy-choice-card-selected,
.add-map-tool-card-selected {
    border-color: var(--az-dotvvm-primary);
    background: #f6fbfe;
    box-shadow: 0 0 0 2px rgba(49, 147, 197, 0.12);
}

.az-choice-card-disabled,
.create-dataset-choice-card-disabled,
.map-privacy-choice-card-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.az-checkbox-card-list,
.layer-settings-checkbox-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
}

.az-checkbox-card-list .az-checkbox-card,
.layer-settings-checkbox-list .layer-settings-checkbox {
    flex: 1 1 9.5rem;
}

.az-checkbox-card-list.az-checkbox-card-list-compact .az-checkbox-card,
.layer-settings-checkbox-list-compact .layer-settings-checkbox {
    flex: 0 0 auto;
}

.az-checkbox-card,
.layer-settings-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 3rem;
    padding: 0.75rem 1rem;
    border: 1px solid #d7e1eb;
    border-radius: 18px;
    background: #fff;
    color: #173248;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.az-checkbox-card:hover,
.layer-settings-checkbox:hover {
    border-color: #bfd0ea;
    background: #f8fbff;
}

.az-checkbox-card:focus-within,
.layer-settings-checkbox:focus-within {
    border-color: var(--az-dotvvm-primary);
    background: #f8fbff;
    box-shadow: 0 0 0 3px rgba(32, 104, 223, 0.12);
}

.az-checkbox-card input[type="checkbox"],
.layer-settings-checkbox input[type="checkbox"] {
    width: 1.15rem;
    height: 1.15rem;
    min-width: 1.15rem;
    min-height: 1.15rem;
    margin: 0;
    accent-color: var(--az-dotvvm-primary);
    cursor: pointer;
    flex: 0 0 auto;
}

.az-checkbox-card input[type="checkbox"]:disabled,
.layer-settings-checkbox input[type="checkbox"]:disabled {
    cursor: default;
    opacity: 0.65;
}

.az-checkbox-card span,
.layer-settings-checkbox span {
    line-height: 1.2;
}

/* Add map layout */
.add-map-control-shell {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
}

    .add-map-control-shell > .dotvvm-bp-tab-control,
    .add-map-control-shell > .add-map-wizard {
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
    }

    .add-map-control-shell .dotvvm-bp-tab-control_content {
        flex: 1 1 auto;
        min-height: 0;
    }

.add-map-step-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: visible;
    padding-right: 0.15rem;
    overscroll-behavior: contain;
}

.add-map-step-header-actions {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 0.75rem;
    flex: 0 0 auto;
}

.add-map-mini-label {
    font-size: 0.95rem;
    text-transform: uppercase;
}

.add-map-tab-label {
    font-size: 1.05rem;
    line-height: 1.1;
}

.add-map-advanced {
    display: grid;
    gap: 0.45rem;
}

.add-map-advanced-toggle {
    display: inline-flex;
    align-items: center;
}

.add-map-projection-panel {
    display: grid;
    gap: 0.55rem;
    width: 100%;
    max-width: 42rem;
}

.projection-picker {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: 100%;
}

.projection-picker .dotvvm-bp-primitive_input,
.projection-picker .dotvvm-bp-primitive_popup {
    width: 100%;
}

    .projection-picker.dotvvm-bp-control,
    .projection-picker .dotvvm-bp-combo-box-select,
    .projection-picker .dotvvm-bp-text-box {
        min-height: 2.85rem;
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
    }

    .projection-picker.azimap-bp-connected-combo-open,
    .projection-picker.azimap-connected-combo-open,
    .projection-picker.azimap-bp-connected-combo-open .dotvvm-bp-combo-box,
    .projection-picker.azimap-bp-connected-combo-open .dotvvm-bp-combo-box-select,
    .projection-picker.azimap-bp-connected-combo-open .dotvvm-bp-text-box,
    .projection-picker.azimap-connected-combo-open .dotvvm-bp-combo-box,
    .projection-picker.azimap-connected-combo-open .dotvvm-bp-combo-box-select,
    .projection-picker.azimap-connected-combo-open .dotvvm-bp-text-box {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .projection-picker.dotvvm-bp-primitive_picker .dotvvm-bp-primitive_popup,
    .projection-picker .dotvvm-bp-primitive_popup {
        width: 100% !important;
        max-height: 14rem !important;
        z-index: 1200 !important;
        background: #fff !important;
        box-shadow: 0 18px 40px rgba(19, 52, 77, 0.18) !important;
        border: 1px solid #dbe3ea !important;
        border-radius: 14px !important;
        overflow-y: auto !important;
    }

    .dotvvm-bp-primitive_popup.azimap-bp-connected-combo-popup,
    .dotvvm-bp-primitive_popup.azimap-projection-picker-popup {
        background: #fff !important;
        border: 1px solid #dbe3ea !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-radius: 0 0 14px 14px !important;
        box-shadow: 0 18px 40px rgba(19, 52, 77, 0.18) !important;
        margin-top: -1px !important;
        overflow: hidden auto !important;
    }

    .projection-picker .dotvvm-bp-text-box::placeholder {
        font-size: 1rem;
    }



.add-map-toolbar-search {
    flex: 0 0 auto;
    min-width: 0;
    margin-left: 0;
}

.add-map-toolbar-search-open {
    flex: 1 1 auto;
    justify-content: flex-end;
}

.add-map-search-popout {
    flex: 1 1 auto;
    width: 100%;
    max-width: 22rem;
    min-width: 0;
}

.add-map-toolbar-right {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    flex: 1 1 auto;
    min-width: 0;
}

.add-map-show-select {
    min-width: 5rem;
}

.add-map-list-toolbar-shell {
    position: relative;
    z-index: 2;
    margin-top: 0.75rem;
    overflow-x: visible;
    background: #fff;
}

.add-map-toolbar {
    align-items: center;
    flex-wrap: nowrap;
}

.add-map-toolbar-left {
    flex: 0 0 auto;
    min-width: 0;
    flex-wrap: nowrap;
}

.add-map-sort-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e7edf3;
}

.add-map-selected-dataset-order {
    position: relative;
    z-index: 1;
    clear: both;
    margin-top: 0.85rem;
    margin-bottom: 1.8rem;
}

.add-map-selected-layers {
    display: grid;
    gap: 0.6rem;
    padding-top: 0.2rem;
}

.add-map-selected-layers-title {
    margin-bottom: 0.1rem;
}

.add-map-dataset-list {
    display: grid;
    gap: 0.6rem;
}

.add-map-dataset-wrap {
    padding: 0;
}

.add-map-dataset-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border: 1px solid #d7e1f0;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    box-shadow: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

    .add-map-dataset-card:hover {
        transform: none;
        box-shadow: none;
        border-color: #bfd0ea;
        background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    }

.add-map-dataset-card-selected {
    border-color: var(--az-dotvvm-primary);
    background: linear-gradient(180deg, rgba(32, 104, 223, 0.08) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.add-map-selected-layer-card[draggable="true"] {
    cursor: grab;
}

.add-map-selected-layer-card[draggable="true"]:active {
    cursor: grabbing;
}

.add-map-dataset-main {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0.75rem;
    cursor: pointer;
}

.add-map-selected-layer-main {
    cursor: grab;
}

.add-map-selected-layer-handle {
    margin: 0;
}

.add-map-dataset-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 2rem;
    margin-right: 0.75rem;
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(185, 28, 28, 0.25);
    border-radius: 999px;
    background: #fff;
    color: #b91c1c;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
}

    .add-map-dataset-remove:hover,
    .add-map-dataset-remove:focus-visible {
        background: rgba(185, 28, 28, 0.08);
        border-color: rgba(185, 28, 28, 0.4);
        color: #991b1b;
    }

.add-map-dataset-check {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--az-dotvvm-primary);
    font-size: 1.25rem;
}

.add-map-dataset-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.dataset-card-thumb-shell.add-map-dataset-thumb-shell {
    width: 3.25rem;
    min-width: 3.25rem;
    min-height: 3.25rem;
    border-radius: 1rem;
    padding: 0.45rem;
}

.dataset-card-geometry-icon.add-map-dataset-thumb-icon {
    width: 1.95rem;
    height: 1.95rem;
    max-width: 1.95rem;
    max-height: 1.95rem;
}

.add-map-dataset-body {
    display: grid;
    gap: 0.25rem;
    min-width: 0;
}

.add-map-dataset-topline,
.add-map-dataset-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.45rem 0.75rem;
    flex-wrap: wrap;
    color: #6b7280;
    font-size: 0.82rem;
}

.add-map-dataset-id {
    color: var(--az-dotvvm-primary);
    font-weight: 700;
}

.add-map-dataset-type {
    font-weight: 700;
}

.add-map-dataset-title {
    color: var(--az-dotvvm-text);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.2;
    word-break: break-word;
}

.add-map-dataset-description {
    color: #6b7280;
    font-size: 0.84rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.add-map-tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 0.85rem;
    align-content: start;
}

.add-map-tool-grid-item {
    min-width: 0;
}

.add-map-tool-card {
    height: 100%;
    display: grid;
    gap: 0.7rem;
    padding: 1rem;
    border-radius: var(--az-dotvvm-radius);
    box-shadow: none;
    color: var(--az-dotvvm-text-muted);
    transition: border-color 0.2s ease;
}

    .add-map-tool-card:hover {
        transform: none;
        box-shadow: none;
        border-color: var(--az-dotvvm-border-strong);
    }

.add-map-tool-card-selected {
    background: var(--az-dotvvm-surface-muted);
}

.add-map-tool-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.add-map-tool-icon {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: transparent;
    color: var(--az-dotvvm-text);
    font-size: 1.45rem;
}

.add-map-tool-title {
    color: var(--az-dotvvm-text);
    font-size: 1.1rem;
    font-weight: 700;
}

.add-map-tool-title-wrap {
    padding-top: 0.15rem;
}

.add-map-tool-body {
    display: grid;
    gap: 0.4rem;
    padding-top: 0.2rem;
}

.add-map-tool-description {
    color: var(--az-dotvvm-text);
    font-size: 0.95rem;
    line-height: 1.35;
}

.add-map-tool-subline,
.add-map-tool-summary-text,
.add-map-footer-note {
    color: var(--az-dotvvm-text-muted);
    font-size: 0.9rem;
    line-height: 1.35;
}

.add-map-tool-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 1 1 18rem;
    text-align: right;
}

.add-map-footer {
    margin-top: auto;
    align-items: center;
}

.add-map-footer-panel {
    width: 100%;
    justify-content: space-between;
}

.add-map-footer-sticky {
    position: static;
    padding-top: 0.85rem;
    padding-bottom: 0.15rem;
}

.add-map-footer-note {
    flex: 1 1 16rem;
    font-size: 0.95rem;
}

/* BusinessPack tab styling */
#create-map .dotvvm-bp-tab_nav-item.dotvvm-bp-state_active,
#edit-map-modal .dotvvm-bp-tab_nav-item.dotvvm-bp-state_active {
    border-bottom: 4px solid var(--az-dotvvm-primary);
    color: var(--az-dotvvm-primary);
}

#create-map .dotvvm-bp-tab-control_nav,
#edit-map-modal .dotvvm-bp-tab-control_nav {
    border-bottom: 3px solid var(--az-dotvvm-border-strong);
}

#create-map-modal .dotvvm-bp-control,
#edit-map-modal .dotvvm-bp-control {
    white-space: normal;
}

#addLayerSettings .modal-dialog,
#layerSettings .modal-dialog,
#attributeConfig .modal-dialog {
    max-height: calc(100vh - 2rem);
}

#addLayerSettings .modal-content,
#layerSettings .modal-content,
#attributeConfig .modal-content {
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#edit-map-modal .modal-dialog {
    max-height: calc(100vh - 5rem);
}

#edit-map-modal .modal-content {
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#edit-map-modal .modal-header,
#addLayerSettings .modal-header,
#layerSettings .modal-header,
#attributeConfig .modal-header {
    flex: 0 0 auto;
}

#edit-map-modal .modal-header,
#addLayerSettings .modal-header,
#layerSettings .modal-header,
#attributeConfig .modal-header {
    padding: 1rem 1.5rem 0.85rem;
}

#edit-map-modal .modal-header > *,
#addLayerSettings .modal-header > *,
#layerSettings .modal-header > *,
#attributeConfig .modal-header > * {
    width: 100%;
}

#edit-map-modal .modal-body,
#addLayerSettings .modal-body,
#layerSettings .modal-body,
#attributeConfig .modal-body {
    min-height: 0;
    overflow: hidden;
    padding: 0;
}

#edit-map-modal contenttemplate {
    display: block;
    min-height: 0;
}

#edit-map-modal contenttemplate > div[renderwrappertag="false"] {
    display: block;
    min-height: 0;
}

#addLayerSettings contenttemplate,
#layerSettings contenttemplate,
#attributeConfig contenttemplate,
#addLayerSettings contenttemplate > div[renderwrappertag="false"],
#layerSettings contenttemplate > div[renderwrappertag="false"],
#attributeConfig contenttemplate > div[renderwrappertag="false"] {
    display: block;
    min-height: 0;
}

#addLayerSettings .layer-settings-modal-body,
#layerSettings .layer-settings-modal-body,
#attributeConfig .attribute-config-modal-body {
    min-height: 0;
    max-height: calc(100vh - 10rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

#edit-map-modal .modal-content,
#edit-map-modal .modal-body,
#edit-map-modal contenttemplate,
#edit-map-modal contenttemplate > div[renderwrappertag="false"],
#edit-map-modal .edit-map-modal-body,
#edit-map-modal .edit-map-scroll-area,
#edit-map-modal .dotvvm-bp-tab-control,
#edit-map-modal .dotvvm-bp-tab-control_content,
#edit-map-modal .dotvvm-bp-tab-control_item,
#create-map .dotvvm-bp-tab-control_item {
    min-height: 0;
}

.create-map-modal-header {
    padding: 0;
}

.create-map-modal-heading {
    min-width: 0;
}

.create-map-modal-kicker {
    margin: 0;
    color: #2f6d8f;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

#edit-map-modal .edit-map-modal-body {
    padding: 0 1.5rem 0.95rem;
}

#edit-map-modal .edit-map-scroll-area {
    max-height: calc(100vh - 8rem);
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 0.25rem;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

#edit-map-modal .dotvvm-bp-tab-control {
    display: block;
}

#edit-map-modal .dotvvm-bp-tab-control_content {
    min-height: 0;
}

#edit-map-modal .edit-map-tab-panel {
    min-height: 0;
}

.edit-map-field-control {
    font-size: 0.95rem;
    min-height: 2.85rem;
}

.edit-map-textarea {
    min-height: 5.75rem;
}

#create-map .dotvvm-bp-text-box input,
#create-map .dotvvm-bp-combo-box input,
#edit-map-modal .dotvvm-bp-text-box input,
#edit-map-modal .dotvvm-bp-combo-box input {
    font-size: 0.95rem;
}

#edit-map-modal {
    --edit-map-surface: #ffffff;
    --edit-map-surface-alt: #f8fbff;
    --edit-map-border: #dbe5f1;
    --edit-map-border-strong: #c7d4e3;
    --edit-map-text: #17324d;
    --edit-map-text-muted: #5d7287;
    --edit-map-row-hover: rgba(44, 110, 215, 0.05);
}

.edit-map-modal-stack-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1065;
    display: none;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(1px);
}

    .edit-map-modal-stack-backdrop.show {
        display: block;
    }

#edit-map-modal.edit-map-stacked-parent-modal .modal-dialog {
    pointer-events: none;
}

#edit-map-modal.edit-map-stacked-parent-modal .modal-content {
    box-shadow: 0 1.5rem 3rem rgba(15, 23, 42, 0.16);
}

.edit-map-stacked-child-modal {
    z-index: 1070;
}

    .edit-map-stacked-child-modal .modal-dialog {
        max-height: calc(100vh - 1rem);
    }

    .edit-map-stacked-child-modal .modal-content {
        max-height: calc(100vh - 1rem);
        overflow: hidden;
    }

    #edit-map-modal .dotvvm-bp-tab-control_nav {
        position: sticky;
        top: 0;
        z-index: 6;
        margin-bottom: 0.65rem;
        padding-top: 0.45rem;
        padding-bottom: 0.35rem;
        background: var(--edit-map-surface);
        border-bottom: 3px solid var(--az-dotvvm-border-strong);
    }

    #edit-map-modal .dotvvm-bp-tab-control_item {
        min-height: 0;
    }

    #edit-map-modal .edit-map-scroll-area .dotvvm-bp-tab-control_item .text-uppercase.fs-4 {
        font-size: 1rem !important;
        line-height: 1.2;
        letter-spacing: 0.02em;
    }

    #edit-map-modal .edit-map-scroll-area .bold.fs-2 {
        font-size: 0.92rem !important;
        line-height: 1.35;
        color: var(--edit-map-text-muted);
    }

    #edit-map-modal .edit-map-scroll-area .fs-3 {
        font-size: 0.95rem !important;
        line-height: 1.35;
        color: var(--edit-map-text);
    }

    #edit-map-modal .edit-map-scroll-area .fs-4.p-08 {
        font-size: 0.95rem !important;
        line-height: 1;
    }

@media (max-width: 991.98px) {
    .edit-map-stacked-child-modal .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100vw - 1rem);
    }

    .edit-map-stacked-child-modal .modal-content {
        max-height: calc(100vh - 1rem);
    }
}

    #edit-map-modal .container-fluid.mt-3 {
        padding-left: 0;
        padding-right: 0;
    }

        #edit-map-modal .container-fluid.mt-3 > .row {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
            gap: 0.9rem;
            margin: 0;
        }

            #edit-map-modal .container-fluid.mt-3 > .row > [class*="col-"] {
                width: auto;
                max-width: none;
                padding-left: 0;
                padding-right: 0;
            }

                #edit-map-modal .container-fluid.mt-3 > .row > [class*="col-"] > div {
                    height: 100%;
                    display: flex;
                    flex-direction: column;
                    gap: 0.5rem;
                    padding: 1rem 1rem 0.85rem;
                    background: var(--edit-map-surface-alt);
                    border: 1px solid var(--edit-map-border);
                    border-radius: 1rem;
                    box-shadow: 0 0.5rem 1.5rem rgba(22, 46, 71, 0.04);
                }

                    #edit-map-modal .container-fluid.mt-3 > .row > [class*="col-"] > div > hr {
                        margin-top: auto;
                        border-color: rgba(199, 212, 227, 0.65);
                    }

                    #edit-map-modal .container-fluid.mt-3 > .row > [class*="col-"] > div .d-flex.pb-1 {
                        gap: 0.65rem;
                        align-items: center !important;
                    }

                        #edit-map-modal .container-fluid.mt-3 > .row > [class*="col-"] > div .d-flex.pb-1 .me-2 {
                            margin-right: 0.1rem !important;
                        }

                        #edit-map-modal .container-fluid.mt-3 > .row > [class*="col-"] > div .d-flex.pb-1 span {
                            word-break: break-word;
                        }

    #edit-map-modal .edit-map-layer-table {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

        #edit-map-modal .edit-map-layer-table > table {
            width: max-content;
            min-width: 100%;
            border-collapse: collapse;
            background: transparent;
        }

            #edit-map-modal .edit-map-layer-table > table thead th {
                padding: 0.85rem 0.65rem;
                border-bottom: 1px solid var(--edit-map-border-strong);
                color: var(--edit-map-text-muted);
                font-size: 0.78rem;
                font-weight: 700;
                letter-spacing: 0.05em;
                text-transform: uppercase;
                white-space: nowrap;
            }

            #edit-map-modal .edit-map-layer-table > table tbody tr {
                transition: background-color 120ms ease;
                background: rgba(255, 255, 255, 0.98);
            }

                #edit-map-modal .edit-map-layer-table > table tbody tr:nth-child(odd) {
                    background: rgba(244, 248, 253, 0.98);
                }

                #edit-map-modal .edit-map-layer-table > table tbody tr:nth-child(even) {
                    background: rgba(255, 255, 255, 0.98);
                }

                #edit-map-modal .edit-map-layer-table > table tbody tr:hover {
                    background: var(--edit-map-row-hover);
                }

            #edit-map-modal .edit-map-layer-table > table tbody td {
                padding: 1rem 0.65rem;
                border-bottom: 1px solid rgba(203, 216, 232, 0.95);
                vertical-align: middle;
                color: var(--edit-map-text);
                font-size: 0.94rem;
            }

                #edit-map-modal .edit-map-layer-table > table tbody td:first-child,
                #edit-map-modal .edit-map-layer-table > table thead th:first-child {
                    width: 4rem;
                    text-align: center;
                }

                #edit-map-modal .edit-map-layer-table > table tbody td:nth-child(4),
                #edit-map-modal .edit-map-layer-table > table tbody td:nth-child(5),
                #edit-map-modal .edit-map-layer-table > table tbody td:nth-child(6),
                #edit-map-modal .edit-map-layer-table > table thead th:nth-child(4),
                #edit-map-modal .edit-map-layer-table > table thead th:nth-child(5),
                #edit-map-modal .edit-map-layer-table > table thead th:nth-child(6) {
                    width: 5.6rem;
                    text-align: center;
                }

                #edit-map-modal .edit-map-layer-table > table tbody td:nth-child(2),
                #edit-map-modal .edit-map-layer-table > table tbody td:nth-child(3) {
                    min-width: 10rem;
                }

                #edit-map-modal .edit-map-layer-table > table tbody td:nth-child(3),
                #edit-map-modal .edit-map-layer-table > table tbody td:nth-child(4) {
                    white-space: normal;
                    overflow-wrap: anywhere;
                    word-break: break-word;
                    line-height: 1.25;
                }

            #edit-map-modal .edit-map-layer-table > table img {
                width: 1.35rem;
                height: 1.35rem;
                object-fit: contain;
            }

            #edit-map-modal .edit-map-layer-table > table input[type="checkbox"],
            #edit-map-modal .edit-map-layer-card input[type="checkbox"],
            #edit-map-modal .edit-map-layer-checkbox {
                width: 1.1rem;
                height: 1.1rem;
                min-width: 1.1rem;
                min-height: 1.1rem;
                margin: 0;
                vertical-align: middle;
                accent-color: var(--az-dotvvm-primary);
                cursor: pointer;
            }

                #edit-map-modal .edit-map-layer-table > table input[type="checkbox"]:disabled,
                #edit-map-modal .edit-map-layer-card input[type="checkbox"]:disabled,
                #edit-map-modal .edit-map-layer-checkbox:disabled {
                    opacity: 1;
                    cursor: default;
                }

            #edit-map-modal .edit-map-layer-table > table tbody td:nth-child(4) label,
            #edit-map-modal .edit-map-layer-table > table tbody td:nth-child(5) label,
            #edit-map-modal .edit-map-layer-table > table tbody td:nth-child(6) label {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                margin: 0;
            }

            #edit-map-modal .edit-map-layer-table > table tbody td:last-child {
                text-align: right;
            }

    #edit-map-modal .edit-map-list-pager {
        margin-left: 0.15rem;
    }

    #edit-map-modal .edit-map-search-box {
        gap: 0.35rem;
    }

    #edit-map-modal .edit-map-search-clear {
        color: var(--edit-map-text-muted);
    }

    #edit-map-modal .edit-map-layer-table {
        margin-top: 0.25rem;
    }

    #edit-map-modal .edit-map-layer-action-stack {
        display: inline-flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 0.45rem;
    }

    #edit-map-modal button.edit-map-layer-inline-action,
    #edit-map-modal .edit-map-layer-inline-action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        min-height: 2.15rem;
        padding: 0.45rem 0.8rem;
        border: 1px solid var(--edit-map-border-strong);
        border-radius: 999px;
        background: #fff;
        color: var(--edit-map-text);
        font-size: 0.84rem;
        font-weight: 600;
        line-height: 1;
        box-shadow: none;
        text-decoration: none;
        appearance: none;
        -webkit-appearance: none;
        cursor: pointer;
        transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
    }

        #edit-map-modal button.edit-map-layer-inline-action:hover,
        #edit-map-modal button.edit-map-layer-inline-action:focus-visible,
        #edit-map-modal .edit-map-layer-inline-action:hover,
        #edit-map-modal .edit-map-layer-inline-action:focus-visible {
            background: rgba(44, 110, 215, 0.08);
            border-color: rgba(44, 110, 215, 0.35);
            color: var(--az-dotvvm-primary);
        }

        #edit-map-modal .edit-map-layer-inline-action i {
            font-size: 0.88rem;
        }

    #edit-map-modal .edit-map-layer-inline-action-danger {
        border-color: rgba(185, 28, 28, 0.25);
        color: #b91c1c;
    }

        #edit-map-modal button.edit-map-layer-inline-action-danger:hover,
        #edit-map-modal button.edit-map-layer-inline-action-danger:focus-visible,
        #edit-map-modal .edit-map-layer-inline-action-danger:hover,
        #edit-map-modal .edit-map-layer-inline-action-danger:focus-visible {
            background: rgba(185, 28, 28, 0.08);
            border-color: rgba(185, 28, 28, 0.4);
            color: #991b1b;
        }

    #edit-map-modal .edit-map-layer-card-list {
        display: flex;
        flex-direction: column;
        gap: 0.85rem;
        margin-top: 1rem;
    }

    #edit-map-modal .edit-map-layer-card {
        padding: 1rem;
        border: 1px solid var(--edit-map-border);
        border-radius: 1rem;
        background: var(--edit-map-surface-alt);
        box-shadow: 0 0.5rem 1.5rem rgba(22, 46, 71, 0.05);
    }

    #edit-map-modal .edit-map-layer-card-header {
        display: flex;
        gap: 0.8rem;
        align-items: center;
    }

    #edit-map-modal .edit-map-layer-card-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.75rem;
        height: 2.75rem;
        border-radius: 0.9rem;
        background: #fff;
        border: 1px solid var(--edit-map-border);
    }

        #edit-map-modal .edit-map-layer-card-icon img {
            width: 1.45rem;
            height: 1.45rem;
            object-fit: contain;
        }

    #edit-map-modal .edit-map-layer-card-copy {
        min-width: 0;
    }

    #edit-map-modal .edit-map-layer-card-title {
        font-size: 1rem;
        font-weight: 700;
        color: var(--edit-map-text);
        line-height: 1.2;
    }

    #edit-map-modal .edit-map-layer-card-subtitle {
        margin-top: 0.2rem;
        color: var(--edit-map-text-muted);
        font-size: 0.86rem;
        line-height: 1.3;
        word-break: break-word;
    }

    #edit-map-modal .edit-map-layer-card-flags {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.65rem;
        margin-top: 0.9rem;
    }

    #edit-map-modal .edit-map-layer-card-flag {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.65rem;
        padding: 0.7rem 0.8rem;
        border-radius: 0.85rem;
        border: 1px solid var(--edit-map-border);
        background: #fff;
        color: var(--edit-map-text);
        font-size: 0.84rem;
        font-weight: 600;
    }

        #edit-map-modal .edit-map-layer-card-flag span {
            line-height: 1.2;
        }

    #edit-map-modal .edit-map-layer-card-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.55rem;
        margin-top: 0.9rem;
    }

    #edit-map-modal .edit-map-row-actions,
    #edit-map-modal .edit-map-row-action-trigger,
    #edit-map-modal .edit-map-row-actions button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    #edit-map-modal .edit-map-row-action-trigger,
    #edit-map-modal .edit-map-scroll-area [data-bs-toggle="dropdown"] {
        width: 2.25rem;
        height: 2.25rem;
        padding: 0;
        border-radius: 999px;
        border: 1px solid transparent;
        background: transparent;
        color: var(--edit-map-text-muted);
    }

        #edit-map-modal .edit-map-row-action-trigger:hover,
        #edit-map-modal .edit-map-row-action-trigger:focus-visible,
        #edit-map-modal .edit-map-scroll-area [data-bs-toggle="dropdown"]:hover,
        #edit-map-modal .edit-map-scroll-area [data-bs-toggle="dropdown"]:focus-visible {
            background: rgba(44, 110, 215, 0.08);
            border-color: rgba(44, 110, 215, 0.15);
            color: var(--az-dotvvm-primary);
            box-shadow: none;
        }

        #edit-map-modal .edit-map-row-action-trigger::after,
        #edit-map-modal .dropdown-toggle::after,
        #edit-map-modal .edit-map-scroll-area [data-bs-toggle="dropdown"]::after {
            display: none;
        }

    #edit-map-modal .dropdown-menu,
    #edit-map-modal .edit-map-layer-action-menu {
        min-width: 13rem;
        padding: 0.4rem;
        border: 1px solid var(--edit-map-border-strong);
        border-radius: 0.95rem;
        box-shadow: 0 1rem 2.5rem rgba(19, 37, 58, 0.12);
    }

    #edit-map-modal .dropdown-item,
    #edit-map-modal .edit-map-layer-action-item {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        padding: 0.62rem 0.75rem;
        border-radius: 0.7rem;
        color: var(--edit-map-text);
        font-size: 0.92rem;
        white-space: nowrap;
    }

        #edit-map-modal .dropdown-item:hover,
        #edit-map-modal .dropdown-item:focus,
        #edit-map-modal .edit-map-layer-action-item:hover,
        #edit-map-modal .edit-map-layer-action-item:focus {
            background: rgba(44, 110, 215, 0.08);
            color: var(--az-dotvvm-primary);
        }

@media (max-width: 991.98px) {
    #create-map-modal .create-map-modal-header,
    #create-map-modal .create-map-modal-body,
    #edit-map-modal .edit-map-modal-body {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (max-width: 767.98px) {
    #edit-map-modal .edit-map-list-pager {
        width: 100%;
        justify-content: space-between;
    }

    #edit-map-modal .edit-map-layer-card-flags {
        grid-template-columns: 1fr;
    }

    #edit-map-modal .edit-map-layer-card-actions {
        flex-direction: column;
    }

    #edit-map-modal .edit-map-layer-inline-action {
        width: 100%;
    }
}

#create-map.dotvvm-bp-primitive_picker .dotvvm-bp-primitive_popup {
    max-height: var(--bp-popup_max-height);
    overflow: auto;
    font-size: 0.95rem;
}

.multiSelectSelector,
.multiSelectSelector.dotvvm-bp-primitive_picker,
.multiSelectSelector .dotvvm-bp-primitive_input,
.multiSelectSelector .dotvvm-bp-primitive_popup {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
}

.dotvvm-bp-list-view .dotvvm-bp-primitive_item {
    font-size: 0.95rem;
}

#create-map-modal .modal-dialog {
    max-height: calc(100vh - 2rem);
}

#create-map-modal .modal-content {
    max-height: calc(100vh - 2rem);
    overflow: hidden;
}

#create-map-modal .modal-body {
    padding: 0;
}

#create-map-modal contenttemplate,
#create-map-modal footertemplate {
    display: block;
}

.create-map-modal-body {
    padding: 0 1.5rem 1rem;
}

#create-map-modal .add-map-step-frame {
    max-height: calc(100vh - 18rem);
    overflow-y: auto;
}

.create-map-modal-footer {
    display: flex;
    width: 100%;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem 1rem;
    border-top: 1px solid #e3eaf4;
    background: #fff;
}

.create-map-modal-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-left: auto;
    flex-wrap: nowrap;
}

/* Edit modal layout helpers */
#edit-map-modal table {
    width: 100%;
    background-color: transparent;
}

.max-h-77v,
.max-h-78v {
    overflow: auto;
}

.max-h-77v {
    max-height: 77vh;
    height: 77vh;
}

.max-h-78v {
    max-height: 78vh;
    height: 78vh;
}

@media (max-width: 767px) {
    #addLayerSettings .modal-dialog,
    #layerSettings .modal-dialog,
    #attributeConfig .modal-dialog,
    #addLayerSettings .modal-content,
    #layerSettings .modal-content,
    #attributeConfig .modal-content {
        max-height: calc(100vh - 1rem);
    }

    #addLayerSettings .layer-settings-modal-body,
    #layerSettings .layer-settings-modal-body,
    #attributeConfig .attribute-config-modal-body {
        max-height: calc(100vh - 9rem);
    }

    #edit-map-modal .modal-dialog,
    #edit-map-modal .modal-content {
        max-height: calc(100vh - 1rem);
    }

    #edit-map-modal .edit-map-scroll-area {
        max-height: calc(100vh - 7rem);
    }
}

@media (max-width: 1199.98px) {
    .add-map-tool-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .list-sticky-shell {
        position: static;
        margin-bottom: 0.65rem;
    }

    .search_box {
        flex-wrap: wrap;
    }

        .search_box > .wrapper {
            min-width: 100%;
        }

    .search-bar {
        margin-right: 0;
        width: 100%;
    }

    .az-search-popout,
    .dataset-search-popout {
        width: min(100%, 24rem);
    }

    .az-search-box {
        flex-wrap: nowrap;
    }

    .list-img {
        width: 100%;
        max-width: none;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .map-card-list {
        padding: 0.85rem;
    }

        .map-card-list > .d-flex.justify-content-between,
        .map-card-list .hoverParent {
            flex-direction: column;
            gap: 1rem;
        }

        .map-card-list .d-flex.align-items-end,
        .map-card-list .fw-bold.text-black-50.d-flex.align-items-end {
            width: 100%;
        }

    .add-map-step {
        padding-top: 0.5rem;
    }

    .add-map-surface-wide {
        min-height: auto;
    }

    .add-map-toolbar-left,
    .add-map-function-toolbar,
    .add-map-footer {
        width: 100%;
    }

    .create-map-modal-header-actions {
        width: auto;
        justify-content: flex-end;
        margin-left: auto;
        flex-wrap: wrap;
    }

    .add-map-step-header {
        flex-direction: column;
    }

    .add-map-step-header-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .add-map-tool-summary {
        justify-content: flex-start;
        text-align: left;
    }

    .add-map-footer-panel,
    .add-map-footer-left,
    .add-map-footer-right {
        width: 100%;
    }

    .add-map-footer-right {
        margin-left: 0;
        justify-content: flex-end;
    }

    .add-map-toolbar-search {
        width: 100%;
    }

    .add-map-dataset-main {
        grid-template-columns: auto auto minmax(0, 1fr);
        align-items: flex-start;
        gap: 0.55rem;
        padding: 0.5rem 0.625rem;
    }

    .dataset-card-thumb-shell.add-map-dataset-thumb-shell {
        width: 2.75rem;
        min-width: 2.75rem;
        min-height: 2.75rem;
        border-radius: 0.9rem;
        padding: 0.38rem;
    }

    .dataset-card-geometry-icon.add-map-dataset-thumb-icon {
        width: 1.6rem;
        height: 1.6rem;
        max-width: 1.6rem;
        max-height: 1.6rem;
    }

    .add-map-dataset-meta {
        gap: 0.35rem 0.6rem;
    }

    .add-map-tool-grid {
        grid-template-columns: 1fr;
    }

    .add-map-tool-summary {
        justify-content: flex-start;
        text-align: left;
    }
}

@media (min-width: 992px) {
    .list-sticky-shell {
        position: sticky;
        top: 0;
        z-index: 12;
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
        box-shadow: none;
    }

        .list-sticky-shell .list-filter-panel,
        .list-sticky-shell .list-toolbar-shell,
        .list-sticky-shell > .d-flex {
            background: #fff;
        }
}

@media (max-width: 991.98px) and (hover: none), (max-width: 991.98px) and (pointer: coarse) {

    .map-overlay::before,
    .grid-map-overlay::before {
        opacity: 0 !important;
    }

    .map-card-checkbox,
    .map-card-menu {
        opacity: 1;
    }

    .map-card-view {
        display: none;
    }

    .map-card-list .map-menu-toggle,
    .map-card-list .map-action-rail-button {
        color: #555;
    }

    .map-card-list .map-action-rail {
        position: static;
        transform: none;
        flex-direction: row;
        gap: 0.4rem;
    }

    .map-card-grid .map-card-view {
        display: flex;
    }

    .map-inline-action {
        display: block;
    }
}

/* Dataset list */
.dataset-toolbar-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
}

    .dataset-toolbar-actions > .wrapper,
    .dataset-toolbar-actions > .az-search-popout {
        min-width: 0;
    }

    .dataset-toolbar-actions > .btn.rounded-circle {
        width: 3.5rem;
        min-width: 3.5rem;
        height: 3.5rem;
        min-height: 3.5rem;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 3.5rem;
    }

    .dataset-toolbar-actions .dataset-search-popout {
        flex: 1 1 22rem;
        max-width: 26rem;
    }

.dataset-card {
    position: relative;
    border-color: var(--az-dotvvm-border);
    background: var(--az-dotvvm-surface);
    box-shadow: none;
    transition: border-color 0.2s ease;
}

    .dataset-card:hover,
    .dataset-card:focus-within {
        border-color: var(--az-dotvvm-border-strong);
    }

.dataset-card-list {
    padding: 1rem 1.1rem;
}

.dataset-card-grid {
    height: 100%;
    overflow: hidden;
}

    .dataset-card-grid::after {
        display: none;
    }

.dataset-grid-top {
    position: relative;
    height: 13rem;
    background: radial-gradient(circle at top left, rgba(32, 104, 223, 0.12), transparent 46%), linear-gradient(180deg, #f7fbff 0%, #eef4ff 100%);
}

    .dataset-grid-top::before {
        background: rgba(85, 85, 85, 0.88);
    }

.dataset-card-grid .map-card-actions {
    inset: 0 0 auto 0;
    height: 13rem;
}

.dataset-card-main {
    min-width: 0;
}

.dataset-card-layout {
    gap: 1rem;
}

.dataset-card-thumb {
    flex: 0 0 auto;
}

.dataset-card-thumb-shell {
    width: 6rem;
    min-width: 6rem;
    min-height: 6rem;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 35% 35%, rgba(32, 104, 223, 0.16), transparent 44%), linear-gradient(180deg, #f7fbff 0%, #eaf1ff 100%);
    border: 1px solid var(--az-dotvvm-border);
}

.dataset-card-thumb-shell-grid {
    width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 0;
    border: 0;
    background: radial-gradient(circle at 35% 30%, rgba(32, 104, 223, 0.18), transparent 42%), linear-gradient(180deg, #f7fbff 0%, #eaf1ff 100%);
}

.dataset-card-geometry-icon {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
}

.dataset-card-geometry-icon-grid {
    width: 4.5rem;
    height: 4.5rem;
}

.dataset-card-thumb-shell-grid .dataset-card-geometry-icon-grid {
    width: 4.5rem;
    height: 4.5rem;
    max-width: 4.5rem;
    max-height: 4.5rem;
    object-fit: contain;
    flex: 0 0 auto;
}

.dataset-card-copy {
    min-width: 0;
}

.dataset-card-title {
    line-height: 1.2;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.dataset-card-side {
    margin-left: auto;
}

.dataset-card-summary {
    width: 100%;
}

.dataset-card-summary-row {
    width: 100%;
}

.dataset-grid-body {
    display: grid;
    gap: 0.25rem;
}

.dataset-card-meta {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    padding-top: 0.8rem;
    color: var(--az-dotvvm-text-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.dataset-card-meta-grid {
    min-height: 3rem;
}

.dataset-sort-links {
    font-size: 0.95rem;
    font-weight: 700;
}

.dataset-sort-link {
    text-decoration: none;
    opacity: 0.72;
}

.dataset-sort-link-active {
    opacity: 1;
}

.dataset-sort-direction {
    opacity: 0.8;
}

.dataset-import-status {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.9rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    background: #eef3ff;
    color: var(--az-dotvvm-primary);
}

.dataset-import-status-queued {
    background: #edf5ff;
    color: #1a6fd2;
}

.dataset-import-status-running {
    background: #eefaf4;
    color: #13795b;
}

.dataset-import-status-failed {
    background: #fff1f1;
    color: #b02a37;
}

.dataset-inactive-status {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.9rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    background: #f1f3f5;
    color: #495057;
}

.dataset-import-link {
    color: inherit;
    text-decoration: underline;
}

.dataset-import-message {
    white-space: pre-wrap;
    word-break: break-word;
}

@media (max-width: 991.98px) {
    .list-toolbar {
        align-items: stretch;
    }

    .list-toolbar__end {
        justify-content: flex-start;
    }

    .list-filter-panel-row {
        flex-direction: column;
        align-items: stretch;
    }

    .dataset-card-list {
        padding: 0.9rem;
    }

        .dataset-card-layout,
        .dataset-card-list > .d-flex.justify-content-between {
            flex-direction: column;
        }

    .dataset-card-side {
        margin-left: 0;
        width: 100%;
    }

    .dataset-grid-top {
        min-height: 10rem;
    }

    .dataset-card-thumb-shell-grid {
        min-height: 10rem;
    }
}

/* Dataset authoring modal */
.create-dataset-modal .modal-dialog {
    height: calc(100vh - 2rem);
    max-height: calc(100vh - 2rem);
}

.create-dataset-modal .modal-content {
    height: 100%;
    max-height: none;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.create-dataset-modal .modal-header,
.create-dataset-modal .modal-footer {
    flex: 0 0 auto;
}

.create-dataset-modal .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.create-dataset-modal-shell {
    position: fixed;
    inset: 0;
    z-index: 1085;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    padding: 2rem 1rem;
    background: rgba(19, 52, 77, 0.42);
    backdrop-filter: blur(2px);
}

.create-dataset-modal-subtitle {
    margin: 0;
    color: #55697a;
}

.create-dataset-mode {
    margin-left: 1rem;
    color: #2f6d8f;
}

.create-dataset-status {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: #fff1f1;
    color: #8b2f2f;
}

.create-dataset-status-info {
    background: #eef8ff;
    color: #2f6d8f;
}

.create-dataset-warning-accordion {
    padding: 0;
    overflow: hidden;
}

.create-dataset-warning-accordion-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    cursor: pointer;
    list-style: none;
}

    .create-dataset-warning-accordion-summary::-webkit-details-marker {
        display: none;
    }

    .create-dataset-warning-accordion-summary::marker {
        display: none;
        content: "";
    }

    .create-dataset-warning-accordion-summary:hover {
        background: rgba(255, 255, 255, 0.35);
    }

    .create-dataset-warning-accordion-summary:focus-visible {
        outline: 2px solid #9bc8e6;
        outline-offset: -2px;
    }

.create-dataset-warning-accordion-copy {
    min-width: 0;
}

.create-dataset-warning-accordion-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.create-dataset-warning-accordion-count {
    white-space: nowrap;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #d9ecfb;
    color: #21445d;
    font-size: 0.82rem;
    font-weight: 700;
}

.create-dataset-warning-accordion-chevron {
    width: 0.75rem;
    height: 0.75rem;
    margin-top: -0.15rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    color: #2f6d8f;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.create-dataset-warning-accordion[open] .create-dataset-warning-accordion-summary {
    border-bottom: 1px solid #dbeaf5;
}

.create-dataset-warning-accordion[open] .create-dataset-warning-accordion-chevron {
    transform: rotate(-135deg);
}

.create-dataset-warning-accordion-panel {
    padding: 0 1rem 0.35rem;
}

.create-dataset-choice {
    display: grid;
    gap: 0.5rem;
}

.create-dataset-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.create-dataset-column-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}


@media (max-width: 767px) {
    .create-dataset-modal .modal-dialog {
        height: calc(100vh - 1rem);
        max-height: calc(100vh - 1rem);
    }

    .create-dataset-modal-shell {
        padding: 1rem 0.75rem;
    }

    .create-dataset-modal-card {
        padding: 1rem;
    }

    .create-dataset-modal-header,
    .create-dataset-footer,
    .create-dataset-column-row {
        flex-direction: column;
        align-items: stretch;
    }

    .create-dataset-warning-accordion-summary,
    .create-dataset-warning-accordion-meta {
        flex-wrap: wrap;
    }

    .create-dataset-warning-accordion-meta {
        width: 100%;
        justify-content: space-between;
    }
}


/* Dataset authoring modal v2 */
.create-dataset-modal-card {
    width: min(1080px, 100%);
    margin: 0 auto;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #dbe3ea;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(19, 52, 77, 0.18);
    padding: 1.75rem 1.75rem 0;
}

.create-dataset-stepper {
    margin: 1rem 0 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: #2f4454;
}

.create-dataset-step-body {
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(100vh - 18rem);
    overflow-y: auto;
    overflow-x: visible;
    padding-right: 0.15rem;
    padding-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.create-dataset-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1rem;
}

.create-dataset-choice-grid-types {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.create-dataset-choice-card {
    padding: 1.25rem 1rem;
    display: grid;
    gap: 0.75rem;
    justify-items: center;
    text-align: center;
    min-height: 17rem;
}

.create-dataset-choice-icon-shell {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.create-dataset-choice-icon {
    max-width: 64px;
    max-height: 64px;
}

.create-dataset-choice-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #173248;
}

.create-dataset-choice-copy {
    color: #55697a;
    line-height: 1.45;
}

.create-dataset-choice-caption {
    color: #36556d;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.create-dataset-choice-button {
    min-width: 8rem;
}

.create-dataset-field-wide {
    grid-column: span 2;
}

.create-dataset-derived-grid {
    display: grid;
    gap: 0.55rem;
}

.create-dataset-upload-dropzone {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1.25rem;
    min-height: 11rem;
    padding: 1.35rem;
    border: 2px dashed #b8cbe5;
    border-radius: 16px;
    background: #fff;
    color: #173248;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

    .create-dataset-upload-dropzone:hover,
    .create-dataset-upload-dropzone:focus-within {
        border-color: var(--az-dotvvm-primary);
        background: #f8fbff;
        box-shadow: 0 0 0 3px rgba(32, 104, 223, 0.1);
    }

.create-dataset-upload-dropzone-active {
    border-color: var(--az-dotvvm-primary);
    background: #eef6ff;
    box-shadow: 0 0 0 4px rgba(32, 104, 223, 0.14);
}

.create-dataset-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.create-dataset-upload-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: #e8f1ff;
    color: var(--az-dotvvm-primary);
    font-size: 2rem;
}

.create-dataset-upload-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.7rem 0.9rem;
    min-width: 0;
}

.create-dataset-upload-title {
    color: #173248;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}

.create-dataset-upload-button {
    flex: 0 0 auto;
    min-width: 8rem;
}

.create-dataset-upload-helper {
    flex-basis: 100%;
    color: #657486;
    line-height: 1.45;
}

.create-dataset-upload-helper-error {
    color: #dc3545;
}

.create-dataset-upload-progress {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
    flex-basis: 100%;
}

.create-dataset-upload-progress[hidden] {
    display: none;
}

.create-dataset-upload-progress-track {
    height: 0.65rem;
    overflow: hidden;
    border-radius: 999px;
    background: #dce8f6;
}

.create-dataset-upload-progress-bar {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: var(--az-dotvvm-primary);
    transition: width 0.15s ease-in-out;
}

.create-dataset-upload-progress-indeterminate .create-dataset-upload-progress-bar {
    width: 35%;
    animation: create-dataset-upload-progress-indeterminate 1.1s ease-in-out infinite;
}

.create-dataset-upload-progress-text {
    min-width: 8.5rem;
    color: #2f4454;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

keyframes create-dataset-upload-progress-indeterminate {
    0% {
        transform: translateX(-110%);
    }

    100% {
        transform: translateX(290%);
    }
}

.create-dataset-upload-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.create-dataset-textarea {
    min-height: 2.85rem !important;
    height: 2.85rem !important;
    line-height: 1.35rem;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    resize: vertical;
    overflow: hidden;
}

.create-dataset-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.create-dataset-field-feature-types {
    flex: 1 1 36rem;
}

.create-dataset-geometry-grid {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.create-dataset-geometry-card {
    border: 2px solid #dbe3ea;
    border-radius: 16px;
    padding: 0.85rem 1rem;
    min-width: 8rem;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    background: #fff;
    color: #173248;
}

.create-dataset-geometry-card-selected {
    border-color: var(--az-dotvvm-primary);
    background: #f6fbfe;
}

.create-dataset-geometry-icon {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.create-dataset-checkbox-row {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    color: #173248;
}

.create-dataset-inline-editor {
    border: 1px solid #dbe3ea;
    border-radius: 18px;
    background: #fafcfe;
    padding: 1.1rem;
    display: grid;
    gap: 1rem;
}

.create-dataset-inline-editor-header,
.create-dataset-inline-editor-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

    .create-dataset-inline-editor-header h4 {
        margin: 0;
        color: #173248;
        font-size: 1.1rem;
        font-weight: 700;
    }

.create-dataset-inline-flags {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.create-dataset-multiselect-toolbar {
    display: flex;
    gap: 0.55rem;
    margin-bottom: 0.55rem;
    flex-wrap: wrap;
}

.create-dataset-multiselect-toolbar-button {
    min-width: 4.5rem;
}

.create-dataset-multiselect-options {
    display: grid;
    gap: 0.55rem;
    max-width: 29rem;
}

.create-dataset-multiselect-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.45rem;
    align-items: center;
}

.create-dataset-multiselect-input {
    width: 100%;
}

.create-dataset-multiselect-delete {
    min-width: 2rem;
    padding-inline: 0.55rem;
}

.create-dataset-form-grid-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.create-dataset-field-multiselect {
    grid-column: 1 / -1;
}

.create-dataset-column-grid {
    border: 1px solid #dbe3ea;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.create-dataset-column-grid-header,
.create-dataset-column-grid-row {
    display: grid;
    grid-template-columns: 30% 20% 15% 15% 20%;
    gap: 1rem;
    align-items: center;
    padding: 0.95rem 1rem;
}

.create-dataset-column-grid-header {
    background: #f4f8fb;
    color: #173248;
    font-weight: 700;
}

.create-dataset-column-grid-row {
    border-top: 1px solid #edf2f6;
}

.create-dataset-column-grid-wms .create-dataset-column-grid-row {
    position: relative;
    z-index: 0;
}

.create-dataset-column-grid-wms .create-dataset-column-grid-row:focus-within {
    z-index: 3;
}

.create-dataset-column-actions {
    display: inline-flex;
    gap: 0.65rem;
    /*  justify-content: flex-center;*/
    flex-wrap: nowrap;
    white-space: nowrap;
}

.create-dataset-empty,
.create-dataset-step-panel {
    border: 1px solid #dbe3ea;
    border-radius: 16px;
    background: #fafcfe;
    padding: 1rem;
}

.create-dataset-complete-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}

.create-dataset-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid #e7edf3;
    padding: 0.85rem 0 0.75rem;
}

.create-dataset-footer-shell {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.create-dataset-footer-left,
.create-dataset-footer-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.create-dataset-footer-right {
    margin-left: auto;
}

.create-dataset-footer-status {
    margin-top: 10px;
    margin-bottom: 0;
}

.create-dataset-step-body-has-validation {
    max-height: calc(100vh - 21rem);
}

.create-dataset-modal-header-actions {
    display: inline-flex;
    margin-left: auto;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: nowrap;
}

.create-dataset-header-submit {
    white-space: nowrap;
}

.create-dataset-close {
    flex: 0 0 auto;
}

.create-dataset-footer-sticky {
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: #fff;
    border-top: 1px solid #e3eaf4;
}

.create-dataset-form-grid-arcgis {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
}

    .create-dataset-form-grid-arcgis .create-dataset-field-wide {
        grid-column: 1 / -1;
    }

.create-dataset-form-grid-service-action .create-dataset-field-service-description {
    grid-column: 1;
    min-width: 0;
}

.create-dataset-form-grid-service-action .create-dataset-field-actions {
    grid-column: 2;
    justify-self: end;
}

    .create-dataset-form-grid-service-action .create-dataset-field-actions .create-dataset-inline-submit {
        width: auto;
        min-width: 10rem;
    }

.create-dataset-field-token {
    min-width: min(100%, 22rem);
}

.create-dataset-field-actions {
    align-self: end;
}

    .create-dataset-field-actions .create-dataset-inline-submit {
        min-width: 15rem;
        white-space: nowrap;
    }

.create-dataset-field-compact-select {
    max-width: 18rem;
}

.create-dataset-form-grid-iot {
    grid-template-columns: repeat(auto-fit, minmax(min(24rem, 100%), 1fr));
    align-items: start;
    gap: 1.1rem 1.5rem;
    max-width: 100%;
    overflow-x: hidden;
}

    .create-dataset-form-grid-iot > * {
        min-width: 0;
    }

    .create-dataset-form-grid-iot .create-dataset-field {
        min-width: 0;
    }

    .create-dataset-form-grid-iot .create-dataset-field-compact-select {
        max-width: none;
    }

    .create-dataset-form-grid-iot .create-dataset-field-token {
        min-width: 0;
    }

    .create-dataset-form-grid-iot .create-dataset-input,
    .create-dataset-form-grid-iot .create-dataset-textarea,
    .create-dataset-form-grid-iot .create-dataset-select,
    .create-dataset-form-grid-iot .projection-picker,
    .create-dataset-form-grid-iot .projection-picker.dotvvm-bp-control {
        width: 100%;
        max-width: 100%;
    }

.create-dataset-iot-section {
    margin-top: 0.35rem;
    padding-top: 1rem;
    border-top: 1px solid #dde8f5;
}

    .create-dataset-iot-section:first-child {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
    }

.create-dataset-iot-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

    .create-dataset-iot-section-header h4 {
        margin: 0;
        color: #17334c;
        font-size: 1rem;
        font-weight: 800;
    }

    .create-dataset-iot-section-header p {
        margin: 0;
        color: #5d6f84;
        font-size: 0.9rem;
        line-height: 1.35;
        text-align: right;
    }

.create-dataset-iot-url-field {
    min-width: 0;
}

    .create-dataset-form-grid-iot .create-dataset-choice-copy {
        max-width: 100%;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }

    .create-dataset-form-grid-iot .create-dataset-choice-copy code {
        padding: 0.1rem 0.28rem;
        border-radius: 0.3rem;
        background: #eef4fb;
        color: #1d3852;
        font-size: 0.9em;
    }

.create-dataset-import-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.create-dataset-import-candidate {
    margin-bottom: 1rem;
}

.create-dataset-import-candidate {
    position: relative;
}

    .create-dataset-import-candidate:focus-within {
        z-index: 4;
    }

.create-dataset-import-summary {
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.create-dataset-import-summary-selected {
    margin-bottom: 0.85rem;
}

.create-dataset-import-summary-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem 1.25rem;
}

    .create-dataset-import-summary-grid > * {
        min-width: 0;
    }

.create-dataset-import-selection {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.4rem;
    min-height: 2.5rem;
    margin: 0;
}

.create-dataset-import-selection-column {
    flex: 0 0 5.75rem;
}

.create-dataset-import-delete-column {
    flex: 0 0 auto;
    align-self: flex-end;
}

.create-dataset-import-source-column {
    flex: 1.15 1 15rem;
    min-width: 0;
}

.create-dataset-import-type-column {
    flex: 0.85 1 9.5rem;
    min-width: 0;
}

.create-dataset-import-name-column,
.create-dataset-import-epsg-column {
    min-width: 0;
}

.create-dataset-import-name-column {
    flex: 1.75 1 20rem;
}

.create-dataset-import-epsg-column {
    flex: 0.95 1 15rem;
}

.create-dataset-import-source-name {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.create-dataset-import-type-column .small {
    overflow-wrap: anywhere;
}

.create-dataset-import-epsg-select {
    max-width: 100%;
}

.create-dataset-import-detail {
    border: 1px solid #dbe5f3;
    border-radius: 1rem;
    background: #f9fbff;
    padding: 1rem 1.1rem;
}

.create-dataset-import-detail-heading {
    color: #1d3852;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

@media (max-width: 767px) {
    .create-dataset-modal-card {
        max-height: none;
        padding: 1rem 1rem 0;
    }

    .create-dataset-field-wide,
    .create-dataset-column-grid-header,
    .create-dataset-column-grid-row {
        grid-column: auto;
    }

    .create-dataset-choice-grid,
    .create-dataset-form-grid,
    .create-dataset-form-grid-columns,
    .create-dataset-column-grid-header,
    .create-dataset-column-grid-row {
        grid-template-columns: 1fr;
    }

    .create-dataset-form-grid-arcgis {
        grid-template-columns: 1fr;
    }

    .create-dataset-form-grid-service-action .create-dataset-field-service-description,
    .create-dataset-form-grid-service-action .create-dataset-field-actions {
        grid-column: auto;
    }

    .create-dataset-form-grid-service-action .create-dataset-field-actions {
        justify-self: stretch;
    }

        .create-dataset-form-grid-service-action .create-dataset-field-actions .create-dataset-inline-submit {
            width: 100%;
        }

    .create-dataset-form-grid-iot {
        grid-template-columns: 1fr;
    }

    .create-dataset-iot-section-header {
        display: grid;
        gap: 0.35rem;
    }

        .create-dataset-iot-section-header p {
            text-align: left;
        }

    .create-dataset-upload-dropzone {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        min-height: 13rem;
        padding: 1.1rem;
    }

    .create-dataset-upload-content {
        justify-content: center;
    }

    .create-dataset-upload-button {
        width: 100%;
    }

    .create-dataset-footer,
    .create-dataset-footer-left,
    .create-dataset-footer-right,
    .create-dataset-import-header,
    .create-dataset-inline-editor-header,
    .create-dataset-inline-editor-actions,
    .create-dataset-detail-row {
        flex-direction: column;
        align-items: stretch;
    }

    .create-dataset-footer-right {
        margin-left: 0;
    }

    .create-dataset-field-actions .create-dataset-inline-submit,
    .create-dataset-field-compact-select,
    .create-dataset-field-token {
        min-width: 0;
        max-width: 100%;
    }
}

/* Dataset authoring modal parity overrides */
.create-dataset-choice-card-clickable,
.create-dataset-geometry-card {
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

    .create-dataset-choice-card-clickable:hover,
    .create-dataset-choice-card-clickable:focus-within,
    .create-dataset-geometry-card:hover,
    .create-dataset-geometry-card:focus-within {
        border-color: var(--az-dotvvm-primary);
        box-shadow: 0 0 0 2px rgba(49, 147, 197, 0.1);
    }

.create-dataset-choice-card-disabled {
    opacity: 0.52;
    filter: grayscale(0.08);
    pointer-events: none;
}

.create-dataset-choice-card {
    align-content: start;
}

.create-dataset-choice-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.create-dataset-choice-grid-types {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.create-dataset-type-groups {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.create-dataset-type-group {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.create-dataset-type-group-title {
    color: #173248;
    font-size: 0.95rem;
    font-weight: 700;
}

.create-dataset-type-group .create-dataset-choice-grid-types {
    grid-template-columns: repeat(auto-fill, minmax(170px, 170px));
    gap: 0.75rem;
}

.create-dataset-type-group .create-dataset-choice-card {
    min-height: 10.75rem;
    padding: 0.9rem 0.85rem;
    gap: 0.45rem;
}

.create-dataset-type-group .create-dataset-choice-icon-shell {
    width: 48px;
    height: 48px;
}

.create-dataset-type-group .create-dataset-choice-icon {
    max-width: 44px;
    max-height: 44px;
}

.create-dataset-type-group .create-dataset-choice-title {
    font-size: 1rem;
}

.create-dataset-type-group .create-dataset-choice-copy {
    font-size: 0.9rem;
    line-height: 1.35;
}

.create-dataset-type-group-create-or-choose-data .create-dataset-choice-grid-types {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.create-dataset-type-group-create-or-choose-data .create-dataset-choice-card {
    min-height: 12rem;
    padding: 0.95rem 0.9rem;
}

.create-dataset-type-group-create-or-choose-data .create-dataset-choice-icon-shell {
    width: 54px;
    height: 54px;
}

.create-dataset-type-group-create-or-choose-data .create-dataset-choice-icon {
    max-width: 50px;
    max-height: 50px;
}

.create-dataset-form-grid-arcgis .create-dataset-select,
.create-dataset-form-grid-arcgis .projection-picker,
.create-dataset-form-grid-arcgis .projection-picker.dotvvm-bp-control,
.create-dataset-form-grid-arcgis .projection-picker .dotvvm-bp-combo-box-select,
.create-dataset-form-grid-arcgis .projection-picker .dotvvm-bp-text-box {
    min-height: 2.45rem;
    height: 2.45rem;
}

@media (max-width: 767px) {
    .create-dataset-step-body {
        max-height: calc(100vh - 14rem);
    }
}

.create-dataset-library-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.88fr);
    gap: 1.5rem;
    align-items: start;
    overflow-x: hidden;
}

.create-dataset-library-panel,
.create-dataset-library-card,
.create-dataset-library-card-body {
    min-width: 0;
}

.create-dataset-library-panel-list .create-dataset-library-card,
.create-dataset-library-panel-list .create-dataset-library-card-body {
    height: 100%;
}

.create-dataset-library-card-body {
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-x: hidden;
}

.create-dataset-library-results {
    flex: 1 1 auto;
    min-height: 0;
    max-height: min(60vh, 38rem);
    margin-top: 1rem;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.35rem;
}

.create-dataset-library-detail-body {
    min-height: 0;
    max-height: min(60vh, 38rem);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.35rem;
}

.create-dataset-library-panel-detail .card-body {
    min-width: 0;
    overflow-x: hidden;
}

.create-dataset-library-summary {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 1.5;
    max-height: 3em;
}

@media (max-width: 1199.98px) {
    .create-dataset-library-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .create-dataset-library-results {
        max-height: none;
        overflow: visible;
        padding-right: 0;
    }

    .create-dataset-library-detail-body {
        max-height: none;
        overflow: visible;
        padding-right: 1.5rem;
    }
}

.create-dataset-footer-sticky {
    z-index: 1;
}

.create-dataset-column-grid-row > span,
.create-dataset-column-grid-header > span {
    min-width: 0;
}

.create-dataset-column-grid-arcgis {
    max-height: 21rem;
    overflow: auto;
}

    .create-dataset-column-grid-arcgis .create-dataset-column-grid-header,
    .create-dataset-column-grid-arcgis .create-dataset-column-grid-row {
        grid-template-columns: 2.75rem minmax(0, 2fr) minmax(11rem, 1.15fr) 5.5rem minmax(10rem, 1.2fr);
        gap: 0.85rem;
    }

.create-dataset-column-grid-wms {
    max-height: 21rem;
    overflow: auto;
}

    .create-dataset-column-grid-wms .create-dataset-column-grid-header,
    .create-dataset-column-grid-wms .create-dataset-column-grid-row {
        grid-template-columns: 2.75rem minmax(0, 2fr) minmax(11rem, 1.1fr) minmax(12rem, 1.15fr) minmax(10rem, 1.2fr) minmax(9rem, 1fr);
        gap: 0.85rem;
    }

    .create-dataset-column-grid-wms .create-dataset-column-grid-header {
        position: sticky;
        top: 0;
        z-index: 10;
        background: #f4f8fb;
    }

    .create-dataset-column-grid-wms .projection-picker {
        z-index: auto;
    }

    .create-dataset-column-grid-wms .projection-picker.az-projection-picker-open {
        z-index: 4;
    }

.create-dataset-layer-projection-select {
    min-width: 11rem;
}

.create-dataset-column-grid-arcgis .create-dataset-column-grid-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f4f8fb;
}

.create-dataset-metadata-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

/* Map privacy modal refresh */
.map-privacy-overlay-card {
    width: min(1120px, 100%);
}

.map-privacy-overlay-loading {
    min-height: 14rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.map-privacy-overlay-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.map-privacy-modal-content {
    border: 1px solid #dbe3ea;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(19, 52, 77, 0.12);
    overflow: hidden;
}

.map-privacy-modal-shell {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.75rem;
}

.map-privacy-modal-shell-compact {
    min-height: min(80vh, 46rem);
}

.map-privacy-modal-shell-form {
    min-width: min(100%, 52rem);
}

.map-privacy-modal-header {
    align-items: flex-start;
}

.map-privacy-title {
    margin: 0.3rem 0 0;
    color: #173248;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

.map-privacy-copy {
    margin: 0.45rem 0 0;
    max-width: 46rem;
    color: #55697a;
    line-height: 1.5;
}

.map-privacy-copy-tight {
    margin-top: 0.35rem;
}

.map-privacy-choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.map-privacy-choice-card {
    border: 1px solid #dbe3ea;
    border-radius: 18px;
    padding: 1.35rem;
    background: #fff;
    display: grid;
    align-content: start;
    gap: 0.75rem;
    min-height: 15.5rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease, background-color 0.15s ease;
}

.map-privacy-choice-grid-compact .map-privacy-choice-card {
    padding: 1rem 1.1rem;
    gap: 0.55rem;
    min-height: 10.5rem;
}

.map-privacy-choice-card-clickable {
    cursor: pointer;
}

    .map-privacy-choice-card-clickable:hover,
    .map-privacy-choice-card-clickable:focus-within {
        border-color: var(--az-dotvvm-primary);
        box-shadow: 0 0 0 2px rgba(49, 147, 197, 0.1);
        transform: translateY(-1px);
    }

.map-privacy-choice-card-selected {
    border-color: var(--az-dotvvm-primary);
    background: #f6fbfe;
    box-shadow: 0 0 0 2px rgba(49, 147, 197, 0.12);
}

.map-privacy-choice-card-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.map-privacy-choice-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2f6d8f;
}

.map-privacy-choice-title {
    color: #173248;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.15;
}

.map-privacy-choice-grid-compact .map-privacy-choice-title {
    font-size: 1.45rem;
    line-height: 1.1;
}

.map-privacy-choice-copy {
    color: #55697a;
    font-size: 1rem;
    line-height: 1.55;
}

.map-privacy-choice-grid-compact .map-privacy-choice-copy {
    font-size: 0.95rem;
    line-height: 1.4;
}

.map-privacy-choice-meta {
    margin-top: auto;
    color: #6d7f92;
    font-size: 0.92rem;
    font-weight: 600;
}

.map-privacy-choice-grid-compact .map-privacy-choice-meta {
    font-size: 0.84rem;
}

.map-privacy-link-panels {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.map-privacy-link-panel {
    min-width: 0;
}

.map-privacy-link-panel-cta {
    align-items: start;
}

.map-privacy-section-stack {
    display: grid;
    gap: 1rem;
}

.map-privacy-link-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.map-privacy-link-label {
    color: #173248;
    font-size: 1rem;
    font-weight: 700;
}

.map-privacy-link-copy,
.map-privacy-share-card-title {
    padding: 0;
    border: 0;
    color: var(--az-dotvvm-primary);
    font-weight: 700;
    text-decoration: none;
    background: transparent;
}

    .map-privacy-link-copy:hover,
    .map-privacy-link-copy:focus,
    .map-privacy-share-card-title:hover,
    .map-privacy-share-card-title:focus {
        color: #1956b6;
        text-decoration: none;
    }

.map-privacy-link-input {
    width: 100%;
    min-height: 3.1rem;
    padding: 0.8rem 1rem;
    border-radius: 16px !important;
    font-size: 0.98rem !important;
    line-height: 1.45;
    text-align: left !important;
}

    .map-privacy-link-input:disabled {
        color: #44576b;
    }

.map-privacy-manage-button,
.map-privacy-header-button {
    white-space: nowrap;
}

.map-privacy-inline-workspace {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid #dbe3ea;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.96) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.map-privacy-inline-header,
.map-privacy-editor-header,
.map-privacy-inline-actions {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.map-privacy-inline-title,
.map-privacy-editor-title {
    margin: 0;
    color: #173248;
    font-weight: 700;
    line-height: 1.2;
}

.map-privacy-inline-title {
    font-size: 1.2rem;
}

.map-privacy-editor-title {
    font-size: 1.45rem;
}

.map-privacy-inline-dismiss {
    color: var(--az-dotvvm-text-muted);
    text-decoration: none;
}

    .map-privacy-inline-dismiss:hover,
    .map-privacy-inline-dismiss:focus {
        color: var(--az-dotvvm-primary);
        text-decoration: none;
    }

.map-privacy-share-list {
    display: grid;
    gap: 1rem;
    max-height: min(60vh, 35rem);
    overflow: auto;
    padding-right: 0.15rem;
}

.map-privacy-share-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
}

.map-privacy-share-card-main,
.map-privacy-share-card-top {
    min-width: 0;
}

.map-privacy-share-card-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.map-privacy-share-card-title {
    font-size: 1.1rem;
}

.map-privacy-share-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.9rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: #eef6ff;
    color: #2f6d8f;
    font-size: 0.85rem;
    font-weight: 700;
}

.map-privacy-share-card-url {
    margin-top: 0.7rem;
    color: #6a7488;
    line-height: 1.45;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.map-privacy-share-card-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.map-privacy-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #d7e1f0;
    border-radius: 999px;
    background: #fff;
    color: #173248;
    text-decoration: none;
    transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

    .map-privacy-action-button:hover,
    .map-privacy-action-button:focus {
        border-color: #bfd0ea;
        background: #f8fbff;
        color: var(--az-dotvvm-primary);
        text-decoration: none;
    }

.map-privacy-action-button-danger:hover,
.map-privacy-action-button-danger:focus {
    border-color: #f2c4bf;
    background: #fff3f1;
    color: #8a2f28;
}

.map-privacy-empty-state {
    text-align: center;
    padding: 2rem 1.5rem;
}

.map-privacy-empty-title {
    color: #173248;
    font-size: 1.1rem;
    font-weight: 700;
}

.map-privacy-form-grid {
    display: grid;
    gap: 1rem;
}

.map-privacy-editor-card {
    display: grid;
    gap: 1rem;
}

.map-privacy-editor-grid {
    display: grid;
    gap: 1rem;
}

.map-privacy-form-panel {
    display: grid;
    gap: 0.9rem;
}

.map-privacy-form-row {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.map-privacy-datepicker {
    flex: 1 1 18rem;
    min-width: min(100%, 18rem);
}

.map-privacy-datepicker-control,
.map-privacy-datepicker-control .dotvvm-bp-text-box,
.map-privacy-datepicker-control input {
    width: 100%;
}

.map-privacy-checkbox-wrap {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
}

.map-privacy-checkbox {
    color: #173248;
    font-weight: 700;
}

.map-privacy-text-input {
    width: 100%;
}

.map-privacy-form-hint {
    color: #6a7488;
    line-height: 1.45;
}

@media (max-width: 767px) {
    .map-privacy-modal-shell {
        padding: 1rem;
    }

    .map-privacy-title {
        font-size: 1.6rem;
    }

    .map-privacy-link-panels,
    .map-privacy-share-card {
        grid-template-columns: 1fr;
    }

    .map-privacy-inline-header,
    .map-privacy-editor-header,
    .map-privacy-share-card-actions,
    .map-privacy-form-row,
    .map-privacy-modal-header {
        align-items: stretch;
    }

    .map-privacy-manage-button,
    .map-privacy-header-button {
        width: 100%;
        text-align: center;
    }
}

.create-dataset-metadata-summary-copy {
    color: #55697a;
}

.create-dataset-submodal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 32, 46, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1200;
}

.create-dataset-submodal-card {
    width: min(980px, 100%);
    max-height: calc(100vh - 3rem);
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #dbe3ea;
    box-shadow: 0 24px 70px rgba(19, 52, 77, 0.22);
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.create-dataset-submodal-header,
.create-dataset-submodal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    border-bottom: 1px solid #e5edf3;
    flex-shrink: 0;
}

.create-dataset-submodal-footer {
    border-bottom: 0;
    border-top: 1px solid #e5edf3;
}

.create-dataset-submodal-body {
    display: grid;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
}

.create-dataset-metadata-readiness {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 1rem 1.25rem;
    background: #f4f8fb;
    border: 1px solid #dce6ee;
    border-radius: 16px;
}

.create-dataset-metadata-readiness-copy {
    min-width: 0;
}

.create-dataset-metadata-readiness-pill {
    white-space: nowrap;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #e2edf6;
    color: #21445d;
    font-weight: 700;
    font-size: 0.88rem;
}

.create-dataset-section-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2f4454;
    margin-bottom: 0.85rem;
}

@media (max-width: 767px) {

    .create-dataset-metadata-summary,
    .create-dataset-submodal-header,
    .create-dataset-submodal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .create-dataset-submodal-backdrop {
        padding: 0.75rem;
    }

    .create-dataset-metadata-readiness {
        flex-direction: column;
        align-items: stretch;
    }

    .create-dataset-submodal-header,
    .create-dataset-submodal-body,
    .create-dataset-submodal-footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.create-dataset-layer-select {
    width: 2.75rem;
    max-width: 2.75rem;
    justify-self: center;
    text-align: center;
}

.create-dataset-layer-cell {
    min-width: 0;
}

.create-dataset-layer-summary {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
}

.create-dataset-layer-name,
.create-dataset-layer-description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    word-break: break-word;
}

.create-dataset-layer-description {
    color: #55697a;
    line-height: 1.4;
}

.create-dataset-layer-extent {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 767px) {
    .create-dataset-column-grid-arcgis {
        max-height: none;
        overflow: visible;
    }

    .create-dataset-column-grid-wms {
        max-height: none;
        overflow: visible;
    }

    .create-dataset-column-grid-arcgis .create-dataset-column-grid-header {
        position: static;
    }

    .create-dataset-column-grid-wms .create-dataset-column-grid-header {
        position: static;
    }

    .create-dataset-column-grid-arcgis .create-dataset-column-grid-header,
    .create-dataset-column-grid-arcgis .create-dataset-column-grid-row {
        grid-template-columns: 1fr;
    }

    .create-dataset-column-grid-wms .create-dataset-column-grid-header,
    .create-dataset-column-grid-wms .create-dataset-column-grid-row {
        grid-template-columns: 1fr;
    }
}


.height-constrain {
    max-height: calc(100vh - 11rem);
}

.dataset-reorder-selection-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0.75rem;
    border: 1px solid #d7e1ea;
    border-radius: 0.5rem;
    background: #f8fbfd;
}

.layer-settings-selected-order {
    margin-top: 0.75rem;
}

.dataset-reorder-selection-title {
    color: #43586b;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.dataset-reorder-item {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr) 2.25rem;
    align-items: center;
    gap: 0.5rem;
    min-height: 2.5rem;
    padding: 0.35rem 0.45rem;
    border: 1px solid #d6e0e8;
    border-radius: 0.4rem;
    background: #fff;
}

.dataset-reorder-item[draggable="true"] {
    cursor: grab;
}

.dataset-reorder-name {
    overflow: hidden;
    color: #1f3345;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dataset-reorder-handle,
.dataset-reorder-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid #ccd9e3;
    border-radius: 0.35rem;
    background: #fff;
    color: #51677b;
}

.dataset-reorder-handle {
    cursor: grab;
}

.dataset-reorder-handle-disabled,
.dataset-reorder-handle:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.dataset-reorder-remove {
    color: #9f2f2f;
}

.edit-map-reorder-message {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
}

#edit-map-modal .edit-map-layer-reorder-handle {
    margin: 0 auto;
}


/* --------------------------------------------------------------------------
   Extracted shared layout utilities
   -------------------------------------------------------------------------- */

/* Extracted from AziMap2015/GeoAppCore/Views/MasterPage.dotmaster */
html, body {
            height: 100%;
        }

        body {
            overflow: hidden;
            background: #fff;
        }

        .app-shell {
            height: 100vh;
            overflow: hidden;
        }

        #FullContent {
            height: 100vh;
            overflow-y: auto;
            overflow-x: hidden;
            min-width: 0;
            background: #fff;
        }

        #OuterDiv {
            min-height: 100%;
            background: #fff;
        }

        #sidebarMenu {
            height: 100vh;
            overflow-y: auto;
            overflow-x: hidden;
        }


/* --------------------------------------------------------------------------
   Extracted control-specific styles
   -------------------------------------------------------------------------- */

/* Extracted from AziMap2015/GeoAppCore/Views/Controls/AddMap.dotcontrol */
.add-map-create-dataset-button {
            white-space: nowrap;
            flex-shrink: 0;
            padding: 0.8rem 1.4rem;
            font-weight: 600;
            line-height: 1;
        }

/* Extracted from AziMap2015/GeoAppCore/Views/Controls/EditAttribute.dotcontrol */
.height-constrain {
    max-height: calc(100vh - 11rem);
}

/* Extracted from AziMap2015/GeoAppCore/Views/Controls/HubStylingEditor.dotcontrol */
.hub-management-styling-accordion {
        background: var(--bs-light);
    }

    .hub-management-styling-accordion summary {
        cursor: pointer;
        list-style: none;
    }

    .hub-management-styling-accordion summary::-webkit-details-marker {
        display: none;
    }

    .hub-management-styling-accordion__chevron {
        transition: transform 0.2s ease;
    }

    .hub-management-styling-accordion[open] .hub-management-styling-accordion__chevron {
        transform: rotate(180deg);
    }

/* Extracted from AziMap2015/GeoAppCore/Views/Controls/MapToolsEditor.dotcontrol */
#map-tools-editor .modal-dialog {
        max-height: calc(100vh - 2rem);
    }

    #map-tools-editor .modal-content {
        display: flex;
        flex-direction: column;
        max-height: calc(100vh - 2rem);
        overflow: hidden;
    }

    #map-tools-editor .modal-header {
        flex: 0 0 auto;
        position: sticky;
        top: 0;
        z-index: 3;
        background: #fff;
    }

    #map-tools-editor .modal-header > * {
        width: 100%;
    }

    #map-tools-editor .modal-body {
        min-height: 0;
        overflow: hidden;
        padding: 0;
    }

    #map-tools-editor .map-tools-editor-body {
        min-height: 0;
        max-height: calc(100vh - 9rem);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 1rem;
        scrollbar-gutter: stable;
    }

    @media (max-width: 991px) {
        #map-tools-editor .modal-dialog,
        #map-tools-editor .modal-content {
            max-height: 100vh;
        }

        #map-tools-editor .map-tools-editor-body {
            max-height: calc(100vh - 7rem);
        }
    }

/* Extracted from AziMap2015/GeoAppCore/Views/Controls/UsageMetrics.dotcontrol */
.fullWidth {
        width: 100%;
    }

    meter.fullWidth {
        height: 14px;
    }

    .metric-label {
        display: block;
        font-size: .75rem;
        font-weight: 700;
        opacity: .75;
        margin-bottom: .15rem;
        letter-spacing: .02em;
        text-transform: uppercase;
    }


/* --------------------------------------------------------------------------
   Extracted page-specific styles
   -------------------------------------------------------------------------- */

/* Extracted from AziMap2015/GeoAppCore/Views/AddMapCreateDataset.dothtml */
.add-map-create-dataset-page {
            min-height: 100vh;
            background: linear-gradient(180deg, #f5f8fb 0%, #eef3f7 100%);
            padding: 32px 24px 48px;
        }

        .add-map-create-dataset-shell {
            max-width: 1120px;
            margin: 0 auto;
        }

        .add-map-create-dataset-intro {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 24px;
            margin-bottom: 24px;
        }

        .add-map-create-dataset-title {
            margin: 0;
            font-size: 2rem;
            font-weight: 700;
            color: #17324d;
        }

        .add-map-create-dataset-copy {
            margin: 8px 0 0;
            max-width: 720px;
            color: #4f6478;
            font-size: 1rem;
        }

/* Extracted from AziMap2015/GeoAppCore/Views/Dashboard.dothtml */
.dashboard-page {
            padding: 2rem 1.5rem 3rem;
        }

        .min-width-0 {
            min-width: 0;
        }

        .dashboard-shell {
            max-width: 96rem;
            margin: 0 auto;
        }

        .dashboard-hero {
            display: grid;
            grid-template-columns: minmax(0, 1.6fr) minmax(20rem, 1fr);
            grid-template-areas:
                "intro actions"
                "onboarding onboarding";
            gap: 1.5rem;
            padding: 1.75rem;
            border: 1px solid #d7e2f1;
            border-radius: 1.5rem;
            background:
                radial-gradient(circle at top right, rgba(57, 111, 255, 0.14), transparent 32rem),
                linear-gradient(180deg, #f7fbff 0%, #ffffff 72%);
            box-shadow: 0 1.5rem 3rem rgba(18, 44, 88, 0.08);
        }

        .dashboard-hero-main {
            grid-area: intro;
        }

        .dashboard-kicker {
            margin-bottom: 0.6rem;
            color: #49617c;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 0.14em;
            text-transform: uppercase;
        }

        .dashboard-title {
            margin: 0;
            color: #12305f;
            font-size: clamp(2rem, 4vw, 2.8rem);
            line-height: 1.05;
        }

        .dashboard-copy {
            max-width: 42rem;
            margin: 0.85rem 0 0;
            color: #516882;
            font-size: 1rem;
        }

        .dashboard-hero-side {
            grid-area: actions;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            align-items: stretch;
            justify-content: center;
        }

        .dashboard-search-area {
            position: relative;
        }

        .dashboard-search-box {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 0.9rem;
            border: 1px solid #cad8ec;
            border-radius: 999px;
            background: #ffffff;
            box-shadow: 0 0.8rem 1.7rem rgba(18, 48, 95, 0.08);
        }

        .dashboard-search-icon {
            color: #2f6fec;
            font-size: 1.1rem;
        }

        .dashboard-search-input {
            flex: 1 1 auto;
            width: 100%;
            border: 0;
            background: transparent !important;
            box-shadow: none !important;
            color: #17335e;
            padding: 0 !important;
            min-height: auto;
            outline: 0;
            border-radius: 0 !important;
        }

        .dashboard-search-input:focus {
            border: 0 !important;
            background: transparent !important;
            box-shadow: none !important;
        }

        .dashboard-search-input::placeholder {
            color: #7c90a8;
        }

        .dashboard-search-button {
            border: 0;
            background: #edf4ff;
            color: #1f58c5;
            width: 2.5rem;
            height: 2.5rem;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.2s ease, color 0.2s ease;
        }

        .dashboard-search-button:hover {
            background: #2f6fec;
            color: #ffffff;
        }

        .dashboard-search-results {
            position: absolute;
            top: calc(100% + 0.85rem);
            left: 0;
            right: 0;
            z-index: 1100;
            padding: 1rem;
            border: 1px solid #d7e2f1;
            border-radius: 1.25rem;
            background: #ffffff;
            box-shadow: 0 1.5rem 3rem rgba(18, 44, 88, 0.18);
            max-height: calc(100dvh - 2rem);
            overflow-y: auto;
            overscroll-behavior: contain;
            scrollbar-gutter: stable;
        }

        .dashboard-search-group + .dashboard-search-group {
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid #e4edf8;
        }

        .dashboard-search-group-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            margin-bottom: 0.8rem;
        }

        .dashboard-search-group-title {
            color: #153360;
            font-size: 0.92rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .dashboard-search-view-all {
            color: #2f6fec;
            font-size: 0.92rem;
            font-weight: 700;
            text-decoration: none;
        }

        .dashboard-search-item {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 1rem;
            padding: 0.9rem 0;
            border-top: 1px solid #eef3fa;
        }

        .dashboard-search-item:first-of-type {
            border-top: 0;
            padding-top: 0.15rem;
        }

        .dashboard-search-item-main {
            min-width: 0;
            text-decoration: none;
        }

        .dashboard-search-item-map {
            display: flex;
            gap: 0.9rem;
            align-items: center;
        }

        .dashboard-search-thumb {
            width: 4rem;
            height: 4rem;
            border-radius: 0.95rem;
            overflow: hidden;
            flex: 0 0 4rem;
            background: #f4f7fb;
        }

        .dashboard-search-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .dashboard-search-icon-shell {
            width: 4rem;
            height: 4rem;
            border-radius: 0.95rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f5f8fd;
            border: 1px solid #e5ecf6;
        }

        .dashboard-search-icon-shell img {
            max-width: 2rem;
            max-height: 2rem;
        }

        .dashboard-search-id {
            color: #2f6fec;
            font-size: 0.82rem;
            font-weight: 700;
        }

        .dashboard-search-name {
            color: #102e59;
            font-size: 1rem;
            font-weight: 700;
            line-height: 1.25;
        }

        .dashboard-search-desc {
            color: #6e8097;
            font-size: 0.92rem;
            line-height: 1.35;
            margin-top: 0.2rem;
        }

        .dashboard-search-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-top: 0.45rem;
            color: #5a708d;
            font-size: 0.84rem;
            font-weight: 600;
        }

        .dashboard-search-actions {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        .dashboard-search-empty {
            padding: 1.5rem;
            text-align: center;
            border: 1px dashed #d7e2f1;
            border-radius: 1rem;
            color: #546a84;
            background: #f9fbfe;
        }

        .dashboard-search-empty-actions {
            display: inline-flex;
            gap: 0.6rem;
            flex-wrap: wrap;
            justify-content: center;
            margin-top: 1rem;
        }

        .dashboard-quick-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            justify-content: flex-end;
        }

        .dashboard-quick-action {
            min-width: 10rem;
        }

        .dashboard-stats {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 1rem;
            margin-top: 1.4rem;
        }

        .dashboard-stat-card {
            padding: 1.15rem 1.25rem;
            border: 1px solid #dbe5f3;
            border-radius: 1.15rem;
            background: #ffffff;
            box-shadow: 0 0.7rem 1.6rem rgba(18, 44, 88, 0.06);
        }

        .dashboard-stat-label {
            color: #607693;
            font-size: 0.86rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .dashboard-stat-value {
            margin-top: 0.45rem;
            color: #0f2e59;
            font-size: clamp(1.7rem, 3vw, 2.3rem);
            font-weight: 700;
            line-height: 1;
        }

        .dashboard-stat-meta {
            margin-top: 0.55rem;
            color: #607693;
            font-size: 0.84rem;
            font-weight: 600;
        }

        .dashboard-sections {
            margin-top: 1.6rem;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .dashboard-section {
            padding: 1.35rem;
            border: 1px solid #dde6f4;
            border-radius: 1.35rem;
            background: #ffffff;
            box-shadow: 0 1rem 2rem rgba(18, 44, 88, 0.05);
        }

        .dashboard-section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .dashboard-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 1rem;
        }

        .dashboard-section-title {
            margin: 0;
            color: #10305b;
            font-size: 1.35rem;
        }

        .dashboard-section-copy {
            margin: 0.3rem 0 0;
            color: #667b96;
            font-size: 0.95rem;
        }

        .dashboard-card {
            display: flex;
            flex-direction: column;
            min-height: 100%;
            border: 1px solid #e2eaf6;
            border-radius: 1.1rem;
            overflow: hidden;
            background: #fbfdff;
        }

        .dashboard-card-media {
            position: relative;
            background: linear-gradient(180deg, #eef4fb 0%, #dfeaf7 100%);
            min-height: 12rem;
        }

        .dashboard-card-media img {
            width: 100%;
            height: 12rem;
            object-fit: cover;
            display: block;
        }

        .dashboard-card-media-preview-hidden {
            display: none !important;
        }

        .dashboard-card-media-fallback {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 12rem;
        }

        .dashboard-card-media-fallback-hidden {
            display: none;
        }

        .dashboard-card-media-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 12rem;
        }

        .dashboard-card-media-icon img {
            width: auto;
            height: auto;
            max-width: 4rem;
            max-height: 4rem;
        }

        .dashboard-card-media-symbol {
            color: #2f6fec;
            font-size: 3rem;
        }

        .dashboard-card-body {
            display: flex;
            flex-direction: column;
            gap: 0.7rem;
            padding: 1rem;
            flex: 1 1 auto;
        }

        .dashboard-card-id {
            color: #2f6fec;
            font-size: 0.82rem;
            font-weight: 700;
            text-decoration: none;
        }

        .dashboard-card-title {
            color: #0f2e59;
            font-size: 1.05rem;
            font-weight: 700;
            line-height: 1.3;
        }

        .dashboard-card-desc {
            color: #6b809a;
            font-size: 0.92rem;
            line-height: 1.45;
            min-height: 2.65rem;
        }

        .dashboard-card-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            color: #556b87;
            font-size: 0.84rem;
            font-weight: 600;
        }

        .dashboard-card-status {
            margin-top: -0.1rem;
        }

        .dashboard-card-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.6rem;
            margin-top: auto;
            padding-top: 0.3rem;
        }

        .dashboard-empty-state {
            padding: 2rem 1.5rem;
            border: 1px dashed #d7e2f1;
            border-radius: 1.1rem;
            text-align: center;
            color: #566c87;
            background: #f9fbfe;
        }

        .dashboard-empty-state p {
            margin: 0.5rem auto 0;
            max-width: 34rem;
        }

        .dashboard-empty-actions {
            display: inline-flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            justify-content: center;
            margin-top: 1rem;
        }

        @media (max-width: 1199.98px) {
            .dashboard-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 991.98px) {
            .dashboard-page {
                padding: 1.25rem 1rem 2.5rem;
            }

            .dashboard-hero {
                grid-template-columns: 1fr;
                grid-template-areas:
                    "intro"
                    "actions"
                    "onboarding";
            }

            .dashboard-stats {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 767.98px) {
            .dashboard-search-item {
                grid-template-columns: 1fr;
            }

            .dashboard-search-actions {
                justify-content: flex-start;
            }

            .dashboard-grid {
                grid-template-columns: 1fr;
            }

            .dashboard-stats {
                grid-template-columns: 1fr;
            }

            .dashboard-section-header {
                flex-direction: column;
                align-items: flex-start;
            }
        }

/* Extracted from AziMap2015/GeoAppCore/Views/MapCreateDataset.dothtml */
.map-create-dataset-page {
            min-height: 100vh;
            background: linear-gradient(180deg, #f5f8fb 0%, #eef3f7 100%);
            padding: 32px 24px 48px;
        }

        .map-create-dataset-shell {
            max-width: 1120px;
            margin: 0 auto;
        }

        .map-create-dataset-intro {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 24px;
            margin-bottom: 24px;
        }

        .map-create-dataset-title {
            margin: 0;
            font-size: 2rem;
            font-weight: 700;
            color: #17324d;
        }

        .map-create-dataset-copy {
            margin: 8px 0 0;
            max-width: 720px;
            color: #4f6478;
            font-size: 1rem;
        }

/* Extracted from AziMap2015/GeoAppCore/Views/Account/ILogin.dothtml */
.login-card {
            max-width: 520px;
            width: 100%;
        }

        .modal-backdrop-lite {
            background: rgba(0,0,0,.5);
        }

/* Extracted from AziMap2015/GeoAppCore/Views/Account/PricePlanDetails.dothtml */
.plan-usage-card {
            border: 1px solid #e7edf5;
            border-radius: 1rem;
            padding: 1.25rem;
            height: 100%;
            background: #fff;
        }

        .plan-usage-kicker {
            font-size: .75rem;
            font-weight: 700;
            letter-spacing: .06em;
            text-transform: uppercase;
            color: #6c7a89;
        }

        .plan-usage-meter {
            width: 100%;
            height: .6rem;
        }

        .plan-usage-stats {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: .75rem;
        }

        .plan-usage-stat-label {
            font-size: .72rem;
            font-weight: 700;
            letter-spacing: .04em;
            text-transform: uppercase;
            color: #7b8794;
            margin-bottom: .2rem;
        }

        .plan-usage-stat-value {
            font-size: 1rem;
            font-weight: 600;
            color: #132238;
            line-height: 1.25;
            word-break: break-word;
        }

        .plan-usage-total-card .display-6 {
            font-size: 2.2rem;
        }

        .plan-entitlement-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 1rem;
        }

        .plan-entitlement-group {
            border: 1px solid #edf1f6;
            border-radius: .75rem;
            padding: 1rem;
            background: #fbfdff;
        }

        .plan-entitlement-title {
            font-size: .78rem;
            font-weight: 700;
            letter-spacing: .05em;
            text-transform: uppercase;
            color: #6c7a89;
            margin-bottom: .6rem;
        }

        .plan-entitlement-item {
            display: grid;
            grid-template-columns: minmax(120px, 42%) minmax(0, 1fr);
            align-items: start;
            gap: .75rem;
            padding: .45rem 0;
            font-size: .92rem;
            border-bottom: 1px solid #eef2f6;
            line-height: 1.35;
        }

        .plan-entitlement-item:last-child {
            border-bottom: 0;
            padding-bottom: 0;
        }

        .plan-entitlement-item > span:first-child {
            color: #526173;
        }

        .plan-entitlement-value {
            font-weight: 700;
            text-align: left;
            color: #132238;
            overflow-wrap: anywhere;
        }

        .plan-summary-list {
            display: grid;
            gap: .85rem;
        }

        .plan-summary-item {
            display: grid;
            grid-template-columns: 1.25rem minmax(0, 1fr);
            gap: .6rem;
            align-items: start;
            line-height: 1.35;
        }

        .plan-summary-item i {
            margin-top: .18rem;
        }

        .plan-allowance-list {
            display: grid;
            gap: .85rem;
        }

        .plan-allowance-item {
            border: 1px solid #edf1f6;
            border-radius: .75rem;
            padding: .9rem 1rem;
            background: #fbfdff;
        }

        .plan-allowance-label {
            font-size: .82rem;
            color: #5f6f83;
            margin-bottom: .2rem;
        }

        .plan-allowance-value {
            font-size: 1.15rem;
            font-weight: 700;
            color: #132238;
            line-height: 1.3;
        }

        @media (max-width: 767.98px) {
            .plan-usage-stats {
                grid-template-columns: 1fr;
            }

            .plan-entitlement-grid {
                grid-template-columns: 1fr;
            }

            .plan-entitlement-item {
                grid-template-columns: 1fr;
                gap: .2rem;
            }
        }

/* Extracted from AziMap2015/GeoAppCore/Views/Account/RealexPricePlans.dothtml */
.ppv2 {
            padding: 28px 0 40px;
        }

        .ppv2-pillbar {
            display: flex;
            justify-content: center;
            gap: 12px;
            flex-wrap: wrap;
            margin: 18px 0;
        }

        .ppv2-toggle {
            display: inline-flex;
            background: #eaf2ff;
            padding: 6px;
            border-radius: 9999px;
            gap: 6px;
            align-items: center;
        }

        .ppv2-toggle .btn {
            border-radius: 9999px !important;
            padding: 8px 18px;
            font-weight: 600;
        }

        .ppv2-currency {
            display: inline-flex;
            gap: 8px;
            align-items: center;
        }

        .ppv2-currency .btn {
            width: 38px;
            height: 38px;
            border-radius: 9999px !important;
            padding: 0;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .ppv2-note {
            text-align: center;
            font-size: .9rem;
            opacity: .7;
            margin-bottom: 18px;
        }

        .ppv2-grid {
            max-width: 1120px;
            margin: 0 auto;
        }

        .ppv2-card {
            height: 100%;
            border: 1px solid #d9d9d9;
            border-radius: 0;
            background: #fff;
            display: flex;
            flex-direction: column;
            padding: 24px 22px;
        }

        .ppv2-card.is-popular {
            background: #f5f9ff;
        }

        .ppv2-plan-title {
            text-align: center;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .ppv2-price {
            text-align: center;
            margin-bottom: 14px;
            font-weight: 800;
            color: #1e66ff;
            line-height: 1.05;
        }

        .ppv2-price .big {
            font-size: 2.1rem;
        }

        .ppv2-price .per {
            font-weight: 600;
            font-size: 1rem;
            color: #1e66ff;
        }

        .ppv2-save {
            display: block;
            margin-top: 6px;
            font-size: .9rem;
            font-weight: 600;
            opacity: .75;
        }

        .ppv2-badge {
            margin: 0 auto 12px;
            padding: 6px 14px;
            border-radius: 9999px;
            font-size: .75rem;
            font-weight: 800;
            letter-spacing: .03em;
            text-transform: uppercase;
            background: #d9e7ff;
            color: #0d4dff;
            display: inline-block;
        }

        .ppv2-list {
            list-style: none;
            padding-left: 0;
            margin: 12px 0 22px;
            text-align: center;
            flex: 1 1 auto;
        }

        .ppv2-list li {
            padding: 3px 0;
        }

        .ppv2-list li:first-child {
            font-weight: 700;
            opacity: .75;
            margin-bottom: 8px;
        }

        .ppv2-cta .btn {
            width: 100%;
            border-radius: 9999px !important;
            padding: 10px 14px;
            font-weight: 700;
        }

        .ppv2-table-wrap {
            overflow-x: auto;
            border: 1px solid #d9d9d9;
            background: #fff;
        }

        .ppv2 .ppv2-table {
            margin-bottom: 0;
            min-width: 980px;
        }

        .ppv2-table th,
        .ppv2-table td {
            vertical-align: middle;
            padding: 13px 14px;
        }

        .ppv2-table thead th {
            text-align: center;
            border-bottom: 1px solid #d9d9d9;
            height: 190px;
            vertical-align: top;
        }

        .ppv2-table-feature {
            width: 260px;
            font-weight: 700;
            color: #313840;
            vertical-align: middle !important;
        }

        .ppv2-table-plan {
            min-width: 170px;
            position: relative;
            padding: 16px 14px 64px !important;
        }

        .ppv2-table-plan .ppv2-plan-title {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 28px;
            margin-bottom: 10px;
        }

        .ppv2-table-plan:not(.ppv2-table-popular) .ppv2-plan-title {
            margin-bottom: 52px;
        }

        .ppv2-table-popular {
            background: #f5f9ff;
        }

        .ppv2-table-price {
            color: #1e66ff;
            font-weight: 800;
            line-height: 1.15;
            margin: 8px 0;
            min-height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
        }

        .ppv2-table-price .big {
            font-size: 1.55rem;
        }

        .ppv2-table-price .per {
            font-weight: 600;
        }

        .ppv2-table .btn {
            border-radius: 9999px !important;
            font-weight: 700;
            padding: 8px 14px;
            min-width: 132px;
            min-height: 42px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1.15;
            white-space: normal;
        }

        .ppv2-table-plan > .btn,
        .ppv2-table-plan > a.btn {
            position: absolute;
            left: 50%;
            bottom: 12px;
            transform: translateX(-50%);
            max-width: calc(100% - 28px);
        }

        .ppv2-table-value {
            text-align: center;
            font-weight: 600;
        }

        .ppv2-table-tick,
        .ppv2-table-cross {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            border-radius: 9999px;
            font-weight: 800;
            line-height: 1;
        }

        .ppv2-table-tick {
            color: #137a35;
            background: #e7f6ec;
        }

        .ppv2-table-cross {
            color: #b42318;
            background: #fdeaea;
        }

        .ppv2 * {
            min-width: 0;
        }

/* Extracted from AziMap2015/GeoAppCore/Views/Account/Register.dothtml */
.register-card {
            max-width: 920px;
            width: 100%;
        }

        .modal-backdrop-lite {
            background: rgba(0,0,0,.5);
        }

        .bp-country {
            --bp-form-item-width: 100%;
            --bp-color_primary: hsl(216, 98%, 52%);
            --bp-color_focus: hsla(216, 98%, 52%, 1);
            --bp-box-shadow_focus: 0 0 0 .25rem rgba(13,110,253,.25);
        }

        .signup-extra-contact {
            position: absolute;
            left: -10000px;
            top: auto;
            width: 1px;
            height: 1px;
            overflow: hidden;
        }

        .auth-page {
            min-height: 100vh;
            overflow-y: auto;
        }

        .auth-page .auth-shell {
            min-height: 100vh;
            padding-bottom: 32px;
        }

        .auth-page .auth-logo {
            max-width: 220px;
            height: auto;
        }

        .auth-page .login-card,
        .auth-page .register-card {
            flex: 0 0 auto;
        }

        .auth-page .auth-modal-dialog {
            min-height: 100%;
            overflow-y: auto;
            padding-top: 24px;
            padding-bottom: 24px;
        }

        .auth-page .auth-modal-frame {
            max-height: calc(100vh - 48px);
            overflow-y: auto;
        }

        @media (max-height: 800px) {
            .auth-page .auth-shell {
                padding-top: 24px !important;
            }

            .auth-page .auth-shell > a {
                margin-top: 0 !important;
                margin-bottom: 16px !important;
            }

            .auth-page .auth-logo {
                max-width: 180px;
            }

            .auth-page .card-body {
                padding: 24px !important;
            }

            .auth-page .register-card .row {
                --bs-gutter-y: 1rem;
                --bs-gutter-x: 1.25rem;
            }

            .auth-page .register-card .mb-3 {
                margin-bottom: 0.65rem !important;
            }

            .auth-page .register-card .mb-4 {
                margin-bottom: 1rem !important;
            }

            .auth-page .register-card .mt-5 {
                margin-top: 1.5rem !important;
            }

            .auth-page .form-control-lg,
            .auth-page .btn-lg {
                min-height: 40px;
                padding-top: 0.45rem;
                padding-bottom: 0.45rem;
                font-size: 1rem;
            }

            .auth-page h1.h3 {
                font-size: 1.5rem;
            }

            .auth-page .auth-modal-dialog {
                align-items: flex-start !important;
                padding-top: 16px;
                padding-bottom: 16px;
            }

            .auth-page .auth-modal-frame {
                max-height: calc(100vh - 32px);
            }
        }

        @media (max-height: 680px) {
            .auth-page .auth-shell {
                padding-top: 16px !important;
                padding-bottom: 16px;
            }

            .auth-page .auth-logo {
                max-width: 150px;
            }

            .auth-page .card-body {
                padding: 20px !important;
            }

            .auth-page .register-card .form-label {
                margin-bottom: 0.25rem;
            }

            .auth-page .register-card .text-danger.small {
                margin-top: 0.2rem !important;
            }

            .auth-page .form-control-lg,
            .auth-page .btn-lg {
                min-height: 36px;
                padding-top: 0.35rem;
                padding-bottom: 0.35rem;
            }
        }

        @media (max-width: 575.98px) {
            .auth-page .auth-shell {
                min-height: auto;
                padding-top: 20px !important;
                padding-bottom: 20px;
            }

            .auth-page .auth-logo {
                max-width: 170px;
            }

            .auth-page .card-body {
                padding: 20px !important;
            }

            .auth-page .form-control-lg,
            .auth-page .btn-lg {
                min-height: 40px;
                font-size: 1rem;
            }

            .auth-page .d-flex.justify-content-between {
                align-items: flex-start !important;
                flex-direction: column;
                gap: 0.75rem;
            }
        }

/* Extracted from AziMap2015/GeoAppCore/Views/Account/ResetPassword.dothtml */
.reset-card {
            max-width: 560px;
            width: 100%;
        }

/* Extracted from AziMap2015/GeoAppCore/Views/Account/StripePricePlans.dothtml */
.ppv2 {
            padding: 28px 0 40px;
        }

        .ppv2-pillbar {
            display: flex;
            justify-content: center;
            gap: 12px;
            flex-wrap: wrap;
            margin: 18px 0;
        }

        .ppv2-toggle {
            display: inline-flex;
            background: #eaf2ff;
            padding: 6px;
            border-radius: 9999px;
            gap: 6px;
            align-items: center;
        }

        .ppv2-toggle .btn {
            border-radius: 9999px !important;
            padding: 8px 18px;
            font-weight: 600;
        }

        .ppv2-currency {
            display: inline-flex;
            gap: 8px;
            align-items: center;
        }

        .ppv2-currency .btn {
            width: 38px;
            height: 38px;
            border-radius: 9999px !important;
            padding: 0;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

        .ppv2-note {
            text-align: center;
            font-size: .9rem;
            opacity: .7;
            margin-bottom: 18px;
        }

        .ppv2-grid {
            max-width: 1120px;
            margin: 0 auto;
        }

        .ppv2-card {
            height: 100%;
            border: 1px solid #d9d9d9;
            border-radius: 0;
            background: #fff;
            display: flex;
            flex-direction: column;
            padding: 24px 22px;
        }

        .ppv2-card.is-popular {
            background: #f5f9ff;
        }

        .ppv2-plan-title {
            text-align: center;
            font-weight: 700;
            margin-bottom: 10px;
        }

        .ppv2-price {
            text-align: center;
            margin-bottom: 14px;
            font-weight: 800;
            color: #1e66ff;
            line-height: 1.05;
        }

        .ppv2-price .big {
            font-size: 2.1rem;
        }

        .ppv2-price .per {
            font-weight: 600;
            font-size: 1rem;
            color: #1e66ff;
        }

        .ppv2-save {
            display: block;
            margin-top: 6px;
            font-size: .9rem;
            font-weight: 600;
            opacity: .75;
        }

        .ppv2-badge {
            margin: 0 auto 12px;
            padding: 6px 14px;
            border-radius: 9999px;
            font-size: .75rem;
            font-weight: 800;
            letter-spacing: .03em;
            text-transform: uppercase;
            background: #d9e7ff;
            color: #0d4dff;
            display: inline-block;
        }

        .ppv2-list {
            list-style: none;
            padding-left: 0;
            margin: 12px 0 22px;
            text-align: center;
            flex: 1 1 auto;
        }

        .ppv2-list li {
            padding: 3px 0;
        }

        .ppv2-list li:first-child {
            font-weight: 700;
            opacity: .75;
            margin-bottom: 8px;
        }

        .ppv2-cta .btn {
            width: 100%;
            border-radius: 9999px !important;
            padding: 10px 14px;
            font-weight: 700;
        }

        .ppv2-table-wrap {
            overflow-x: auto;
            border: 1px solid #d9d9d9;
            background: #fff;
        }

        .ppv2 .ppv2-table {
            margin-bottom: 0;
            min-width: 980px;
        }

        .ppv2-table th,
        .ppv2-table td {
            vertical-align: middle;
            padding: 13px 14px;
        }

        .ppv2-table thead th {
            text-align: center;
            border-bottom: 1px solid #d9d9d9;
            height: 190px;
            vertical-align: top;
        }

        .ppv2-table-feature {
            width: 260px;
            font-weight: 700;
            color: #313840;
            vertical-align: middle !important;
        }

        .ppv2-table-plan {
            min-width: 170px;
            position: relative;
            padding: 16px 14px 64px !important;
        }

        .ppv2-table-plan .ppv2-plan-title {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 28px;
            margin-bottom: 10px;
        }

        .ppv2-table-plan:not(.ppv2-table-popular) .ppv2-plan-title {
            margin-bottom: 52px;
        }

        .ppv2-table-popular {
            background: #f5f9ff;
        }

        .ppv2-table-price {
            color: #1e66ff;
            font-weight: 800;
            line-height: 1.15;
            margin: 8px 0;
            min-height: 38px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
        }

        .ppv2-table-price .big {
            font-size: 1.55rem;
        }

        .ppv2-table-price .per {
            font-weight: 600;
        }

        .ppv2-table .btn {
            border-radius: 9999px !important;
            font-weight: 700;
            padding: 8px 14px;
            min-width: 132px;
            min-height: 42px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1.15;
            white-space: normal;
        }

        .ppv2-table-plan > .btn,
        .ppv2-table-plan > a.btn {
            position: absolute;
            left: 50%;
            bottom: 12px;
            transform: translateX(-50%);
            max-width: calc(100% - 28px);
        }

        .ppv2-table-value {
            text-align: center;
            font-weight: 600;
        }

        .ppv2-table-tick,
        .ppv2-table-cross {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            border-radius: 9999px;
            font-weight: 800;
            line-height: 1;
        }

        .ppv2-table-tick {
            color: #137a35;
            background: #e7f6ec;
        }

        .ppv2-table-cross {
            color: #b42318;
            background: #fdeaea;
        }

        .ppv2 * {
            min-width: 0;
        }

/* Extracted from AziMap2015/GeoAppCore/Views/AdminPages/AdminSearch.dothtml */
.admin-search .admin-search-table thead th {
            position: sticky;
            top: 0;
            z-index: 2;
            background: #fff;
            box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
        }

        .admin-search .admin-search-actions {
            white-space: nowrap;
        }

        .admin-search .admin-search-action-button {
            width: 2.5rem;
            min-width: 2.5rem;
            padding-left: 0;
            padding-right: 0;
        }

        .admin-search .admin-search-filter {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .admin-search .admin-search-filter-input {
            flex: 1 1 auto;
            min-width: 12rem;
        }

        .admin-search .admin-search-filter-button {
            flex: 0 0 auto;
        }

/* Extracted from AziMap2015/GeoAppCore/Views/AdminPages/EditAccountDetails.dothtml */
.account-details .account-settings-list {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin: 1rem 0 1.25rem;
        }

        .account-details .account-setting-card {
        display: flex;
        align-items: flex-start;
        gap: 0.85rem;
        width: 100%;
        padding: 0.85rem 1rem;
        border: 1px solid #d8e2ef;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 1px 2px rgba(31, 41, 64, 0.06);
        transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
        }

        .account-details .account-setting-card:hover {
        border-color: #b8c9df;
        background: #f8fbff;
        }

        .account-details .account-setting-card:focus-within {
        border-color: #2068df;
        box-shadow: 0 0 0 3px rgba(32, 104, 223, 0.12);
        }

        .account-details .account-setting-checkbox {
        flex: 0 0 auto;
        margin-top: 0.2rem;
        }

        .account-details .account-setting-copy {
        display: block;
        min-width: 0;
        margin: 0;
        cursor: pointer;
        }

        .account-details .account-setting-title {
        display: block;
        color: #111827;
        font-size: 0.95rem;
        font-weight: 600;
        line-height: 1.25;
        }

        .account-details .account-setting-description {
        display: block;
        margin-top: 0.25rem;
        color: #5f6b7a;
        font-size: 0.85rem;
        line-height: 1.35;
        }

        .account-details .account-actions-list {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.25rem;
        }

        .account-details .account-action-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        width: 100%;
        min-height: 2.55rem;
        padding: 0.6rem 0.85rem;
        border: 1px solid #d8e2ef;
        border-radius: 8px;
        background: #fff;
        color: #111827;
        font-size: 0.92rem;
        font-weight: 600;
        line-height: 1.2;
        text-decoration: none;
        box-shadow: 0 1px 2px rgba(31, 41, 64, 0.05);
        transition: border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease, background-color 0.15s ease;
        }

        .account-details .account-action-link:hover,
        .account-details .account-action-link:focus {
        border-color: #2068df;
        background: #f8fbff;
        color: #174ea6;
        text-decoration: none;
        box-shadow: 0 2px 6px rgba(31, 41, 64, 0.1);
        }

        .account-details .account-action-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 1.75rem;
        width: 1.75rem;
        height: 1.75rem;
        border-radius: 6px;
        background: #e9f0fc;
        color: #2068df;
        }

        .account-details .account-action-text {
        min-width: 0;
        overflow-wrap: anywhere;
        }

        .account-details .form-group {
        margin-bottom: 0.95rem;
        }

        .account-details .label-azimap-large {
        display: block;
        margin-bottom: 0.35rem;
        line-height: 1.2;
        }

        .account-details .account-field-label-row {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        margin-bottom: 0.35rem;
        }

        .account-details .account-field-label-row .label-azimap-large {
        margin-bottom: 0;
        }

        .account-details .account-help-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.35rem;
        height: 1.35rem;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #e9f0fc;
        color: #2068df;
        font-size: 0.8rem;
        line-height: 1;
        cursor: pointer;
        }

        .account-details .account-help-button:hover,
        .account-details .account-help-button:focus {
        background: #dbe8ff;
        color: #174ea6;
        outline: none;
        box-shadow: 0 0 0 3px rgba(32, 104, 223, 0.14);
        }

        .account-details .account-default-epsg-picker,
        .account-details .account-default-epsg-picker.dotvvm-bp-control,
        .account-details .account-default-epsg-picker .dotvvm-bp-combo-box-select,
        .account-details .account-default-epsg-picker .dotvvm-bp-text-box,
        .account-details .account-default-epsg-picker .dotvvm-bp-primitive_input {
        min-height: 2.85rem;
        width: 100% !important;
        max-width: 100% !important;
        font-size: 0.95rem;
        border-radius: 12px;
        }

        .account-details .account-default-epsg-picker {
        max-width: 42rem !important;
        }

        .account-details .account-default-epsg-picker .dotvvm-bp-primitive_input {
        box-sizing: border-box;
        padding: 0.5rem 2.75rem 0.5rem 0.75rem;
        }

/* Extracted from AziMap2015/GeoAppCore/Views/AdminPages/HubManagement.dothtml */
.hub-management-layout { max-width: 1440px; }
        .hub-management-main {
            min-width: 0;
        }
        @media (min-width: 992px) {
            .hub-management-main {
                flex: 1 1 auto;
                max-width: calc(100% - 21.5rem);
            }
        }
        .hub-management-card {
            overflow: hidden;
        }
        .hub-management-card > .card-header {
            background: #fff;
            border-bottom: 1px solid #dee2e6;
            padding: .75rem .75rem 0;
        }
        .hub-management-tabs {
            border-bottom: 0;
            gap: .25rem;
        }
        .hub-management-tabs .nav-link {
            background: transparent;
            border-color: transparent;
            border-radius: .35rem .35rem 0 0;
            color: #495057;
            padding: .65rem 1rem;
        }
        .hub-management-tabs .nav-link.active {
            background: #fff;
            border-color: #dee2e6 #dee2e6 #fff;
            color: #212529;
            font-weight: 600;
        }
        .hub-management-table {
            min-width: 48rem;
        }
        .hub-custom-css-help-modal-body {
            max-height: calc(100vh - 12rem);
            overflow-y: auto;
        }

/* Extracted from AziMap2015/GeoAppCore/Views/AdminPages/RecycleBin.dothtml */
.recycle-bin-page {
        height: 100dvh;
        min-height: 0;
        overflow: hidden;
        }

        .recycle-bin-content {
        min-height: 0;
        }

        .recycle-bin-main {
        min-width: 0;
        min-height: 0;
        }

        .recycle-bin-card {
        min-height: 0;
        }

        .recycle-bin-card > .card-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
        }

        .recycle-bin-admin-menu {
        flex: 0 0 auto;
        min-height: 0;
        overflow-y: auto;
        }

        .recycle-bin-search-popout {
        min-width: min(22rem, 50vw);
        }

        .recycle-bin-toolbar-end {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.75rem;
        flex-wrap: wrap;
        }

        .recycle-bin-bulk-actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
        }

        .recycle-bin-pager {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        flex-wrap: wrap;
        }

        .recycle-bin-table-shell {
        height: 100%;
        max-height: none;
        overflow: auto;
        }

        .recycle-bin-table thead th {
        position: sticky;
        top: 0;
        z-index: 2;
        background: var(--bs-table-bg, #f8f9fa);
        }

        @media (max-width: 991.98px) {
        .recycle-bin-page {
        height: auto;
        min-height: auto;
        overflow: visible;
        }

        .recycle-bin-content,
        .recycle-bin-main,
        .recycle-bin-card {
        min-height: auto;
        }

        .recycle-bin-card > .card-body {
        overflow: visible;
        }

        .recycle-bin-admin-menu {
        overflow: visible;
        }

        .recycle-bin-toolbar-end {
        width: 100%;
        justify-content: space-between;
        }

        .recycle-bin-table-shell {
        height: auto;
        max-height: 60vh;
        }
        }

.create-dataset-success-panel {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #f4fbf7;
    border-color: #bfe7ce;
}

.create-dataset-success-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #16784b;
    background: #dff5e8;
}

.create-dataset-success-content {
    min-width: 0;
}

.create-dataset-success-kicker {
    margin: 0 0 0.35rem;
    color: #16784b;
    font-weight: 700;
}

.create-dataset-success-title {
    margin-bottom: 0.5rem;
}

.create-dataset-success-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.create-dataset-success-tip {
    border: 1px solid #cfe2f3;
    border-radius: 12px;
    background: #f4f9ff;
    color: #254b68;
    padding: 0.85rem 1rem;
}


@media (max-width: 575px) {
    .create-dataset-success-panel {
        flex-direction: column;
    }
}

.az-projection-picker {
    position: relative;
    display: block;
    width: 100%;
    max-width: 42rem;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.az-projection-picker-search-icon {
    content: "";
    position: absolute;
    top: 50%;
    left: 0.9rem;
    width: 0.8rem;
    height: 0.8rem;
    border: 2px solid #55708a;
    border-radius: 50%;
    transform: translateY(-58%);
    pointer-events: none;
}

.az-projection-picker-search-icon::after {
    content: "";
    position: absolute;
    right: -0.36rem;
    bottom: -0.28rem;
    width: 0.42rem;
    height: 2px;
    border-radius: 999px;
    background: #55708a;
    transform: rotate(45deg);
}

.az-projection-picker-input {
    width: 100%;
    max-width: 42rem;
    padding-left: 2.35rem !important;
    padding-right: 4.8rem !important;
    border: 3px solid #e9f0fc !important;
    border-radius: 15px !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.az-projection-picker-input:focus {
    border-color: #d9e7fb !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.az-projection-picker-toggle,
.az-projection-picker-clear {
    position: absolute;
    top: 50%;
    width: 1.8rem;
    height: 1.8rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #55708a;
    transform: translateY(-50%);
    cursor: pointer;
}

.az-projection-picker-toggle {
    right: 0.55rem;
}

.az-projection-picker-toggle::before {
    content: "";
    position: absolute;
    top: 0.68rem;
    left: 0.55rem;
    width: 0;
    height: 0;
    border-left: 0.34rem solid transparent;
    border-right: 0.34rem solid transparent;
    border-top: 0.42rem solid currentColor;
}

.az-projection-picker-open .az-projection-picker-toggle::before {
    border-top: 0;
    border-bottom: 0.42rem solid currentColor;
}

.az-projection-picker-clear {
    right: 2.3rem;
    opacity: 0;
    pointer-events: none;
}

.az-projection-picker-clear::before,
.az-projection-picker-clear::after {
    content: "";
    position: absolute;
    top: 0.85rem;
    left: 0.48rem;
    width: 0.82rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.az-projection-picker-clear::before {
    transform: rotate(45deg);
}

.az-projection-picker-clear::after {
    transform: rotate(-45deg);
}

.az-projection-picker-clear-visible {
    opacity: 1;
    pointer-events: auto;
}

.az-projection-picker-toggle:hover,
.az-projection-picker-toggle:focus,
.az-projection-picker-clear:hover,
.az-projection-picker-clear:focus {
    background: #eef6ff;
    color: #0b5ed7;
    outline: 0;
}

.az-projection-picker-list {
    display: none;
    position: absolute;
    top: calc(100% + 0.2rem);
    left: 0;
    z-index: 1065;
    width: 100%;
    max-width: 42rem;
    max-height: 19rem;
    margin-top: 0;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #d5dfec;
    border-radius: 12px;
    box-shadow: 0 0.55rem 1rem rgba(23, 50, 72, 0.12);
}

.az-projection-picker-open .az-projection-picker-list {
    display: block;
}

.az-projection-picker-list-portaled {
    display: block;
    position: fixed;
    inset: auto;
    margin: 0;
    padding: 0;
    color: inherit;
    z-index: 3000;
}

.az-projection-picker-list-inline {
    position: absolute;
    top: calc(100% + 0.2rem);
    left: 0;
    width: 100%;
    max-width: 100%;
    z-index: 5;
}

.az-projection-picker-list-portaled:popover-open {
    display: block;
    position: fixed;
    inset: auto;
    margin: 0;
    padding: 0;
}

.az-projection-picker-option {
    display: block;
    width: 100%;
    min-height: 2.35rem;
    padding: 0.5rem 0.85rem;
    border: 0;
    background: #fff;
    color: #173248;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.3;
}

.az-projection-picker-option:hover,
.az-projection-picker-option:focus {
    background: #f3f8ff;
    color: #0b5ed7;
}

.az-projection-picker-option-disabled,
.az-projection-picker-option-disabled:hover,
.az-projection-picker-option-disabled:focus {
    color: #6b7280;
    background: #f8fafc;
    cursor: default;
}

.az-projection-picker-loading .az-projection-picker-input {
    cursor: progress;
}
