html {
    -webkit-text-size-adjust: 100%;
}

body.dk-app-shell {
    margin: 0;
}

.dk-app-shell *,
.dk-app-shell *::before,
.dk-app-shell *::after {
    box-sizing: border-box;
}

.dk-app-shell img,
.dk-app-shell video,
.dk-app-shell iframe,
.dk-app-shell svg {
    height: auto;
    max-width: 100%;
}

.dk-app-shell #container,
.dk-app-shell .wrapper,
.dk-app-shell .container,
.dk-app-shell .container-fluid,
.dk-app-shell main,
.dk-app-shell section,
.dk-app-shell article {
    min-width: 0;
}

.dk-app-shell .table-responsive,
.dk-app-shell [class*="table-scroll"],
.dk-app-shell [class*="table-wrap"] {
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

@media (max-width: 900px) {
    body.dk-app-shell {
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .dk-home-shell .dk-header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .dk-home-shell .dk-header-inner {
        padding-left: max(14px, env(safe-area-inset-left));
        padding-right: max(14px, env(safe-area-inset-right));
    }

    .dk-app-shell button,
    .dk-app-shell input[type="button"],
    .dk-app-shell input[type="submit"],
    .dk-app-shell .btn,
    .dk-app-shell select,
    .dk-app-shell .form-control {
        min-height: 44px;
        touch-action: manipulation;
    }

    .dk-app-shell .table-responsive {
        border: 0;
        margin-bottom: 12px;
    }

    .dk-app-shell .modal-dialog {
        margin: 12px auto;
        max-width: calc(100vw - 24px);
        width: auto;
    }

    .dk-app-shell .modal-content {
        border: 0;
        border-radius: 16px;
        max-height: calc(100dvh - 24px);
        overflow: hidden;
    }

    .dk-app-shell .modal-body {
        -webkit-overflow-scrolling: touch;
        max-height: calc(100dvh - 92px);
        overflow-y: auto;
    }

    .dk-app-shell #feedback {
        display: none !important;
    }

    .dk-home-shell #myModal-sign-in .nav-tabs {
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .dk-home-shell #myModal-sign-in .nav-tabs > li {
        flex: 0 0 auto;
    }
}

@media (max-width: 600px) {
    .dk-app-shell input,
    .dk-app-shell select,
    .dk-app-shell textarea {
        font-size: 16px;
    }

    .dk-app-shell .modal-dialog {
        margin: 0;
        max-width: 100%;
        min-height: 100dvh;
    }

    .dk-app-shell .modal-content {
        border-radius: 0;
        min-height: 100dvh;
    }

    .dk-app-shell .modal-body {
        max-height: calc(100dvh - 64px);
    }
}

@media (display-mode: standalone) {
    .dk-home-shell .dk-header-inner {
        padding-top: max(12px, env(safe-area-inset-top));
    }
}
