/* Lighthouse modern light-blue theme overrides.
   Loaded after the Vite bundle so these rules win the cascade.
   Mirrors the :root block in resources/css/app.css. */

:root {
    --bs-primary: #3b82f6;
    --bs-primary-rgb: 59, 130, 246;
    --bs-primary-text-emphasis: #1e3a8a;
    --bs-primary-bg-subtle: #eaf2ff;
    --bs-primary-border-subtle: #bfdbfe;
    --bs-link-color: #2563eb;
    --bs-link-color-rgb: 37, 99, 235;
    --bs-link-hover-color: #1e40af;
    --bs-tertiary-bg: #f4f7fc;
    --bs-tertiary-bg-rgb: 244, 247, 252;

    --lh-brand: #3b82f6;
    --lh-brand-soft: #eaf2ff;
    --lh-brand-deep: #1e3a8a;
}

/* Bootstrap built `.btn-primary` colours into the bundle as literals, so
   re-paint them by name. Same for text-primary. */
.btn-primary {
    --bs-btn-bg: #3b82f6;
    --bs-btn-border-color: #3b82f6;
    --bs-btn-hover-bg: #2563eb;
    --bs-btn-hover-border-color: #2563eb;
    --bs-btn-active-bg: #1d4ed8;
    --bs-btn-active-border-color: #1d4ed8;
    --bs-btn-disabled-bg: #93c5fd;
    --bs-btn-disabled-border-color: #93c5fd;
}
.btn-outline-primary {
    --bs-btn-color: #2563eb;
    --bs-btn-border-color: #3b82f6;
    --bs-btn-hover-bg: #3b82f6;
    --bs-btn-hover-border-color: #3b82f6;
    --bs-btn-active-bg: #2563eb;
    --bs-btn-active-border-color: #2563eb;
}
.text-primary { color: #3b82f6 !important; }
a { color: #2563eb; }
a:hover { color: #1e40af; }

/* Sidebar active item — soft blue accent */
.sidebar-menu .nav-link.active {
    background: #eaf2ff !important;
    color: #1e3a8a !important;
    font-weight: 600;
}
.sidebar-menu .nav-link.active .nav-icon { color: #3b82f6 !important; }

/* Headers + cards — modern feel */
.app-content-header h3 { color: #1e3a8a; font-weight: 600; }
.card { border-color: rgba(0, 0, 0, 0.06); }
.card-header { background: rgba(59, 130, 246, 0.04); border-bottom-color: rgba(0, 0, 0, 0.05); }

/* Body chrome tint */
body.bg-body-tertiary { background-color: #f4f7fc !important; }

/* Entity pill — pick up the new brand */
.entity-pill { background: #eaf2ff; color: #1e3a8a; }
