[x-cloak] { display: none !important; }

/** ======== main sidebar ========== **/
.main-sidebar {
    height: 100vh;
}

.sidebar {
    height: calc(100vh - (10rem)) !important;
    overflow-y: scroll;
}

/* Brand Image */
.brand-link {
    height: 10rem;
    overflow: hidden;
    padding: 20px 0px !important;
}

.brand-link .brand-image {
    display: block;
    max-height: none;
    margin: auto;
    float: none;
    width: 80px;
    margin-bottom: 10px;
}

.brand-link .brand-text {
    display: block;
    text-align: center;
}

/* ================== NAVBAR ================== */
.user-panel .image {
    margin: auto 10px;
    padding-left: 0px;
}

.user-panel .info {
    padding: 0px;
    color: #fff;
}

/* Navbar */
.dropdown-menu {
    margin-top: 10px;
}

.posayam-profile .posayam-profile-btn {
    display: block;
    padding: 10px;
}

.posayam-profile .image {
    width: 30px;
}

.posayam-profile .image img {
    width: 100%;
    height: 100%;
}

.posayam-profile .dropdown-menu .account-profile {
    min-width: 200px;
    padding: 10px 25px 25px 25px;
    display: flex;
    align-items: center;
}

.posayam-profile .dropdown-menu .account-profile .image {
    width: 50px;
}

.posayam-profile .dropdown-menu .account-profile .info {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
}

.posayam-profile .dropdown-menu .account-profile .info #name {
    white-space: nowrap;
    font-weight: bold;
}

.posayam-profile .dropdown-menu .account-profile .info #account-type {
    font-size: 12px;
    font-weight: normal;
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Modal */
@media (min-width: 576px) {
    .pos-modal-dialog{
        max-width: 40rem;
        margin: 1.75rem auto;
        padding: 10px;
    }
}

.pos-modal-dialog{
    margin: inherit auto;
}