 /* Footer: flush with bottom from first paint (no safe-area gap in WebView) */
    #footer-bar.footer-bar-6 {
        align-items: center;
    }
    #footer-bar:not(.md-nav-menu__close-bar),
    #footer-bar.footer-bar-6,
    #footer-bar.footer-bar-6.md-bottom-nav {
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 64px !important;
        max-height: 64px !important;
        min-height: 64px !important;
        padding: 0 !important;
        padding-bottom: 0 !important;
        margin: 0 !important;
        margin-bottom: 0 !important;
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: space-around;
        flex-shrink: 0;
        flex-grow: 0;
        overflow: visible;
        transform: none !important;
        transition: none !important;
    }

    html.is-webview #footer-bar:not(.md-nav-menu__close-bar),
    html.is-webview #footer-bar.footer-bar-6,
    html.is-webview #footer-bar.footer-bar-6.md-bottom-nav,
    body.is-webview #footer-bar:not(.md-nav-menu__close-bar),
    body.is-webview #footer-bar.footer-bar-6,
    body.is-webview #footer-bar.footer-bar-6.md-bottom-nav {
        bottom: 0 !important;
        height: 64px !important;
        max-height: 64px !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        transform: none !important;
    }

    #footer-bar.footer-bar-6 a {
        color: #000;
        flex: 1 1 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-width: 0;
        flex-shrink: 0;
    }

    /* Android 16 WebView: dynamic viewport, safe areas, no overflow */
    :root {
        --vh: 1vh;
    }

    html {
        -webkit-text-size-adjust: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }

    body {
        font-family: Jost !important;
        margin: 0;
        padding: 0;
        padding-left: env(safe-area-inset-left, 0);
        padding-right: env(safe-area-inset-right, 0);
        min-height: 100dvh;
        min-height: 100svh;
        min-height: calc(var(--vh, 1vh) * 100);
        height: auto;
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        display: flex;
        flex-direction: column;
    }

    #page {
        flex: 1 1 auto;
        min-height: 0;
        display: flex;
        flex-direction: column;
    }

    .page-content,
    .all-content {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 72px;
    }
        .header.header-fixed {
        z-index: 100 !important;
    }

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
span {
    font-family: Jost !important;
}
p {
    margin-bottom: 10px;
    padding-bottom: 0;
}
.btn-xxs, .btn-xs, .btn-s, .btn-sm, .btn-m, .btn-l {
    font-size: 0.62rem !important;
}

table.dataTable thead th,
table.dataTable thead td {
    border-bottom: 1px solid #dee2e6;
}
.note-frame {
    color: #000;
    font-family: sans-serif;
    background: white;
}
.bg1{
    margin: 0px -13px 18px;
    background: #dee2e6;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
    padding: 1rem !important;
}

.bg2{
    margin: 0px -13px 5px;
    background: #dee2e6;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
    padding: 1rem !important;
}
.speach-icon a {
    padding-top: 0 !important;
    display: block;
    border-radius: 35px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    margin-top: 0px;
    transform: translateY(0px);
}
.speach-input input {
    width: 100%;
    display: block;
    line-height: 45px;
    height: 45px;
    margin-top: 0px;
    border-radius: 5px;
}
.author-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Aligns items vertically centered */
}
.author {
    flex-grow: 1; /* Allows the author section to take available space */
}

.justify-content-between {
    justify-content: space-between;
}

.card-style {
    overflow: hidden;
    margin: 0 8px 30px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, .1);
}

.card-shadow {
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, .1);
}
.lg-outer {
    background: #585858  !important;
    border-bottom: 3px solid #000 !important;
}
.lg-toolbar {
    background: #000;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
}

.z-depth-1 {
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !important;
}

.z-depth-1-half {
    box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15) !important;
}

.z-depth-2 {
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
}

.z-depth-3 {
    box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19) !important;
}

.z-depth-4 {
    box-shadow: 0 16px 28px 0 rgba(0, 0, 0, 0.22), 0 25px 55px 0 rgba(0, 0, 0, 0.21) !important;
}

.z-depth-5 {
    box-shadow: 0 27px 24px 0 rgba(0, 0, 0, 0.2), 0 40px 77px 0 rgba(0, 0, 0, 0.22) !important;
}

#footer-bar a span {
    font-family: Jost !important;
}

.header .header-icon {
    font-size: 22px;
}

.header .header-title {
    font-size: 17px;
}

.text-left {
    text-align: left;
}

.img-profile {
    width: 60px;
    height: 60px;
    border: 1px solid #dee2e6;
    border-radius: 30px;
}

.card-style {
    overflow: hidden;
    margin: 0 8px 10px;
    border-radius: 9px;
    border: none;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, .1);
}

 .card-filter {
        position: fixed !important;
        top: calc(50px + (env(safe-area-inset-top)) * 0.8) !important;
        left: 0;
        right: 0;
        z-index: 100 !important;
        margin: 0px 0px 0px 0px;
        border-radius: 0px;
        backdrop-filter: saturate(180%) blur(20px);
        background-color: rgba(255, 255, 255, .7);
    }

.no-margin {
    margin: 0 15px 30px;
    border-radius: 0px;
}

.border_collapse {
    border: 1px solid #e9ecef;
    margin: 3px 10px;
}

.btn-full{
    font-weight:600;
    text-transform: uppercase;
}
.accordion button {
    border-bottom: 1px solid #f0f0f0;
}

.space_evenly {
    display: flex;
    justify-content: space-between;
}

.item_space {
    flex: 1;
    margin-left: 3px;
}

.btn-default {
    color: #fff;
    background-color: #aab2bd;
    border-color: #aab2bd;
}

.uppercase{
    text-transform: uppercase;
}

.mail-icon {
    width: 20px;
    height: 20px;
}

.btn-light {
    background-color: #434a54 !important;
    color: #fff !important;
}

.note-btn.dropdown-toggle:after {
    content: none;
}

.menu .input-style input,
.menu .input-style select {
    background-color: #f1f1f1 !important;
}
.menu-title a {
    font-size: 28px;
}
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    float: none;
    text-align: center;
    margin-bottom: 10px;
}

.dataTables_wrapper .dataTables_filter input {
    border: 2px solid #1f1f1f;
    border-radius: 3px;
    padding: 5px;
    background-color: #f8f9fa;
    margin-left: 3px;
    width: 100%;
}

.w-35 img {
    height: 120px;
    border-radius: 15px !important;
    object-fit: cover;
    border: 4px solid #4a89dc;
}

/* Remove tap highlight */
* {
    -webkit-tap-highlight-color: transparent;
}


/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* iOS scrolling */
}

#snow-container {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 999; 
    pointer-events: none; 
}

/* If you have a canvas element inside, you might want to add this too */
#snow-container canvas {
    pointer-events: none;
}
