body {
    background-color: lightgray;
}

/* Mobile modals behave as full-screen panels that slide in from the right. */
@media (max-width: 768px) {
    .modal {
        padding: 0 !important;
        overflow: hidden !important;
    }

    .modal.fade .modal-dialog,
    .modal.fade .modal-dialog.modal-fullheight {
        width: 100% !important;
        max-width: none !important;
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        margin: 0 !important;
        align-items: stretch !important;
        transform: translateX(100%) !important;
        transition: transform 0.28s ease !important;
    }

    .modal.show .modal-dialog,
    .modal.show .modal-dialog.modal-fullheight {
        transform: translateX(0) !important;
    }

    .modal .modal-content,
    .modal .modal-content.modal-content-fullheight {
        width: 100% !important;
        max-width: none !important;
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        max-height: 100dvh !important;
        margin: 0 !important;
        border-radius: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .modal .modal-header {
        min-height: 56px;
        padding: max(8px, env(safe-area-inset-top)) 14px 8px !important;
        align-items: center;
        flex: 0 0 auto !important;
        border-top: 0 !important;
        border-left: 0 !important;
        border-right: 0 !important;
    }

    .modal .modal-title {
        min-width: 0;
        overflow: hidden;
        font-size: 18px;
        font-weight: 600;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .modal .close-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 0;
        flex: 0 0 44px;
        font-size: 18px;
    }

    .modal .modal-body,
    .modal .modal-body.modal-body-scrollable {
        flex: 1 1 auto !important;
        min-height: 0;
        max-height: none !important;
        padding: 14px 12px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        border-left: 0;
        border-right: 0;
    }

    .modal .modal-footer {
        flex: 0 0 auto !important;
        gap: 8px;
        padding: 10px 12px max(10px, env(safe-area-inset-bottom)) !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
        border-left: 0 !important;
    }

    .modal .modal-footer button {
        min-height: 44px;
        padding: 10px 14px;
        font-size: 14px !important;
    }

    .modal .modal-form {
        grid-template-columns: minmax(0, 1fr);
        margin-right: 0;
    }

    .modal .field-values input {
        border-left: 1px solid #d6d9dc;
    }
}


.top-loading-bar[data-v-af059e74] {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 20000;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}
.top-loading-bar.is-visible[data-v-af059e74] {
    opacity: 1;
    transition: opacity 0.1s ease;
}
.top-loading-bar-fill[data-v-af059e74] {
    height: 100%;
    background-color: #30475E;
    box-shadow: 0 0 8px rgba(48, 71, 94, 0.6);
    transition: width 0.2s ease;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    background-color: #ededed;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
html {
    -webkit-text-size-adjust: 100%;
}
body {
    min-width: 320px;
}
button,
input,
select,
textarea {
    font: inherit;
}
img,
svg {
    max-width: 100%;
}

