:root {
    /* Tells the browser this page is designed for a light background, so
       browser/OS "force dark mode" features don't auto-invert our custom
       gradients and hand-picked colors into low-contrast combinations. */
    color-scheme: light;
}

body {
    background-color: #f5f6f8;
}

.navbar-brand {
    font-weight: 600;
}

.navbar.bg-dark:has(.public-brand) {
    background-color: #ffffff !important;
    border-bottom: 1px solid #d8e7f8;
    box-shadow: 0 1px 8px rgba(24, 63, 102, 0.08);
}

.navbar.bg-dark:has(.public-brand) .navbar-toggler {
    border-color: rgba(13, 110, 253, 0.28);
}

.navbar.bg-dark:has(.public-brand) .navbar-toggler-icon {
    filter: invert(28%) sepia(80%) saturate(2111%) hue-rotate(208deg) brightness(99%) contrast(98%);
}

.navbar.bg-dark:has(.public-brand) .nav-link {
    color: #4b5f78;
}

.navbar.bg-dark:has(.public-brand) .nav-link:hover,
.navbar.bg-dark:has(.public-brand) .nav-link:focus {
    color: #0d6efd;
}

.navbar.bg-dark:has(.public-brand) .navbar-collapse {
    align-items: center;
}

.card-stat {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.public-brand {
    display: flex;
    align-items: center;
    margin-right: 2rem;
    padding-top: 0;
    padding-bottom: 0;
}

.public-brand img {
    display: block;
    width: 152px;
    height: 50px;
    object-fit: contain;
    object-position: left center;
}

.public-nav .nav-link {
    font-weight: 500;
}

.donate-nav-link {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    margin-inline: 0.25rem;
    padding-inline: 0.85rem !important;
    color: #b42335 !important;
    background: #fff0f3 !important;
    border: 1px solid #ffd6de !important;
    border-radius: 999px;
    font-weight: 700 !important;
    text-align: left;
    text-decoration: none;
}

.donate-nav-link:hover,
.donate-nav-link:focus {
    color: #8f1d2b !important;
    background: #ffe2e8 !important;
}

.donate-nav-link .bi {
    font-size: 0.9rem;
}

.donate-modal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    color: #dc3545;
    background: #fff0f3;
    border-radius: 0.5rem;
    font-size: 1.25rem;
}

.donate-modal .modal-body {
    color: #4b5f78;
}

#donateModal .donate-dialog {
    width: min(92vw, 420px) !important;
    max-width: 420px !important;
}

.donate-modal .modal-header,
.donate-modal .modal-body,
.donate-modal .modal-footer {
    padding: 1rem 1.1rem !important;
}

.donate-modal .modal-title {
    font-size: 1.25rem !important;
    font-weight: 700;
}

.donate-modal .btn-close {
    width: 0.75rem !important;
    height: 0.75rem !important;
}

.donate-modal-message {
    font-size: 0.98rem !important;
    line-height: 1.5 !important;
}

.donate-modal .settings-kicker {
    font-size: 0.72rem !important;
}

.donate-modal .modal-footer .btn {
    font-size: 0.95rem !important;
    padding: 0.5rem 0.9rem !important;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.82fr);
    align-items: stretch;
    gap: 1.5rem;
    max-width: 1120px;
    margin: 2.25rem auto;
}

