/* Voyager theme: Hyperdrive brand colors for the spots core.css (HyperdriveBio.Core) hard-codes.
   The rest of the theme is the Blazorise Theme in Components/Routes.razor. This file loads after core.css. */

/* Brand palette for component stylesheets (Hyperdrive Brand Guidelines) */
:root {
    --vy-ink: #070708;
    --vy-ink-2: #353A41;
    --vy-ink-3: #4A4B55;
    --vy-muted: #646676;
    --vy-line: #CDCED4;
    --vy-rule: rgba(7, 7, 8, .08);
    --vy-ground: #F5F5F6;
    --vy-surface: #FBFFFF;
    --vy-blue: #172EB6;
    --vy-link: #1438E1;
    --vy-accent: #1B4BF5;
    --vy-blue-soft: #EEF4FF;
    --vy-navy: #090F31;
    --vy-heading: Manrope, Inter, sans-serif;
    /* Tints for the provider profile: hairlines, status scale, alerts */
    --vy-hairline: #E5E6E8;
    --vy-blue-ring: #BCD5FF;
    --vy-blue-300: #8EBBFF;
    --vy-blue-400: #5995FF;
    --vy-blue-500: #3771FF;
    --vy-blue-ink: #192C8F;
    --vy-slate: #ABB9CE;
    --vy-gray: #7F8191;
    --vy-red: #C13014;
    --vy-red-soft: #FFF3F1;
    --vy-red-ring: #FFD0C7;
    --vy-dark-2: #1A1A1B;
    --vy-dark-line: #393940;
    /* Pulse Orange: the sparing accent for rewards and calls to action; deep blues for hero bands */
    --vy-orange: #F75A3C;
    --vy-orange-600: #E74C2E;
    --vy-orange-100: #FFE6E1;
    --vy-orange-ink: #9F2B15;
    --vy-royal: #0D2BA9;
    --vy-deep-navy: #06205B;
    --vy-night: #07091D;
    --vy-sky-300: #8ECCFB;
    /* Density: the whole app (pages and sidebar) renders at this scale so more fits on screen */
    --vy-zoom: 0.875;
}

html {
    zoom: var(--vy-zoom);
}

/* Under zoom, vh/vw still measure the real window, so anything sized to fill it would stop short.
   Scale those back up so the layout, sidebar and backdrops still reach the window edges. */
.b-layout.b-layout-root,
.vh-100 {
    height: calc(100vh / var(--vy-zoom)) !important;
}

.min-vh-100 {
    min-height: calc(100vh / var(--vy-zoom)) !important;
}

.modal-backdrop,
.offcanvas-backdrop {
    width: calc(100vw / var(--vy-zoom));
    height: calc(100vh / var(--vy-zoom));
}

a {
    color: #1438E1; /* Electric Blue 700 */
}

a.btn.btn-secondary:hover {
    background-color: #06205B; /* Deep Navy */
}

/* Sidebar hover and active items (core.css sets these with !important) */
.site-nav > .b-bar-menu .b-bar-item > .b-bar-link:hover,
.site-nav > .b-bar-menu .b-bar-dropdown-toggle:hover,
.site-nav > .b-bar-menu .b-bar-dropdown-item:hover,
#nav-logout-button:hover {
    background-color: #EEF4FF !important; /* Electric Blue 50 */
    color: #172EB6;
}

.site-nav > .b-bar-menu .b-bar-item > .b-bar-link.active,
.site-nav > .b-bar-menu .b-bar-dropdown-item.active {
    background-color: #D9E7FF !important; /* Electric Blue 100 */
    color: #172EB6; /* Electric Blue 800 */
}

.b-bar-label {
    color: #646676; /* Cod Gray 500 */
}

/* Selected table rows */
tr.table-primary, tr.table-primary > td {
    background-color: #EEF4FF;
}

/* Type, from the Hyperdrive Bio design system: Manrope 500 for anything structural (headings, buttons,
   labels), Inter 400 for anything read (body and UI, already set by core.css). Two families, two weights. */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.display-1, .display-2, .display-3, .display-4,
/* Blazorise TextSize.Heading1-5, used for section titles (Heading6 is body size) */
.fs-1, .fs-2, .fs-3, .fs-4, .fs-5 {
    font-family: Manrope, Inter, system-ui, sans-serif;
    font-weight: 500;
    letter-spacing: -0.012em;
}

h1, .h1, .display-1, .display-2, .display-3, .display-4 {
    letter-spacing: -0.02em;
}

.btn {
    font-family: Manrope, Inter, system-ui, sans-serif;
    font-weight: 500;
}

/* Sidebar navigation items. Targets the items only: the Invite dialog's markup also sits inside .site-nav */
.site-nav .b-bar-link,
.site-nav .b-bar-dropdown-toggle,
.site-nav .b-bar-dropdown-item {
    font-family: Manrope, Inter, system-ui, sans-serif;
    font-weight: 500; /* core.css makes links 600; the design system uses 400 and 500 only */
}

/* Uppercase labels use the "kicker" style */
.b-bar-label {
    font-family: Manrope, Inter, system-ui, sans-serif;
    font-weight: 500;
    letter-spacing: 0.14em;
}

/* Figures in columns line up */
.table td, .table th {
    font-variant-numeric: tabular-nums;
}

/* Card edges are a hairline ring, not a border, so they never shift layout (design system: shadow-hairline).
   Cards given an explicit border color keep it. */
.card:not([class*="border-"]) {
    border: 0;
    box-shadow: 0 0 0 1px #CDCED4;
}

/* Switch colors */
.custom-control-input.bg-primary + .custom-control-label::before { background-color: #0B30BD; }
.custom-control-input.bg-secondary + .custom-control-label::before { background-color: #090F31; }
.custom-control-input.bg-success + .custom-control-label::before { background-color: #15803D; }
.custom-control-input.bg-danger + .custom-control-label::before { background-color: #E74C2E; }
.custom-control-input.bg-info + .custom-control-label::before { background-color: #EEF4FF; }
.custom-control-input.bg-light + .custom-control-label::before { background-color: #F5F5F6; }
.custom-control-input.bg-dark + .custom-control-label::before { background-color: #353A41; }

/* User Notes */
.name-badge {
    font-size: 1rem;
    /*border-radius: 50%; !important*/
    height: 2rem;
    width: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.note-block:not(:last-child) {
    padding-bottom: 1rem;
    border-bottom: 1px solid #ccc;
}
