/* EduKotha — overrides for things hardcoded in the eduMEET client source.
 *
 * Injected into index.html by the nginx proxy (sub_filter on </head>), so it
 * needs no client rebuild. Edit this file and hard-reload; no nginx change
 * required for future tweaks.
 *
 * ---------------------------------------------------------------------------
 * 1. /mgmt-admin app bar
 * views/management/Management.tsx renders:
 *     <AppBar style={{ backgroundColor: '#9C298C' }}>
 * An inline style, so the MUI palette can't reach it and only !important wins.
 *
 * The selector matches the INLINE STYLE VALUE rather than the component class,
 * because the meeting UI uses MuiAppBar too and must keep its own themed
 * colour. Browsers serialise the attribute as rgb(), but both forms are
 * covered in case that ever changes.
 * ---------------------------------------------------------------------------
 */
[style*="rgb(156, 41, 140)"],
[style*="#9C298C"],
[style*="#9c298c"] {
  background-color: #123A67 !important;   /* Deep Navy */
}

/* ---------------------------------------------------------------------------
 * 2. /mgmt-admin sidebar brand
 * The same file also renders here via <img src="/images/logo.edumeet.svg">.
 * nginx serves our stacked icon+wordmark at that path; this just guarantees it
 * can never overflow the drawer (the previous wide logo was 1055px intrinsic).
 * ---------------------------------------------------------------------------
 */
img[src="/images/logo.edumeet.svg"] {
  max-width: 160px;
  width: 100%;
  height: auto;
}
