@font-face {
    font-family: "Source Sans Pro";
    src: url("/fonts/source-sans-pro-v13-latin-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Source Sans Pro";
    src: url("/fonts/source-sans-pro-v13-latin-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Override Bootstrap typography system */
:root {
    --bs-body-font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Force inheritance where Bootstrap components don't fully rely on variables */
body {
    font-family: var(--bs-body-font-family);
}


input,
button,
select,
textarea {
    font-family: inherit;
}

/* Bootstrap form-control override (this is the one that usually bites) */
.form-control {
    font-family: inherit;
}

    /* Placeholder text override */
    .form-control::placeholder {
        font-family: inherit;
        opacity: 0.6;
    }

/* Buttons explicitly inherit too */
.btn {
    font-family: inherit;
}



.app-shell {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.app-sidebar {
    width: 260px;
    background: #fff;
    border-right: 1px solid #e6e6e6;
    display: flex;
    flex-direction: column;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-bottom: 1px solid #eee;
}

    .sidebar-brand img {
        height: 36px;
    }

.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
}

    .sidebar-item i:first-child {
        width: 20px;
    }

    .sidebar-item:hover {
        background: #a5a2a5;
    }

    .sidebar-item.active {
        background: #faf2f5;
        color: #773950;
        font-weight: 500;
    }

/* Main area */
.app-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.app-topbar {
    color: white;
    background: #773950;
    border-bottom: 1px solid #eee;
}
footer {
    background-color: #46484a;
    color: #a5a2a5;
}