html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}
.container-scroller {
    overflow: visible !important;
}
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.body-top-margin {
    margin-top: 4.78%;
}
/* ========================================================
    Sidebar Scroll Fix (Restricted to Desktop/Tablet Only)
=========================================================== */
@media (min-width: 992px) {
    .page-body-wrapper {
        display: flex;
        align-items: stretch;
    }

    #sidebar {
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        position: sticky;
        top: 0;
        flex-direction: column;
    }

    .main-panel {
        flex: 1;
        min-height: 100vh;
        height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        position: sticky;
        top: 0;
    }


    .body-top-margin {
        margin-top: 4.78%;
    }
}

/* Keeps these structural helper classes active across both layouts */
.sidebar-profile {
    flex-shrink: 0;
}

.sidebar-menu-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}
