html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

.login-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.login-card {
    position: relative;
    width: 450px;
    left: calc(50% - 200px);
    padding: 44px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#sidebar-heading {
    padding: 0.875rem 1.25rem;
    font-size: 2rem;
}

#sidebar-footer {
    position: absolute;
    bottom: 0;
    padding: 0.875rem 1.25rem;
    width: 100%;
}
#sidebar-footer a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition:
            background-color 0.3s ease-in-out,
            padding-left 0.3s ease-in-out;
    background-color: rgba(128, 128, 128, 0);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem 0.5rem 0;
}
#sidebar-footer a:hover {
    background-color: rgba(128, 128, 128, 0.25);
    padding-left: 0.75rem;
}

#wrapper {
    display: flex;
}

#sidebar-wrapper {
    min-width: 250px;
    max-width: 250px;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    /*position: relative;*/
    position: fixed;
    top: 0;

    a {
        color: white;
        text-decoration: none;
    }

    .nav-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin: 0.5rem 0.5rem;
        padding: 0.6rem 0.75rem 0.6rem 0;
        border-radius: 0.5rem;
        cursor: pointer;
        transition:
                background-color 0.3s ease-in-out,
                padding-left 0.3s ease-in-out,
                color 0.3s ease-in-out;
        width: calc(100% - 1rem);
        height: calc(100% - 1rem);
        background-color: var(--bs-dark);
        color: var(--bs-light);
    }

    .nav-item:hover {
        background-color: rgba(128, 128, 128, 0.25);
        padding-left: 0.25rem;
    }

    .nav-item a {
        text-decoration: none;
        color: inherit;
    }

    .nav-item i {
        margin-right: 0.5rem;
    }
}

[data-bs-theme='dark'] #sidebar-wrapper {
    border-right: 1px solid rgb(95,98,100);
}

#page-content-wrapper {
    flex: 1;
    width: calc(100% - 250px);
    padding-left: 250px;
}

.dark-mode-toggle {
    position: fixed;
    bottom: 12px;
    right: 20px;
    z-index: 1000;
    cursor: pointer;
    opacity: 0.5;
    font-size: 1.5rem;
}
.dark-mode-toggle:hover {
    opacity: 1;
}

.a-no-style {
    text-decoration: none;
    color: inherit;
}

text {
    cursor: default;
}
text[pointer] {
    cursor: pointer;
}

.cursor-pointer {
    cursor: pointer;
}

.accordion-button:not(.collapsed) {
    background-color: var(--bs-accordion-btn-bg) !important;
}

.btn { }
.btn::before {
    content: '';
    display: none;
}
.btn[nero-loading]::before {
    content: '\f110';
    /*noinspection CssNoGenericFontName*/
    font-family: FontAwesome;
    display: inline-block;
    animation: fa-spin 2s infinite linear;
}
.btn[nero-loading] { }
.btn[nero-loading] * {
    display: none !important;
}
@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/*.toast {*/
/*  --bs-toast-bg: rgba(255, 255, 255, 1) !important;*/
/*}*/
/*html[data-bs-theme='dark'] .toast {*/
/*  --bs-toast-bg: rgba(0, 0, 0, 1) !important;*/
/*}*/

.toast {
    --bs-toast-bg: var(--bs-body-bg) !important;
}

.action-section {
    border: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color) !important;
    border-radius: var(--bs-accordion-border-radius);

    .accordion-button {
        box-shadow: none !important;
        border-radius: var(--bs-accordion-border-radius);
        [aria-expanded="true"] {
            border-radius: var(--bs-accordion-border-radius) var(--bs-accordion-border-radius) 0 0;
        }
    }
    
    .alert {
        border: none;
        border-radius: 0 0 var(--bs-accordion-border-radius) var(--bs-accordion-border-radius);
    }
}
