/* AegisProbe brand overrides on top of Bootstrap 5.3 (CSS variables, no Sass).
   Keeps the app's existing palette instead of default-Bootstrap blue/greys. */
:root,
[data-bs-theme="light"] {
    --bs-primary: #2563eb;
    --bs-primary-rgb: 37, 99, 235;
    --bs-primary-text-emphasis: #1e40af;
    --bs-link-color: #2563eb;
    --bs-link-color-rgb: 37, 99, 235;
    --bs-link-hover-color: #1d4ed8;
    --bs-body-bg: #f1f5f9;
    --bs-body-color: #0f172a;
    --bs-secondary-color: #64748b;
    --bs-tertiary-bg: #f8fafc;
    --bs-border-color: #e2e8f0;
    --bs-border-radius: .75rem;    /* 12px */
    --bs-border-radius-sm: .5rem;  /* 8px */
}

/* Navbar in the logo's own navy (#020619), so the shield mark sits on its background seamlessly. */
.bg-brand { background-color: #020619 !important; }
.brand-mark { border-radius: .375rem; }

/* Home-page hero: the full logo on the same navy. */
.brand-hero { background-color: #020619; color: #e2e8f0; }
.brand-hero .lead { color: #94a3b8; }
.brand-hero-logo { max-width: 280px; width: 100%; height: auto; }

/* Retint components whose Bootstrap classes set their colour locally
   (these don't read the root --bs-primary at runtime). */
.btn-primary {
    --bs-btn-bg: #2563eb;
    --bs-btn-border-color: #2563eb;
    --bs-btn-hover-bg: #1d4ed8;
    --bs-btn-hover-border-color: #1d4ed8;
    --bs-btn-active-bg: #1d4ed8;
    --bs-btn-active-border-color: #1d4ed8;
    --bs-btn-disabled-bg: #2563eb;
    --bs-btn-disabled-border-color: #2563eb;
}
.bg-primary { background-color: #2563eb !important; }
.text-primary { color: #2563eb !important; }
.form-control:focus,
.form-check-input:focus,
.form-select:focus {
    border-color: #93b4fb;
    box-shadow: 0 0 0 .25rem rgba(37, 99, 235, .25);
}
.form-check-input:checked {
    background-color: #2563eb;
    border-color: #2563eb;
}

/* Carry over the subtle card shadow and slightly softer surface. */
.card {
    --bs-card-border-color: #e2e8f0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 12px rgba(15, 23, 42, .06);
}

body { background-color: var(--bs-body-bg); }