.auth-brand-panel {
    display: flex;
    min-height: 520px;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    overflow: hidden;
    color: #162334;
    background: linear-gradient(135deg, #f8fbff, #e6f1ff);
    border: 1px solid #d8e7f8;
    border-radius: 0.5rem;
    box-shadow: 0 18px 40px rgba(24, 63, 102, 0.14);
}

.auth-logo {
    width: min(360px, 76%);
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.auth-copy {
    max-width: 560px;
}

.auth-copy h1 {
    margin-bottom: 0.85rem;
    color: #111827;
    font-size: clamp(2rem, 3.5vw, 3.15rem);
    font-weight: 700;
    line-height: 1.08;
}

.auth-copy p {
    max-width: 460px;
    margin-bottom: 0;
    color: #4b5f78;
    font-size: 1.08rem;
}

.auth-feature-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.auth-feature-list div {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.75rem;
    color: #32465f;
    background: #fff;
    border: 1px solid #d8e7f8;
    border-radius: 0.5rem;
    font-weight: 600;
}

.auth-feature-list .bi {
    color: #0d6efd;
}

.auth-card {
    align-self: center;
    padding: 2rem;
}

.auth-card-header {
    margin-bottom: 1.5rem;
}

.auth-kicker {
    display: block;
    margin-bottom: 0.35rem;
    /* #0d6efd (Bootstrap primary) is ~3.7:1 on white - fails WCAG AA for text
       this small. #0a58ca is Bootstrap's own accessible "emphasis" shade. */
    color: #0a58ca;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-card h2 {
    margin-bottom: 0;
    font-size: 2rem;
    font-weight: 700;
}

.auth-switch {
    margin: 1rem 0 0;
    color: #6c757d;
}

.auth-switch-box {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    color: #6c757d;
    background: #f8fbff;
    border: 1px solid #d8e7f8;
    border-radius: 0.5rem;
}

.auth-shell-centered .auth-brand-panel {
    min-height: 420px;
}

/* Bootstrap's default <code> color (a pink, ~#d63384) is low-contrast against
   the alert-secondary background it sits on here - and it's login credentials,
   so it actually needs to be read. Style it as a plain high-contrast chip instead. */
.dev-admin-note code {
    padding: 0.1rem 0.4rem;
    color: #212529;
    background-color: rgba(0, 0, 0, 0.08);
    border-radius: 0.25rem;
    font-weight: 600;
}

.settings-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.settings-header .btn,
.settings-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.settings-kicker {
    display: block;
    margin-bottom: 0.3rem;
    color: #0a58ca;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.settings-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.25rem;
}

.settings-main,
.settings-side {
    display: grid;
    align-content: start;
    gap: 1.25rem;
}

.settings-card {
    padding: 1.25rem;
}

.settings-card-heading {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.settings-card-heading > .bi,
.settings-note > .bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    color: #0d6efd;
    background: #e8f2ff;
    border-radius: 0.5rem;
    font-size: 1.25rem;
}

.settings-card-heading h4,
.settings-note h5 {
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.settings-card-heading p,
.settings-note p {
    margin-bottom: 0;
    color: #6c757d;
}

.settings-note {
    background: #f8fbff;
    border: 1px solid #d8e7f8;
}

.settings-note > .bi {
    margin-bottom: 1rem;
}

.settings-summary {
    display: grid;
    grid-template-columns: 1fr auto;
    row-gap: 0.65rem;
    margin-bottom: 1.25rem;
}

.settings-summary dt {
    color: #6c757d;
    font-weight: 500;
}

.settings-summary dd {
    margin-bottom: 0;
    text-align: right;
}

.settings-check {
    display: flex;
    align-items: center;
    padding-top: 1.5rem;
}

.settings-check .form-check,
.settings-check .mb-3 {
    margin-bottom: 0 !important;
}

.dashboard-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.dashboard-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.btn .bi {
    line-height: 1;
}

.dashboard-stat {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
}

.dashboard-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    min-width: 2.75rem;
    height: 2.75rem;
    color: #0d6efd;
    background: #e8f2ff;
    border-radius: 0.5rem;
    font-size: 1.35rem;
}

.invoice-editor-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.invoice-editor-header .btn,
.invoice-action-bar .btn,
.invoice-editor-card > .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.invoice-editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    gap: 1.25rem;
    align-items: start;
}

.invoice-editor-main {
    display: grid;
    gap: 1.25rem;
}

.invoice-editor-card {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
}

.invoice-card-heading,
.invoice-preview-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.invoice-card-heading {
    justify-content: flex-start;
}

.invoice-card-heading > .bi,
.invoice-preview-heading > .bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    color: #0d6efd;
    background: #e8f2ff;
    border-radius: 0.5rem;
    font-size: 1.25rem;
}

.invoice-card-heading h5 {
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.invoice-card-heading p {
    margin-bottom: 0;
    color: #6c757d;
}

.invoice-preview-panel {
    position: sticky;
    top: 1rem;
}

.invoice-preview-card {
    padding: 1rem;
}

.invoice-preview-card iframe {
    width: 100%;
    height: calc(100vh - 12rem);
    min-height: 520px;
    border: 0;
    background: #f8f9fa;
    border-radius: 0.375rem;
}

.invoice-action-bar {
    position: sticky;
    bottom: 1rem;
    z-index: 20;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
}

.profile-header {
    margin-bottom: 1.25rem;
}

.profile-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.25rem;
    align-items: start;
}

.profile-card {
    padding: 1.25rem;
}

.profile-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.profile-card-heading {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.profile-card-heading > .bi,
.profile-security > .bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    color: #0d6efd;
    background: #e8f2ff;
    border-radius: 0.5rem;
    font-size: 1.25rem;
}

.profile-card-heading h5,
.profile-security h5 {
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.profile-card-heading p,
.profile-security p {
    margin-bottom: 0;
    color: #6c757d;
}

.profile-side {
    display: grid;
    gap: 1.25rem;
}

.profile-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    color: #0d6efd;
    background: #e8f2ff;
    border-radius: 50%;
    font-size: 1.7rem;
    font-weight: 700;
}

.profile-security {
    background: #f8fbff;
    border: 1px solid #d8e7f8;
}

.profile-security > .bi {
    margin-bottom: 1rem;
}

