﻿/* ==========================================================================
   Odoo Steer project tracker
   A clean, colorful, light design system. Role-based theming is driven by
   CSS custom properties injected on <body> from the active user's theme.
   ========================================================================== */

:root {
    --c-primary: #0B7A70;
    --c-primary-dark: #0A6B66;
    --c-accent: #19D3C5;
    --c-soft: #EEF8F6;
    --c-gradient: linear-gradient(135deg, #0C8578 0%, #0B7A70 50%, #0A6B66 100%);

    --ink: #101828;
    --ink-soft: #344054;
    --muted: #667085;
    --line: #E4E9EE;
    --bg: #F7FAFA;
    --card: #ffffff;

    --radius: 18px;
    --radius-sm: 12px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, .06);
    --shadow: 0 12px 30px -12px rgba(15, 23, 42, .18);
    --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, .28);

    --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .fw-head { font-family: var(--font-head); font-weight: 700; }
a { text-decoration: none; }

.text-gradient {
    background: var(--c-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-primary { background: var(--c-gradient) !important; }
.text-primary-c { color: var(--c-primary) !important; }
.soft-chip { background: var(--c-soft); color: var(--c-primary-dark); }

/* ---------- Buttons ---------- */
.btn { border-radius: 12px; font-weight: 600; padding: .55rem 1.1rem; }
.btn-lg { padding: .8rem 1.6rem; }
.btn-brand {
    background: var(--c-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--c-primary) 70%, transparent);
}
.btn-brand:hover { color: #fff; filter: brightness(1.05); transform: translateY(-1px); }
.btn-soft { background: var(--c-soft); color: var(--c-primary-dark); border: none; }
.btn-soft:hover { background: color-mix(in srgb, var(--c-soft) 70%, var(--c-primary) 12%); color: var(--c-primary-dark); }
.btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--ink-soft); }
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }

/* ---------- Cards ---------- */
.card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    background: var(--card);
}
.card-hover { transition: transform .18s ease, box-shadow .18s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rounded-2xl { border-radius: var(--radius) !important; }

/* ==========================================================================
   PUBLIC / MARKETING
   ========================================================================== */
.navbar-public {
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: .45rem 0;
    min-height: 62px;
}
.navbar-public .navbar-brand { padding-top: 0; padding-bottom: 0; }
.brand-logo {
    width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--c-gradient); color: #fff; font-size: 1.15rem;
    box-shadow: 0 8px 18px -6px color-mix(in srgb, var(--c-primary) 70%, transparent);
}
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: -.3px; line-height: 1.1; }
.navbar-public .nav-link { color: var(--ink-soft); font-weight: 600; margin: 0 .35rem; border-radius: 10px; padding: .4rem .8rem; }
.navbar-public .nav-link:hover { color: var(--c-primary); background: var(--c-soft); }

.hero {
    position: relative;
    background:
        radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--c-accent) 16%, transparent), transparent 60%),
        radial-gradient(900px 500px at -10% 10%, color-mix(in srgb, var(--c-primary) 14%, transparent), transparent 55%),
        linear-gradient(180deg, #f7f9ff 0%, #eef2fb 100%);
    overflow: hidden;
}
.hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(var(--line) 1.2px, transparent 1.2px);
    background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: .4rem .9rem; font-weight: 600; color: var(--ink-soft); box-shadow: var(--shadow-sm);
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.05; letter-spacing: -1.5px; font-weight: 800; }

/* Floating mini-kanban preview (the "real UI" hero visual) */
.preview-window {
    background: #fff; border: 1px solid var(--line); border-radius: 20px;
    box-shadow: var(--shadow-lg); overflow: hidden;
}
.preview-bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fbfcfe; align-items: center; }
.preview-dot { width: 11px; height: 11px; border-radius: 50%; }
.preview-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 16px; }
.preview-col { background: #f7f9fc; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.preview-col h6 { font-size: .72rem; text-transform: uppercase; letter-spacing: .6px; color: var(--muted); margin-bottom: 8px; }
.mini-card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; box-shadow: var(--shadow-sm); font-size: .78rem; font-weight: 600; }
.mini-tag { font-size: .6rem; font-weight: 700; padding: 2px 7px; border-radius: 999px; }

