:root {
    --app-sidebar-width: 250px;
}

body {
    min-height: 100vh;
}

.app-shell {
    min-height: 100vh;
}

.app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--app-sidebar-width);
    overflow-y: auto;
    background: #10243e;
    z-index: 1030;
}

.app-sidebar .nav-link,
.offcanvas .nav-link {
    color: rgba(255,255,255,.78);
    border-radius: .5rem;
}

.app-sidebar .nav-link:hover,
.app-sidebar .nav-link:focus,
.offcanvas .nav-link:hover,
.offcanvas .nav-link:focus {
    color: #fff;
    background: rgba(255,255,255,.09);
}

.app-sidebar .nav-link.active,
.offcanvas .nav-link.active {
    color: #fff;
    background: #0d6efd;
}

.sidebar-heading {
    margin: 1rem .75rem .35rem;
    color: rgba(255,255,255,.45);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.app-main {
    min-height: 100vh;
    margin-left: var(--app-sidebar-width);
}

.app-content {
    max-width: 1600px;
}

.avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e7f0ff;
    color: #0d6efd;
    font-weight: 700;
}

.login-card {
    max-width: 440px;
}

.metric-value {
    font-size: 1.9rem;
    font-weight: 700;
}

.rank-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary-text-emphasis);
    font-weight: 700;
    flex: 0 0 auto;
}

textarea.form-control {
    min-height: 100px;
}

@media (max-width: 991.98px) {
    :root {
        --app-sidebar-width: 220px;
    }
}

@media (max-width: 767.98px) {
    .app-sidebar {
        position: static;
        width: 100%;
        min-height: auto;
    }

    .app-main {
        margin-left: 0;
    }
}
