/* assets/css/app.css
   Small, hand-written stylesheet that complements Bootstrap 5. Keep this
   minimal so the UI stays light and easy to skim. */

:root {
    --layout-sidebar-width: 240px;
}

body.layout-app .layout-shell {
    display: grid;
    grid-template-columns: var(--layout-sidebar-width) 1fr;
    min-height: calc(100vh - 56px);
}

@media (max-width: 767.98px) {
    body.layout-app .layout-shell {
        grid-template-columns: 1fr;
    }
}

body.layout-app .layout-sidebar {
    border-right: 1px solid var(--bs-border-color);
    overflow-y: auto;
    max-height: calc(100vh - 56px);
    position: sticky;
    top: 56px;
}

body.layout-app .layout-sidebar .nav-link {
    color: var(--bs-body-color);
    border-radius: .375rem;
    padding: .35rem .75rem;
}
body.layout-app .layout-sidebar .nav-link:hover,
body.layout-app .layout-sidebar .nav-link.active {
    background-color: var(--bs-secondary-bg);
}

body.layout-app .layout-main {
    min-width: 0;
}

body.layout-bare {
    background-color: var(--bs-body-bg);
}
body.layout-bare main.container {
    max-width: 480px;
    margin-top: 4rem;
}

/* Drag-and-drop sortable list cue */
.sortable-list .sortable-handle {
    cursor: grab;
}
.sortable-list .sortable-ghost {
    opacity: .5;
}

/* Form helpers */
.form-help {
    font-size: .825rem;
    color: var(--bs-secondary-color);
}