.tools-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
    align-items: center;
    gap: 2rem;
    min-height: 430px;
    padding: clamp(1.5rem, 4vw, 3rem);
    overflow: hidden;
    color: #162334;
    background: linear-gradient(135deg, #f8fbff, #e6f1ff);
    border: 1px solid #d8e7f8;
    border-radius: 0.5rem;
    box-shadow: 0 18px 40px rgba(24, 63, 102, 0.14);
}

.tools-logo {
    display: block;
    width: min(350px, 78%);
    height: auto;
    margin-bottom: 1.25rem;
}

.tools-hero h1 {
    max-width: 720px;
    margin-bottom: 1rem;
    color: #111827;
    font-size: clamp(2.1rem, 4vw, 3.8rem);
    font-weight: 700;
    line-height: 1;
}

.tools-hero p {
    max-width: 560px;
    margin-bottom: 1.5rem;
    color: #4b5f78;
    font-size: 1.12rem;
}

.tools-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tools-hero-actions .btn,
.tool-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.tools-preview {
    display: flex;
    justify-content: center;
}

.paper-preview {
    width: min(100%, 280px);
    aspect-ratio: 0.72;
    padding: 1.5rem;
    background: #fff;
    border: 1px solid #d8e7f8;
    border-radius: 0.5rem;
    box-shadow: 0 20px 50px rgba(24, 63, 102, 0.2);
    transform: rotate(2deg);
}

.paper-line,
.paper-total,
.paper-grid span {
    display: block;
    border-radius: 999px;
    background: #d7e4ef;
}

.paper-line {
    height: 0.7rem;
    margin-bottom: 0.75rem;
}

.paper-line-short {
    width: 52%;
    height: 1rem;
    margin-bottom: 1.25rem;
    background: #0d6efd;
}

.paper-grid {
    display: grid;
    gap: 0.7rem;
    margin: 2rem 0;
}

.paper-grid span {
    height: 2.25rem;
}

.paper-total {
    width: 48%;
    height: 1rem;
    margin-left: auto;
    background: #f5aa20;
}

.tools-grid {
    margin-top: 1.25rem;
}

.tools-trust-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.tools-trust-row div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    color: #32465f;
    background: #fff;
    border: 1px solid #d8e7f8;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    font-weight: 600;
}

.tools-trust-row .bi {
    color: #0d6efd;
}

.tool-card {
    height: 100%;
    padding: 1.5rem;
}

.tool-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    color: #0d6efd;
    background: #e8f2ff;
    border-radius: 0.5rem;
    font-size: 1.35rem;
}

.tool-card h4 {
    margin-bottom: 0.6rem;
    font-weight: 700;
}

.tool-card p {
    color: #6c757d;
}

.tools-account-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0 0;
    padding: 1.25rem;
    color: #6c757d;
    background: #f8fbff;
    border: 1px solid #d8e7f8;
    text-align: left;
}

.tools-account-note .btn {
    flex: 0 0 auto;
}

.contact-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: center;
    gap: 1.5rem;
    padding: clamp(1.5rem, 4vw, 3rem);
    color: #162334;
    background: linear-gradient(135deg, #f8fbff, #e6f1ff);
    border: 1px solid #d8e7f8;
    border-radius: 0.5rem;
    box-shadow: 0 18px 40px rgba(24, 63, 102, 0.14);
}

.contact-hero h1 {
    max-width: 720px;
    margin-bottom: 0.5rem;
    color: #111827;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 700;
    line-height: 1;
}

.contact-hero h2 {
    max-width: 720px;
    margin-bottom: 1rem;
    color: #0a58ca;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 700;
}

.contact-hero p {
    max-width: 760px;
    margin-bottom: 0;
    color: #4b5f78;
    font-size: 1.08rem;
}

.contact-card {
    padding: 1.25rem;
}

.contact-methods {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: #32465f;
    text-decoration: none;
}

.contact-method .bi {
    color: #0d6efd;
    font-size: 1.1rem;
}

.contact-services {
    margin-top: 1.25rem;
}

.contact-service-card {
    height: 100%;
    padding: 1.25rem;
}

.contact-service-card > .bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    color: #0d6efd;
    background: #e8f2ff;
    border-radius: 0.5rem;
    font-size: 1.25rem;
}

.contact-service-card h5 {
    font-weight: 700;
}

.contact-service-card p {
    margin-bottom: 0;
    color: #6c757d;
}

