/* ==========================================================================
   2Shift Chat — Custom Chainlit Overrides
   ========================================================================== */

/* ── Brand Font ──────────────────────────────────────────────────────── */

@font-face {
    font-family: "PP Neue Montreal";
    src: url("/public/fonts/PPNeueMontreal-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PP Neue Montreal";
    src: url("/public/fonts/PPNeueMontreal-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "PP Neue Montreal";
    src: url("/public/fonts/PPNeueMontreal-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Apply brand font globally */
body,
.MuiTypography-root,
.MuiButton-root,
.MuiInputBase-root,
textarea,
input {
    font-family: "PP Neue Montreal", "Aptos", system-ui, sans-serif !important;
}

/* Message text */
.markdown-body,
.message-content,
[class*="message"] p,
[class*="message"] span,
[class*="message"] li {
    font-family: "PP Neue Montreal", "Aptos", system-ui, sans-serif !important;
}

/* ── Hide UI Controls ────────────────────────────────────────────────── */

/* Hide theme toggle button */
button[id*="theme"],
button[aria-label*="theme"],
button[aria-label*="Theme"],
button[aria-label*="toggle"] {
    display: none !important;
}

/* Hide new chat / reset button */
button[id*="new-chat"],
button[aria-label*="New Chat"],
button[aria-label*="new chat"],
button[aria-label*="New chat"] {
    display: none !important;
}

/* Hide the header right-side actions (theme + new chat live here in Chainlit) */
.MuiStack-root > button[aria-label="New Chat"],
.MuiStack-root > button[aria-label="Toggle theme"] {
    display: none !important;
}