.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -1px; }
.feature-card { height: 100%; border-radius: var(--radius); }
.feature-ico {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
    font-size: 1.4rem; color: #fff; margin-bottom: 1rem;
}
.stat-pill { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.stat-pill .num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; }

footer.site-footer { background: #0b1220; color: #cbd5e1; }
footer.site-footer a { color: #cbd5e1; }
footer.site-footer a:hover { color: #fff; }

/* ==========================================================================
   APP SHELL (authenticated)
   ========================================================================== */
.app-shell { display: flex; min-height: 100vh; }
.sidebar {
    width: 264px; flex-shrink: 0; color: #eef2ff; position: fixed; inset: 0 auto 0 0;
    background: var(--c-primary-dark);
    background-image: linear-gradient(180deg, color-mix(in srgb, var(--c-primary) 90%, #000 6%), var(--c-primary-dark));
    display: flex; flex-direction: column; z-index: 1040; transition: transform .25s ease;
}
.sidebar-brand { display: flex; align-items: center; gap: .6rem; padding: 1.2rem 1.25rem; }
.sidebar-brand .brand-name { color: #fff; }
.role-chip {
    display: inline-flex; align-items: center; gap: .4rem; margin: 0 1.25rem 1rem;
    background: rgba(255, 255, 255, .12); border-radius: 999px; padding: .35rem .8rem;
    font-size: .74rem; font-weight: 700; letter-spacing: .3px;
}
.side-nav { padding: .25rem .75rem; overflow-y: auto; flex: 1; }
.side-nav .nav-section { font-size: .66rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.45); padding: 1rem .75rem .35rem; font-weight: 700; }
.side-link {
    display: flex; align-items: center; gap: .8rem; color: rgba(255,255,255,.82);
    padding: .62rem .85rem; border-radius: 12px; font-weight: 600; font-size: .92rem; margin-bottom: 2px;
}
.side-link i { width: 20px; text-align: center; font-size: 1rem; }
.side-link:hover { background: rgba(255,255,255,.1); color: #fff; }
.side-link.active { background: #fff; color: var(--c-primary-dark); box-shadow: var(--shadow); }
.sidebar-foot { padding: 1rem 1.25rem; border-top: 1px solid rgba(255,255,255,.1); }

.main-wrap { margin-left: 264px; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
    position: sticky; top: 0; z-index: 1030; background: rgba(255,255,255,.85); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line); padding: .75rem 1.5rem; display: flex; align-items: center; gap: 1rem;
}
.topbar .page-title { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin: 0; }
.search-box { position: relative; max-width: 340px; flex: 1; }
.search-box input { border-radius: 12px; border: 1px solid var(--line); padding-left: 2.4rem; background: #f7f9fc; }
.search-box i { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.page-body { padding: 1.6rem; }

.avatar { border-radius: 50%; object-fit: cover; background: var(--c-soft); }
.avatar-sm { width: 32px; height: 32px; }
.avatar-md { width: 44px; height: 44px; }
.avatar-lg { width: 88px; height: 88px; border: 4px solid #fff; box-shadow: var(--shadow); }

/* KPI cards */
.kpi { border-radius: var(--radius); padding: 1.2rem 1.3rem; border: 1px solid var(--line); background: #fff; position: relative; overflow: hidden; }
.kpi .kpi-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 1.3rem; }
.kpi .kpi-num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; line-height: 1; }
.kpi .kpi-label { color: var(--ink-soft); font-weight: 600; font-size: .9rem; }
.kpi .kpi-sub { color: var(--muted); font-size: .78rem; }
.kpi::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 120px; height: 120px; border-radius: 50%; background: var(--c-soft); opacity: .55; }

/* ==========================================================================
   KANBAN BOARD
   ========================================================================== */
.board-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 1.1rem; overflow-x: auto; padding-bottom: 1rem; }
.kanban-col { background: #eef1f8; border-radius: var(--radius); padding: .9rem; border: 1px solid var(--line); min-height: 200px; }
.kanban-col.drag-over { outline: 2px dashed var(--c-primary); outline-offset: -4px; background: var(--c-soft); }
.kanban-head { display: flex; align-items: center; justify-content: space-between; padding: .1rem .35rem .8rem; }
.kanban-head .title { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-family: var(--font-head); }
.col-count { background: #fff; border-radius: 999px; padding: .05rem .6rem; font-size: .78rem; font-weight: 700; color: var(--ink-soft); border: 1px solid var(--line); }

.task-card {
    background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--muted);
    border-radius: var(--radius-sm); padding: .8rem .9rem; margin-bottom: .8rem; box-shadow: var(--shadow-sm);
    cursor: grab; transition: box-shadow .15s ease, transform .15s ease;
}
.task-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
/* Placeholder left in the list while dragging → clean dashed drop slot. */
.task-card.sortable-ghost {
    background: var(--c-soft) !important;
    border: 2px dashed var(--c-primary) !important;
    border-radius: 12px;
    box-shadow: none !important;
}
.task-card.sortable-ghost > * { visibility: hidden; }
.task-card.sortable-chosen { cursor: grabbing; }
/* The floating clone that follows the cursor (fallback mode). */
.task-card.sortable-fallback,
.task-card.sortable-drag {
    opacity: 1 !important;
    background: #fff !important;
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(2, 6, 23, .28) !important;
    transform: rotate(2.5deg) scale(1.03);
    cursor: grabbing;
}
body.kanban-dragging { cursor: grabbing; user-select: none; }
.kanban-col.dragging .col-body { background: color-mix(in srgb, var(--c-primary) 8%, #fff); border-radius: 12px; }
.task-card .tt { font-weight: 600; font-size: .92rem; color: var(--ink); display: block; }
.task-card .tt-wrap { min-width: 0; }
.drag-handle { color: var(--muted); cursor: grab; margin-top: 3px; font-size: .8rem; opacity: .6; }
.task-card:hover .drag-handle { opacity: 1; color: var(--c-primary); }
.task-card img, .task-card a { -webkit-user-drag: none; user-select: none; }
.task-meta { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; margin-top: .55rem; }
.chip { font-size: .68rem; font-weight: 700; padding: .18rem .55rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .3rem; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }

.priority-LOW { color: #16a34a; } .priority-MEDIUM { color: #0284c7; }
.priority-HIGH { color: #d97706; } .priority-URGENT { color: #dc2626; }

/* Timeline / activity */
.timeline { position: relative; padding-left: 2.2rem; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline-item { position: relative; margin-bottom: 1.1rem; }
.timeline-item .dot { position: absolute; left: -2.2rem; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm); }

/* Progress */
.progress { height: 8px; border-radius: 999px; background: var(--line); }
.progress-bar { border-radius: 999px; background: var(--c-gradient); }

/* Misc */
.section-card { border-radius: var(--radius); border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.section-card .card-head { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.section-card .card-head h5 { margin: 0; font-size: 1rem; display: flex; align-items: center; gap: .5rem; }
.icon-tile { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty-state i { font-size: 3rem; opacity: .5; }
.form-label { font-weight: 600; color: var(--ink-soft); font-size: .9rem; }
.hoverable-row:hover { background: var(--c-soft); }
.ai-orb { width: 46px; height: 46px; border-radius: 14px; background: var(--c-gradient); display: grid; place-items: center; color: #fff; font-size: 1.2rem; box-shadow: var(--shadow); }

/* Mobile */
.sidebar-backdrop { display: none; position: fixed; inset: 0; background: rgba(2,6,23,.5); z-index: 1039; }
@media (max-width: 991.98px) {
    .sidebar { transform: translateX(-100%); }
    .sidebar.open { transform: translateX(0); }
    .main-wrap { margin-left: 0; }
    .sidebar-backdrop.show { display: block; }
    .preview-cols { grid-template-columns: 1fr; }
}
.menu-toggle { display: none; }
@media (max-width: 991.98px) { .menu-toggle { display: inline-flex; } }

/* =====================================================================
   Blue / white / yellow dashboard (matches requested reference design)
   ===================================================================== */
.dash { --db: #0B7A70; --dbd: #0A6B66; --dby: #19D3C5; --dbl: #DDF1EE; --dink: #0F172A; }
.dash .xsmall { font-size: .72rem; }
.dash .min-w-0 { min-width: 0; }

.dash .d-card {
    background: #fff;
    border: 1px solid #eef1f7;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

/* Greeting hero metric */
.dash .hero-metric {
    background: linear-gradient(135deg, var(--db), var(--dbd));
    color: #fff; border-radius: 16px; padding: 1rem 1.1rem; margin-top: auto;
}
.dash .hero-num { font-family: var(--font-head); font-weight: 800; font-size: 2.1rem; line-height: 1.1; }
.dash .hero-badge {
    background: var(--dby); color: #1a2e05; font-weight: 700; font-size: .72rem;
    padding: .18rem .5rem; border-radius: 999px; white-space: nowrap;
}

/* KPI cards */
.dash .kpi-ico {
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
    background: var(--db); color: #fff; font-size: 1.1rem;
}
.dash .kpi-big { font-family: var(--font-head); font-weight: 800; font-size: 1.9rem; line-height: 1.05; color: var(--dink); }
.dash .kpi-trend {
    display: inline-flex; align-items: center; gap: .25rem; font-size: .72rem; font-weight: 700;
    padding: .16rem .5rem; border-radius: 999px; width: fit-content; margin-top: .4rem;
}
.dash .kpi-trend.up { background: #ecfdf3; color: #16a34a; }
.dash .kpi-trend.down { background: #fef2f2; color: #dc2626; }
.dash .kpi-trend.neutral { background: var(--dbl); color: var(--dbd); }

/* Availability barcode */
.dash .avail-bars { display: flex; align-items: stretch; gap: 3px; height: 60px; }
.dash .avail-bars .bar { flex: 1 1 auto; border-radius: 3px; min-width: 3px; }
.dash .dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; flex: none; }

/* Soft pill / dropdown look */
.dash .soft-pill {
    background: #f1f5fb; color: #475569; font-size: .78rem; font-weight: 600;
    padding: .3rem .7rem; border-radius: 999px; text-decoration: none; white-space: nowrap;
}
.dash .soft-pill:hover { background: #e6edf8; }

/* Yellow add button */
.dash .add-btn {
    width: 34px; height: 34px; border-radius: 50%; background: var(--dby); color: #1a2e05;
    display: grid; place-items: center; text-decoration: none; box-shadow: 0 4px 12px rgba(212, 225, 0, .5);
}
.dash .add-btn:hover { filter: brightness(.96); }

/* Task checklist rows */
.dash .task-row { display: flex; align-items: center; gap: .7rem; padding: .55rem .6rem; border-radius: 12px; text-decoration: none; transition: background .15s; }
.dash .task-row:hover { background: #f6f8fc; }
.dash .task-row .check {
    width: 22px; height: 22px; border-radius: 6px; border: 2px solid #cbd5e1; color: transparent;
    display: grid; place-items: center; font-size: .65rem; flex: none;
}
.dash .task-row .check.done { background: var(--db); border-color: var(--db); color: #fff; }
.dash .task-row .tt { color: var(--dink); font-weight: 600; font-size: .9rem; }

/* Donut with centered icon */
.dash .donut-wrap { position: relative; height: 130px; }
.dash .donut-center { position: absolute; inset: 0; display: grid; place-items: center; color: var(--db); font-size: 1.4rem; }

/* Gauge */
.dash .gauge-wrap { position: relative; height: 140px; }
.dash .gauge-center { position: absolute; left: 0; right: 0; bottom: 6px; text-align: center; }
.dash .gauge-num { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: var(--dink); line-height: 1; }

/* Mini progress bars (category + rating) */
.dash .mini-bar { height: 8px; background: #eef2f7; border-radius: 999px; overflow: hidden; }
.dash .mini-bar span { display: block; height: 100%; border-radius: 999px; }
.dash .rate-label { width: 40%; font-size: .78rem; font-weight: 600; color: var(--dink); }

/* Timeline icon dots (scoped) */
.dash .timeline-item .dot-ico {
    position: absolute; left: -2.2rem; top: 0; width: 32px; height: 32px; border-radius: 50%;
    display: grid; place-items: center; color: #fff; background: var(--db); box-shadow: var(--shadow-sm);
}

/* =====================================================================
   Landing page — colorful, sharp-edged (no rounded cards) design
   ===================================================================== */
.home-hero {
    position: relative; overflow: hidden; padding: 4rem 0 5rem;
    background:
        radial-gradient(900px 480px at 88% -8%, #ede9fe 0, transparent 60%),
        radial-gradient(760px 460px at -5% 115%, #ccfbf1 0, transparent 55%),
        radial-gradient(700px 420px at 55% 125%, #fef9c3 0, transparent 55%),
        #ffffff;
}
.home-hero::before, .home-hero::after {
    content: ""; position: absolute; z-index: 0; opacity: .5;
}
.home-hero::before { top: -60px; right: 12%; width: 120px; height: 120px; background: #d4e100; transform: rotate(18deg); }
.home-hero::after { bottom: 40px; right: 4%; width: 70px; height: 70px; border: 3px solid #2563eb; transform: rotate(12deg); }
.home-hero .container { position: relative; z-index: 2; }

.home-eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    background: #0f172a; color: #fff; font-weight: 700; font-size: .78rem;
    padding: .4rem .8rem; letter-spacing: .4px; text-transform: uppercase;
}
.home-title {
    font-family: var(--font-head); font-weight: 800; letter-spacing: -1.5px;
    line-height: .98; font-size: clamp(2.6rem, 6vw, 4.4rem); color: #0f172a; margin: 1rem 0;
}
.c-violet { color: #6d28d9; } .c-blue { color: #2563eb; } .c-teal { color: #0d9488; }
.c-rose { color: #e11d48; } .c-amber { color: #f59e0b; }
.home-sub { font-size: 1.12rem; color: #475569; max-width: 40ch; }

/* Sharp brutalist buttons */
.btn-brut {
    border: 2px solid #0f172a; background: #d4e100; color: #0f172a; font-weight: 700;
    padding: .75rem 1.35rem; box-shadow: 5px 5px 0 #0f172a; text-decoration: none;
    display: inline-flex; align-items: center; gap: .5rem; transition: transform .12s, box-shadow .12s;
}
.btn-brut:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #0f172a; color: #0f172a; }
.btn-brut.alt { background: #fff; }
.btn-brut:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #0f172a; }

/* Hero art — floating task pieces */
.hero-art { position: relative; height: 420px; }
.art-card {
    position: absolute; background: #fff; border: 2px solid #0f172a; padding: .8rem .95rem;
    box-shadow: 7px 7px 0 var(--sh, rgba(15, 23, 42, .15)); min-width: 180px;
}
.art-card .bar { width: 34px; height: 6px; background: #e2e8f0; display: block; margin-top: .5rem; }
.art-ico {
    position: absolute; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center;
    color: #fff; font-size: 1.5rem; border: 2px solid #0f172a; box-shadow: 5px 5px 0 rgba(15, 23, 42, .18);
}
.art-tag { display: inline-block; font-size: .7rem; font-weight: 700; padding: .12rem .45rem; color: #fff; }

/* Feature strip — colorful square tiles */
.feat-tile {
    border: 2px solid #0f172a; background: #fff; padding: 1.3rem 1rem; text-align: center;
    box-shadow: 5px 5px 0 rgba(15, 23, 42, .10); height: 100%; transition: transform .12s, box-shadow .12s;
}
.feat-tile:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--fc, #2563eb); }
.feat-ico {
    width: 56px; height: 56px; display: grid; place-items: center; color: #fff;
    margin: 0 auto .7rem; font-size: 1.35rem; border: 2px solid #0f172a;
}
.feat-tile h6 { margin: 0; font-weight: 800; font-family: var(--font-head); letter-spacing: -.3px; }

/* Roles band */
.roles-band { background: #0f172a; padding: 3.8rem 0; }
.role-block { padding: 1.7rem; color: #fff; height: 100%; border: 2px solid rgba(255, 255, 255, .12); position: relative; overflow: hidden; }
.role-block .rb-ico { font-size: 2rem; opacity: .95; }
.role-block h4 { font-family: var(--font-head); font-weight: 800; margin: .6rem 0 .2rem; }
.role-block p { margin: 0; opacity: .9; font-size: .92rem; }
.role-block::after { content: ""; position: absolute; right: -30px; bottom: -30px; width: 110px; height: 110px; background: rgba(255, 255, 255, .10); transform: rotate(20deg); }

/* Strip stats */
.home-stat { border-left: 3px solid #0f172a; padding-left: .9rem; }
.home-stat .n { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; line-height: 1; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, #6d28d9, #2563eb 48%, #0ea5e9); color: #fff; padding: 4rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { font-family: var(--font-head); font-weight: 800; letter-spacing: -1px; }
.cta-band::before { content: ""; position: absolute; left: 6%; top: 20px; width: 60px; height: 60px; border: 3px solid rgba(255, 255, 255, .35); transform: rotate(14deg); }
.cta-band::after { content: ""; position: absolute; right: 8%; bottom: 20px; width: 90px; height: 90px; background: rgba(212, 225, 0, .30); transform: rotate(20deg); }

@media (max-width: 991.98px) { .hero-art { height: 300px; margin-top: 1.5rem; } }


/* ==========================================================================
   ODOO STEER BRAND
   ========================================================================== */
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/plusjakarta-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Plus Jakarta Sans';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('../fonts/plusjakarta-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.sidebar {
    background: #0F172A;
    background-image: linear-gradient(180deg, #12233A, #0F172A);
}
.sidebar-brand { display: block; padding: 1.4rem 1.25rem 1.1rem; }
.brand-wordmark { display: block; width: 172px; height: auto; }
.role-chip { background: rgba(25, 211, 197, .14); color: #d7f7f3; }
.side-link.active { background: var(--c-primary); color: #fff; box-shadow: none; }

/* The two dashboard columns stack below this width, so their rows must size to their content. */
@media (max-width: 1399.98px) {
    .dash .row.h-100 { height: auto !important; }
}


/* ---- Login page ---- */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  background: radial-gradient(1200px 600px at 10% -10%, #0e5f58 0%, #0f172a 55%, #0b1220 100%); }
.login-card { width: 100%; max-width: 420px; background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(2, 8, 23, .45); }
.login-head { background: var(--c-gradient, linear-gradient(135deg, #0C8578, #0A6B66)); padding: 1.75rem 1.75rem 1.4rem; color: #fff; }
.login-logo { width: 168px; height: auto; display: block; margin-bottom: .9rem; }
.login-sub { font-size: .86rem; color: rgba(255,255,255,.85); }
.login-form { padding: 1.6rem 1.75rem 1.5rem; }
.login-foot { margin: 1.1rem 0 0; font-size: .82rem; color: #64748b; text-align: center; }