@media (max-width: 991.98px) {
    .auth-shell,
    .tools-hero {
        grid-template-columns: 1fr;
    }

    .settings-layout {
        grid-template-columns: 1fr;
    }

    .invoice-editor-layout {
        grid-template-columns: 1fr;
    }

    .profile-layout {
        grid-template-columns: 1fr;
    }

    .invoice-preview-panel {
        position: static;
    }

    .invoice-preview-card iframe {
        height: 640px;
        min-height: 420px;
    }

    .auth-brand-panel {
        min-height: 360px;
    }

    .auth-card {
        align-self: stretch;
    }

    .auth-feature-list {
        grid-template-columns: 1fr;
    }

    .tools-preview {
        display: none;
    }

    .tools-trust-row {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .settings-header {
        display: block;
    }

    .dashboard-header {
        display: block;
    }

    .invoice-editor-header {
        display: block;
    }

    .invoice-editor-header .btn {
        width: 100%;
        margin-top: 1rem;
    }

    .dashboard-actions {
        margin-top: 1rem;
        justify-content: stretch;
    }

    .dashboard-actions .btn {
        flex: 1 1 auto;
        justify-content: center;
    }

    .settings-header .btn {
        width: 100%;
        margin-top: 1rem;
    }

    .public-brand img {
        width: 132px;
        height: 44px;
    }

    .auth-shell {
        margin: 1rem auto;
        gap: 1rem;
    }

    .auth-brand-panel,
    .auth-card,
    .tools-hero,
    .tool-card {
        padding: 1.25rem;
    }

    .auth-brand-panel {
        min-height: 300px;
    }

    .auth-logo,
    .tools-logo {
        width: min(250px, 88%);
    }

    .auth-switch-box {
        display: block;
        text-align: center;
    }

    .tools-hero-actions .btn {
        width: 100%;
    }

    .tools-account-note {
        display: block;
    }

    .tools-account-note .btn {
        width: 100%;
        margin-top: 1rem;
    }

    .contact-hero,
    .contact-service-card {
        padding: 1.25rem;
    }

    .invoice-action-bar {
        bottom: 0;
        margin-right: -1.25rem;
        margin-left: -1.25rem;
        border-radius: 0;
    }

    .invoice-action-bar .btn {
        flex: 1 1 0;
    }

    .invoice-editor-card .table-responsive {
        overflow-x: visible;
    }

    #items-table,
    #taxes-table,
    #items-table thead,
    #taxes-table thead,
    #items-table tbody,
    #taxes-table tbody,
    #items-table tr,
    #taxes-table tr,
    #items-table td,
    #taxes-table td {
        display: block;
        width: 100% !important;
    }

    #items-table,
    #taxes-table {
        table-layout: auto;
    }

    #items-table thead,
    #taxes-table thead,
    #items-table thead th,
    #taxes-table thead th {
        position: absolute;
        width: 1px !important;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    #items-table tbody,
    #taxes-table tbody {
        display: grid;
        gap: 0.75rem;
    }

    #items-table tr,
    #taxes-table tr {
        padding: 0.75rem;
        background: #f8fbff;
        border: 1px solid #d8e7f8;
        border-radius: 0.5rem;
    }

    #items-table td,
    #taxes-table td {
        padding: 0 0 0.65rem;
        border: 0;
    }

    #items-table td:last-child,
    #taxes-table td:last-child {
        padding-bottom: 0;
        text-align: left !important;
    }

    #items-table td::before,
    #taxes-table td::before {
        display: block;
        margin-bottom: 0.25rem;
        color: #6c757d;
        font-size: 0.78rem;
        font-weight: 700;
    }

    #items-table td:nth-of-type(1)::before {
        content: "Description";
    }

    #items-table td:nth-of-type(2)::before {
        content: "Qty";
    }

    #items-table td:nth-of-type(3)::before {
        content: "UOM";
    }

    #items-table td:nth-of-type(4)::before {
        content: "Unit Price";
    }

    #taxes-table td:nth-of-type(1)::before {
        content: "Tax name";
    }

    #taxes-table td:nth-of-type(2)::before {
        content: "Rate %";
    }

    #items-table td:last-child::before,
    #taxes-table td:last-child::before {
        content: "";
        display: none;
    }
}

/* Line-item / tax formset tables: force the browser to respect the <th> widths
   below instead of sizing columns by each input's default intrinsic width. */
#items-table, #taxes-table {
    table-layout: fixed;
    width: 100%;
}

#items-table input, #taxes-table input {
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

/* Sidebar navigation (desktop) */
.sidebar {
    width: 240px;
    min-width: 240px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.sidebar-brand,
.offcanvas .sidebar-brand {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
}

.sidebar .nav-link,
.offcanvas .nav-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: 0.375rem;
    margin-bottom: 0.15rem;
}

.sidebar .nav-link .bi,
.offcanvas .nav-link .bi {
    width: 1.1rem;
    min-width: 1.1rem;
    text-align: center;
    font-size: 1rem;
    line-height: 1;
}

.sidebar .nav-link:hover,
.offcanvas .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .nav-link.active,
.offcanvas .nav-link.active {
    background-color: var(--bs-primary);
}
