/* One Mining RFP Portal — orange primary + navy contrast (landing-aligned) */
:root {
    --om-primary: #ed991d;
    --om-primary-hover: #d98816;
    --om-primary-active: #c47a0f;
    --om-primary-rgb: 237, 153, 29;
    --om-navy: #0c1929;
    --om-navy-soft: #1e293b;
    --om-navy-rgb: 12, 25, 41;
    --om-cream: #fffaeb;
    --om-secondary: #f1f5f9;
    --om-text: #0c1929;
    --om-muted: #64748b;
    --om-surface: #ffffff;
    --om-border: rgba(12, 25, 41, 0.08);
    --om-border-strong: rgba(12, 25, 41, 0.16);
    --om-input-bg: #ffffff;
    --om-input-fg: #0c1929;
    /* Aliases for older rules */
    --om-accent: var(--om-primary);
    --om-accent-hover: var(--om-primary-hover);
    --om-accent-bright: var(--om-primary);
    --om-bg-deep: var(--om-input-bg);
    --om-bg-card: var(--om-surface);
    --on-white: #ffffff;
    --primary-foreground: var(--om-text);
    /* Dark type on orange buttons (per brand mockup) */
    --om-text-on-primary: #0c1929;
}

body {
    margin: 0px;
}

.h-14 {
    height: 3.5rem;
}

.om-public {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    color: var(--om-text);
    background: var(--om-secondary);
    min-height: 100vh;
}

.om-public a {
    color: inherit;
    text-decoration: none;
}

/* Keep page content beneath the sticky header (avoids hero / badges painting over the bar). */
.om-public > main {
    position: relative;
    z-index: 0;
}

.om-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--om-border);
}

.om-header-inner {
    margin: 0 5%;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.om-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: -0.02em;
    color: var(--om-navy);
}

.om-brand img {
    height: 2.5rem;
    width: auto;
    display: block;
}

.om-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.om-nav a {
    padding: 0.5rem 0.85rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--om-navy);
}

.om-nav a:hover:not(.om-btn-navy) {
    color: var(--om-navy);
    background: rgba(var(--om-navy-rgb), 0.06);
}

.om-nav a.om-nav-link--active {
    background: rgba(var(--om-navy-rgb), 0.1);
    font-weight: 700;
}

.om-header-logout {
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.om-nav-logout {
    padding: 0.5rem 0.85rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--om-navy);
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.om-nav-logout:hover {
    background: rgba(var(--om-navy-rgb), 0.06);
}

.om-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0rem 1.15rem;
    min-height: 2.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
    gap: 0.4rem;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.om-btn-primary {
    background: var(--om-primary);
    color: var(--om-text-on-primary);
}

.om-btn-primary:hover {
    background: var(--om-primary-hover);
    color: var(--om-text-on-primary);
}

.om-btn-primary:active {
    background: var(--om-primary-active);
}

.om-btn-ghost {
    background: transparent;
    color: var(--om-text);
    border: 1px solid var(--om-border-strong);
}

.om-btn-ghost:hover {
    background: rgba(var(--om-navy-rgb), 0.04);
    border-color: var(--om-navy-soft);
}

/* Navy header CTA (e.g. Sign in) */
.om-btn-navy {
    background: var(--om-navy);
    color: #ffffff !important;
    border: 1px solid var(--om-navy);
}

.om-btn-navy:hover {
    background: var(--om-navy-soft);
    border-color: var(--om-navy-soft);
    color: #ffffff !important;
}

.om-section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem 4rem;
}

.om-section h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--om-navy);
    margin: 0 0 1.5rem;
    text-align: center;
}

.om-grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .om-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.om-card {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
}

.om-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--om-navy);
}

.om-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--om-muted);
    line-height: 1.55;
}

.om-supplier-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.om-footer {
    border-top: 1px solid var(--om-border);
    padding: 1.5rem 1.25rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--om-muted);
    background: var(--om-secondary);
}

.om-page-title {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2rem 1.25rem 1rem;
}

.om-page-title h1 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--om-navy);
    margin: 0 0 0.35rem;
}

.om-page-title p {
    margin: 0;
    color: var(--om-muted);
    font-size: 0.95rem;
}

.om-filters {
    max-width: 1120px;
    margin: 0 auto 1.5rem;
    padding: 0 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: flex-end;
}

.om-filters label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--om-muted);
}

.om-filters select,
.om-filters input[type="date"] {
    min-width: 160px;
    padding: 0.45rem 0.65rem;
    border-radius: 0.5rem;
    border: 1px solid var(--om-border);
    background: var(--om-input-bg);
    color: var(--om-input-fg);
    font-size: 0.9rem;
}

.om-filters select:focus,
.om-filters input[type="date"]:focus {
    outline: none;
    border-color: var(--om-primary);
    box-shadow: 0 0 0 3px rgba(var(--om-primary-rgb), 0.2);
}

.om-rfp-list {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
    display: grid;
    gap: 1rem;
}

.om-rfp-card {
    display: block;
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.om-rfp-card:hover {
    border-color: var(--om-border-strong);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

.om-rfp-card h2 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--om-navy);
}

.om-rfp-meta {
    font-size: 0.8rem;
    color: var(--om-muted);
    margin-bottom: 0.5rem;
}

.om-rfp-summary {
    font-size: 0.9rem;
    color: var(--om-muted);
    line-height: 1.5;
    margin: 0;
}

.om-empty {
    text-align: center;
    padding: 3rem 1.25rem;
    color: var(--om-muted);
}

.om-prose {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
    color: var(--om-muted);
    line-height: 1.65;
}

.om-prose h1 {
    color: var(--om-navy);
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.om-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    background: rgba(var(--om-primary-rgb), 0.18);
    color: #9a3412;
    margin-right: 0.35rem;
    margin-bottom: 0.35rem;
}

.pagination {
    justify-content: center;
    margin-top: 1.5rem;
}

.pagination .page-link {
    background: var(--om-surface);
    border-color: var(--om-border);
    color: var(--om-text);
}

.pagination .page-link:hover {
    background: rgba(var(--om-primary-rgb), 0.08);
    border-color: var(--om-primary);
    color: var(--om-text);
}

.pagination .page-item.active .page-link {
    background: var(--om-primary);
    border-color: var(--om-primary);
    color: var(--om-text-on-primary);
}

/* ── Home page hero ───────────────────────────────────────────────── */

.om-home-hero {
    position: relative;
    overflow: hidden;
    min-height: min(70vh, 520px);
    display: flex;
    align-items: center;
}

.om-home-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.om-home-hero__overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(
        165deg,
        rgba(12, 25, 41, 0.88) 0%,
        rgba(30, 58, 95, 0.72) 45%,
        rgba(12, 25, 41, 0.82) 100%
    ); */
}

.om-home-hero__inner {
    position: relative;
    z-index: 1;
    margin: 0 5%;
    width: 100%;
    padding: 3.75rem 1.25rem;
    text-align: left;
}

.om-home-hero__brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.25rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.om-home-hero__brand img {
    height: 3.5rem;
    width: auto;
    display: block;
}

.om-home-hero__brand-one {
    color: #f8fafc;
    font-weight: 800;
}

.om-home-hero__brand-sep {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-left: 2px solid var(--om-accent-bright);
    padding-left: 0.35rem;
    color: var(--om-accent-bright);
    font-weight: 700;
    line-height: 1;
}

.om-home-hero__brand-mining {
    color: rgba(248, 250, 252, 0.75);
    font-weight: 500;
}

.om-home-hero h1 {
    font-size: clamp(2.25rem, 6vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #f8fafc;
    line-height: 1.1;
    margin: 0 0 1rem;
}

.om-home-hero__title-accent {
    color: var(--om-primary);
}

.om-home-hero__lede {
    max-width: 34rem;
    margin: 0 0 2rem;
    font-size: 1.05rem;
    color: rgba(248, 250, 252, 0.85);
    line-height: 1.65;
}

.om-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.om-btn.om-home-btn-primary {
    background: var(--om-primary);
    color: var(--om-text-on-primary);
    padding: 0.65rem 1.5rem;
    border-radius: 0.5rem;
}

.om-btn.om-home-btn-primary:hover {
    background: var(--om-primary-hover);
    color: var(--om-text-on-primary);
}

.om-btn.om-home-btn-primary:active {
    background: var(--om-primary-active);
}

.om-btn.om-home-btn-secondary {
    background: var(--om-cream);
    color: var(--om-navy);
    padding: 0.65rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(12, 25, 41, 0.2);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.om-btn.om-home-btn-secondary:hover {
    background: #ffffff;
    border-color: var(--om-navy);
    color: var(--om-navy);
}

/* ── Home page "How it works" section ─────────────────────────────── */

.om-home-how.om-section {
    background: var(--om-secondary);
    max-width: none;
    padding: 3.5rem 0 4rem;
    margin: 0;
    border-top: 1px solid var(--om-border);
}

.om-home-how.om-section h2 {
    color: var(--om-navy);
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 0 1.25rem;
}

.om-home-how .om-grid-3 {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
    gap: 1.75rem;
}

.om-card.om-home-card {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 0.75rem;
}

.om-card.om-home-card:hover {
    border-color: var(--om-border-strong);
}

.om-card.om-home-card h3 {
    color: var(--om-navy);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.om-card.om-home-card p {
    color: var(--om-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

.om-home-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--om-primary);
}

/* ── RFPs listing page — modern gamified design ──────────────────── */

/* Hero banner */
.om-rfps-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--om-navy) 0%, #162d50 50%, var(--om-navy-soft) 100%);
    padding: 3.5rem 1.25rem 3rem;
}

.om-rfps-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 70% 40%, rgba(var(--om-primary-rgb), 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(var(--om-primary-rgb), 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.om-rfps-hero::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(var(--om-primary-rgb), 0.04);
    pointer-events: none;
}

.om-rfps-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
}

.om-rfps-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    background: rgba(var(--om-primary-rgb), 0.15);
    color: var(--om-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.om-rfps-hero__label svg {
    width: 14px;
    height: 14px;
}

.om-rfps-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 0.5rem;
}

.om-rfps-hero h1 span {
    color: var(--om-primary);
}

.om-rfps-hero__sub {
    font-size: 1rem;
    color: rgba(248, 250, 252, 0.65);
    margin: 0 0 2rem;
    max-width: 32rem;
    line-height: 1.55;
}

.om-rfps-hero__portal-note {
    font-size: 0.88rem;
    color: rgba(248, 250, 252, 0.78);
    margin: -1rem 0 1.25rem;
    max-width: 36rem;
    line-height: 1.5;
}

.om-rfps-hero__portal-note a {
    color: var(--om-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.om-rfps-hero__portal-note a:hover {
    color: #fff;
}

.om-rfps-hero__portal-meta {
    font-weight: 500;
    color: rgba(248, 250, 252, 0.55);
}

/* Search bar inside hero */
.om-rfps-search {
    display: flex;
    max-width: 520px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.65rem;
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.om-rfps-search:focus-within {
    border-color: var(--om-primary);
    box-shadow: 0 0 0 3px rgba(var(--om-primary-rgb), 0.2);
}

.om-rfps-search input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.7rem 1rem;
    color: #f8fafc;
    font-size: 0.9rem;
    border-top-left-radius: 0.65rem;
    border-bottom-left-radius: 0.65rem;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    outline: none;
}

.om-rfps-search input::placeholder {
    color: rgba(248, 250, 252, 0.4);
}

.om-rfps-search button {
    background: var(--om-primary);
    border: none;
    padding: 0.7rem 1.15rem;
    color: var(--om-text-on-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.15s ease;
}

.om-rfps-search button:hover {
    background: var(--om-primary-hover);
}

/* Stats bar */
.om-rfps-stats {
    max-width: 1120px;
    margin: -1.75rem auto 0;
    padding: 0 1.25rem;
    position: relative;
    z-index: 2;
}

.om-rfps-stats__inner {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: 0.85rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

@media (min-width: 768px) {
    .om-rfps-stats__inner {
        grid-template-columns: repeat(4, 1fr);
    }
}

.om-rfps-stats__inner.om-rfps-stats__inner--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.om-rfps-stat {
    text-align: center;
    padding: 0.5rem 0;
}

.om-rfps-stat:not(:last-child) {
    border-right: 1px solid var(--om-border);
}

.om-rfps-stat__number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--om-navy);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.om-rfps-stat__number--accent {
    color: var(--om-primary);
}

.om-rfps-stat__label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--om-muted);
}

/* Filter section */
.om-rfps-filters {
    max-width: 1120px;
    margin: 2rem auto 0;
    padding: 0 1.25rem;
}

.om-rfps-filters__bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}

.om-rfps-filters__bar label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--om-muted);
}

.om-rfps-filters__bar select,
.om-rfps-filters__bar input[type="date"] {
    min-width: 150px;
    padding: 0.45rem 0.65rem;
    border-radius: 0.5rem;
    border: 1px solid var(--om-border);
    background: var(--om-secondary);
    color: var(--om-input-fg);
    font-size: 0.85rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.om-rfps-filters__bar select:focus,
.om-rfps-filters__bar input[type="date"]:focus {
    outline: none;
    border-color: var(--om-primary);
    box-shadow: 0 0 0 3px rgba(var(--om-primary-rgb), 0.15);
}

.om-rfps-filters__actions {
    margin-left: auto;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

/* Card grid */
.om-rfps-grid {
    max-width: 1120px;
    margin: 1.75rem auto 0;
    padding: 0 1.25rem 2.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .om-rfps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .om-rfps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Individual card */
.om-rfps-card {
    display: flex;
    flex-direction: column;
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: 0.85rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.2s ease;
    text-decoration: none;
    color: inherit;
    opacity: 0;
    animation: om-rfps-fadeUp 0.45s ease forwards;
}

.om-rfps-card:nth-child(1) { animation-delay: 0.04s; }
.om-rfps-card:nth-child(2) { animation-delay: 0.08s; }
.om-rfps-card:nth-child(3) { animation-delay: 0.12s; }
.om-rfps-card:nth-child(4) { animation-delay: 0.16s; }
.om-rfps-card:nth-child(5) { animation-delay: 0.20s; }
.om-rfps-card:nth-child(6) { animation-delay: 0.24s; }
.om-rfps-card:nth-child(7) { animation-delay: 0.28s; }
.om-rfps-card:nth-child(8) { animation-delay: 0.32s; }
.om-rfps-card:nth-child(9) { animation-delay: 0.36s; }
.om-rfps-card:nth-child(10) { animation-delay: 0.40s; }
.om-rfps-card:nth-child(11) { animation-delay: 0.44s; }
.om-rfps-card:nth-child(12) { animation-delay: 0.48s; }

@keyframes om-rfps-fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.om-rfps-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.12);
    border-color: var(--om-primary);
}

/* Card top accent bar */
.om-rfps-card__accent {
    height: 4px;
    background: linear-gradient(90deg, var(--om-primary) 0%, var(--om-primary-hover) 100%);
    transition: height 0.2s ease;
}

.om-rfps-card:hover .om-rfps-card__accent {
    height: 5px;
}

.om-rfps-card__body {
    padding: 1.25rem 1.35rem 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Badges row */
.om-rfps-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}

.om-rfps-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.55rem;
    border-radius: 0.3rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.om-rfps-badge--new {
    background: #dbeafe;
    color: #1e40af;
}

.om-rfps-badge--closing {
    background: #fef3c7;
    color: #92400e;
    animation: om-rfps-pulse 2s ease-in-out infinite;
}

.om-rfps-badge--urgent {
    background: #fee2e2;
    color: #991b1b;
    animation: om-rfps-pulse 1.5s ease-in-out infinite;
}

.om-rfps-badge--category {
    background: rgba(var(--om-primary-rgb), 0.9);
    color: #9a3412;
}

@keyframes om-rfps-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.om-rfps-badge svg {
    width: 10px;
    height: 10px;
}

.om-rfps-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--om-navy);
    margin: 0 0 0.35rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.om-rfps-card__site {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: var(--om-muted);
    margin-bottom: 0.5rem;
}

.om-rfps-card__site svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.om-rfps-card__summary {
    font-size: 0.83rem;
    color: var(--om-muted);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* Countdown footer */
.om-rfps-card__footer {
    padding: 0.85rem 1.35rem;
    border-top: 1px solid var(--om-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    background: var(--om-secondary);
}

.om-rfps-countdown {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.om-rfps-countdown__segment {
    text-align: center;
    min-width: 2.5rem;
}

.om-rfps-countdown__value {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--om-navy);
    line-height: 1.2;
}

.om-rfps-countdown__unit {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--om-muted);
}

.om-rfps-countdown__sep {
    font-size: 1rem;
    font-weight: 700;
    color: var(--om-muted);
    margin-top: -0.3rem;
}

/* Urgency color overrides */
.om-rfps-card--urgent .om-rfps-card__accent {
    background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
}

.om-rfps-card--urgent .om-rfps-countdown__value {
    color: #dc2626;
}

.om-rfps-card--closing .om-rfps-card__accent {
    background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%);
}

.om-rfps-card--closing .om-rfps-countdown__value {
    color: #d97706;
}

.om-rfps-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--om-primary);
    white-space: nowrap;
    transition: gap 0.2s ease;
}

.om-rfps-card:hover .om-rfps-card__cta {
    gap: 0.5rem;
}

.om-rfps-card__cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.om-rfps-card:hover .om-rfps-card__cta svg {
    transform: translateX(2px);
}

/* Empty state */
.om-rfps-empty {
    max-width: 1120px;
    margin: 0 auto;
    padding: 4rem 1.25rem 5rem;
    text-align: center;
}

.om-rfps-empty__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--om-secondary);
    color: var(--om-muted);
}

.om-rfps-empty__icon svg {
    width: 2.5rem;
    height: 2.5rem;
}

.om-rfps-empty h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--om-navy);
    margin: 0 0 0.5rem;
}

.om-rfps-empty p {
    color: var(--om-muted);
    font-size: 0.9rem;
    max-width: 24rem;
    margin: 0 auto;
    line-height: 1.55;
}

/* Pagination wrapper */
.om-rfps-pagination {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem 3.5rem;
}

/* CTA banner at bottom */
.om-rfps-cta {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
}

.om-rfps-cta__inner {
    background: linear-gradient(135deg, var(--om-navy) 0%, #162d50 100%);
    border-radius: 0.85rem;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.om-rfps-cta__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(var(--om-primary-rgb), 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.om-rfps-cta h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #f8fafc;
    margin: 0;
    position: relative;
}

.om-rfps-cta p {
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.65);
    margin: 0;
    max-width: 70%;
    line-height: 1.5;
    position: relative;
}

.om-rfps-cta .om-btn {
    position: relative;
}

@media (min-width: 768px) {
    .om-rfps-cta__inner {
        flex-direction: row;
        text-align: left;
        padding: 2.5rem 3rem;
    }

    .om-rfps-cta h3 {
        white-space: nowrap;
    }

    .om-rfps-cta p {
        flex: 1;
    }
}

/* ── RFP detail page — modern gamified design ────────────────────── */

/* Breadcrumb */
.om-rfpd-breadcrumb {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1rem 1.25rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--om-muted);
}

.om-rfpd-breadcrumb a {
    color: var(--om-muted);
    transition: color 0.15s ease;
}

.om-rfpd-breadcrumb a:hover {
    color: var(--om-primary);
}

.om-rfpd-breadcrumb svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.om-rfpd-breadcrumb__sep {
    color: var(--om-border-strong);
    font-size: 0.75rem;
}

.om-rfpd-breadcrumb__current {
    font-weight: 600;
    color: var(--om-navy);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 30ch;
}

/* Detail hero */
.om-rfpd-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--om-navy) 0%, #162d50 60%, var(--om-navy-soft) 100%);
    padding: 2.5rem 1.25rem 3.5rem;
    margin-top: 0.75rem;
}

.om-rfpd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 80% 30%, rgba(var(--om-primary-rgb), 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 10% 90%, rgba(var(--om-primary-rgb), 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.om-rfpd-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
}

.om-rfpd-hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.om-rfpd-hero h1 {
    font-size: clamp(1.5rem, 3.5vw, 2.15rem);
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin: 0 0 0.85rem;
    max-width: 44rem;
}

.om-rfpd-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    align-items: center;
}

.om-rfpd-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.7);
}

.om-rfpd-hero__meta-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.6;
}

/* Two-column layout */
.om-rfpd-layout {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
    position: relative;
    top: -1.5rem;
}

@media (min-width: 768px) {
    .om-rfpd-layout {
        grid-template-columns: 1fr 320px;
    }
}

@media (min-width: 1024px) {
    .om-rfpd-layout {
        grid-template-columns: 1fr 340px;
    }
}

/* Main content column */
.om-rfpd-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.om-rfpd-content {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: 0.85rem;
    padding: 2rem 2rem 2.5rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.om-rfpd-content__label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--om-muted);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--om-border);
    width: 100%;
}

.om-rfpd-content__label svg {
    width: 14px;
    height: 14px;
}

.om-rfpd-summary {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--om-text);
    line-height: 1.65;
    margin: 0 0 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--om-border);
}

.om-rfpd-description {
    color: var(--om-muted);
    font-size: 0.92rem;
    line-height: 1.75;
}

.om-rfpd-description p {
    margin: 0 0 1rem;
}

/* Attachments */
.om-rfpd-attachments {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.om-rfpd-attach-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem 1rem;
    background: var(--om-secondary);
    border: 1px solid var(--om-border);
    border-radius: 0.625rem;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.om-rfpd-attach-card:hover {
    border-color: var(--om-border-strong);
    box-shadow: 0 2px 8px rgba(12, 25, 41, 0.06);
    background: #fff;
}

.om-rfpd-attach-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.5rem;
}

.om-rfpd-attach-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.om-rfpd-attach-icon--pdf {
    background: #fef2f2;
    color: #dc2626;
}

.om-rfpd-attach-icon--word {
    background: #eff6ff;
    color: #2563eb;
}

.om-rfpd-attach-icon--excel {
    background: #f0fdf4;
    color: #16a34a;
}

.om-rfpd-attach-icon--ppt {
    background: #fff7ed;
    color: #ea580c;
}

.om-rfpd-attach-icon--image {
    background: #faf5ff;
    color: #9333ea;
}

.om-rfpd-attach-icon--archive {
    background: #fefce8;
    color: #ca8a04;
}

.om-rfpd-attach-icon--generic {
    background: var(--om-secondary);
    color: var(--om-muted);
}

.om-rfpd-attach-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.om-rfpd-attach-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--om-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.om-rfpd-attach-meta {
    font-size: 0.75rem;
    color: var(--om-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.om-rfpd-attach-dl {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(237, 153, 29, 0.1);
    color: var(--om-primary);
    transition: background 0.2s, color 0.2s;
}

.om-rfpd-attach-dl svg {
    width: 1.125rem;
    height: 1.125rem;
}

.om-rfpd-attach-card:hover .om-rfpd-attach-dl {
    background: var(--om-primary);
    color: var(--om-text-on-primary);
}

.om-rfpd-attach-count {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--om-muted);
    margin-left: auto;
}

.om-rfpd-attach-gate {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.25rem 1.5rem;
    border: 2px dashed var(--om-border-strong);
    border-radius: 0.85rem;
    background: var(--om-secondary);
}

.om-rfpd-attach-gate__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(var(--om-navy-rgb), 0.06);
    color: var(--om-muted);
    margin-bottom: 0.875rem;
}

.om-rfpd-attach-gate__icon svg {
    width: 1.375rem;
    height: 1.375rem;
}

.om-rfpd-attach-gate__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--om-text);
    margin: 0 0 0.375rem;
}

.om-rfpd-attach-gate__text {
    font-size: 0.8rem;
    color: var(--om-muted);
    line-height: 1.55;
    margin: 0 0 1.25rem;
    max-width: 26rem;
}

.om-rfpd-attach-gate__btn {
    display: inline-flex;
    justify-content: center;
    padding: 0rem 2rem !important;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.85rem;
}

.om-rfpd-attach-gate__footer {
    font-size: 0.75rem;
    color: var(--om-muted);
    margin: 0.875rem 0 0;
}

.om-rfpd-attach-gate__footer a {
    color: var(--om-primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.om-rfpd-attach-gate__footer a:hover {
    color: var(--om-primary-hover);
}

/* Sidebar */
.om-rfpd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Countdown card */
.om-rfpd-countdown-card {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: 0.85rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.om-rfpd-countdown-card__header {
    background: var(--om-navy);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(248, 250, 252, 0.8);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.om-rfpd-countdown-card__header svg {
    width: 16px;
    height: 16px;
    color: var(--om-primary);
}

.om-rfpd-countdown-card__body {
    padding: 1.5rem 1.25rem;
    text-align: center;
}

.om-rfpd-countdown-lg {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}

.om-rfpd-countdown-lg__segment {
    flex: 1;
    max-width: 4.5rem;
    background: var(--om-secondary);
    border-radius: 0.5rem;
    padding: 0.65rem 0.25rem;
    border: 1px solid var(--om-border);
}

.om-rfpd-countdown-lg__value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--om-navy);
    line-height: 1.1;
}

.om-rfpd-countdown-lg__unit {
    display: block;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--om-muted);
    margin-top: 0.2rem;
}

.om-rfpd-countdown-card__deadline {
    margin-top: 1rem;
    font-size: 0.78rem;
    color: var(--om-muted);
}

.om-rfpd-countdown-card__deadline strong {
    color: var(--om-navy);
    font-weight: 700;
}

/* Urgency overrides */
.om-rfpd-countdown-card--urgent .om-rfpd-countdown-card__header {
    background: #991b1b;
}

.om-rfpd-countdown-card--urgent .om-rfpd-countdown-lg__value {
    color: #dc2626;
}

.om-rfpd-countdown-card--urgent .om-rfpd-countdown-lg__segment {
    border-color: #fecaca;
    background: #fef2f2;
}

.om-rfpd-countdown-card--closing .om-rfpd-countdown-card__header {
    background: #78350f;
}

.om-rfpd-countdown-card--closing .om-rfpd-countdown-lg__value {
    color: #d97706;
}

.om-rfpd-countdown-card--closing .om-rfpd-countdown-lg__segment {
    border-color: #fde68a;
    background: #fffbeb;
}

/* Info card (sidebar) */
.om-rfpd-info {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: 0.85rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.om-rfpd-info__header {
    padding: 0.85rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--om-muted);
    border-bottom: 1px solid var(--om-border);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.om-rfpd-info__header svg {
    width: 14px;
    height: 14px;
}

.om-rfpd-info__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--om-border);
    gap: 0.75rem;
}

.om-rfpd-info__row:last-child {
    border-bottom: none;
}

.om-rfpd-info__label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--om-muted);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.om-rfpd-info__label svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.om-rfpd-info__value {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--om-navy);
    text-align: right;
}

/* Categories in sidebar */
.om-rfpd-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: flex-end;
}

/* CTA card (sidebar) */
.om-rfpd-cta-card {
    background: linear-gradient(135deg, var(--om-navy) 0%, #162d50 100%);
    border-radius: 0.85rem;
    padding: 1.75rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.om-rfpd-cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(var(--om-primary-rgb), 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.om-rfpd-cta-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: rgba(var(--om-primary-rgb), 0.2);
    color: var(--om-primary);
    margin: 0 auto 1rem;
    position: relative;
}

.om-rfpd-cta-card__icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.om-rfpd-cta-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 0.5rem;
    position: relative;
}

.om-rfpd-cta-card p {
    font-size: 0.8rem;
    color: rgba(248, 250, 252, 0.6);
    margin: 0 0 1.25rem;
    line-height: 1.5;
    position: relative;
}

.om-rfpd-cta-card .om-btn {
    position: relative;
    display: flex;
    width: 100%;
    justify-content: center;
    border-radius: 0.5rem;
    box-sizing: border-box;
}

.om-rfpd-flash {
    max-width: 1120px;
    margin: 0 auto 1rem;
    padding: 0 1.25rem;
    box-sizing: border-box;
}

.om-rfpd-flash-list {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    font-size: 0.88rem;
}

/* Supplier proposal (public RFP detail sidebar) */
.om-rfpd-proposal-card {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: 0.85rem;
    padding: 1.25rem 1.15rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

@media (min-width: 1024px) {
    .om-rfpd-proposal-card {
        position: sticky;
        top: 1rem;
    }
}

.om-rfpd-proposal-card__top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.om-rfpd-proposal-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(var(--om-primary-rgb), 0.12);
    color: var(--om-primary);
    margin-bottom: 0;
    flex-shrink: 0;
}

.om-rfpd-proposal-card__icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

.om-rfpd-proposal-card h4 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--om-navy);
    margin: 0;
}

.om-rfpd-proposal-card__meta {
    font-size: 0.82rem;
    color: var(--om-muted);
    margin: 0 0 0.35rem;
}

.om-rfpd-proposal-card__warn {
    font-size: 0.82rem;
    color: #92400e;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 0.5rem;
    padding: 0.55rem 0.75rem;
    margin: 0 0 0.75rem;
    line-height: 1.45;
}

.om-rfpd-proposal-card__message {
    margin: 0.75rem 0;
}

.om-rfpd-proposal-card__message strong {
    display: block;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--om-muted);
    margin-bottom: 0.35rem;
}

.om-rfpd-proposal-card__message-body {
    font-size: 0.88rem;
    color: var(--om-text);
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.5;
}

.om-rfpd-proposal-card__btn {
    margin-top: 0.75rem;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}

/* ── Submitted proposal — modern confirmation view ────────────── */
.om-rfpd-submitted {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: 0.85rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.om-rfpd-submitted__banner {
    background: var(--om-navy);
    padding: 1.35rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    position: relative;
    overflow: hidden;
}

.om-rfpd-submitted__banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(var(--om-primary-rgb), 0.12) 0%, transparent 60%);
    pointer-events: none;
}

.om-rfpd-submitted__check {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: rgba(var(--om-primary-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.om-rfpd-submitted__check svg {
    width: 1.3rem;
    height: 1.3rem;
    color: var(--om-primary);
}

.om-rfpd-submitted__banner-text {
    position: relative;
}

.om-rfpd-submitted__banner-title {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.25;
}

.om-rfpd-submitted__banner-sub {
    display: block;
    font-size: 0.75rem;
    color: rgba(248, 250, 252, 0.6);
    margin-top: 0.15rem;
}

.om-rfpd-submitted__body {
    padding: 1.15rem 1.25rem;
}

.om-rfpd-submitted__info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.om-rfpd-submitted__info-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.om-rfpd-submitted__info-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--om-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.om-rfpd-submitted__info-label svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.om-rfpd-submitted__info-value {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--om-navy);
}

.om-rfpd-submitted__info-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 600;
    background: #ecfdf5;
    color: #065f46;
    width: fit-content;
}

.om-rfpd-submitted__info-badge svg {
    width: 11px;
    height: 11px;
}

.om-rfpd-submitted__divider {
    height: 1px;
    background: var(--om-border);
    margin: 0 0 1.15rem;
}

.om-rfpd-submitted__section-title {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--om-muted);
    margin: 0 0 0.55rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.om-rfpd-submitted__section-title svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.om-rfpd-submitted__letter {
    background: var(--om-secondary);
    border: 1px solid var(--om-border);
    border-radius: 0.6rem;
    padding: 0.85rem 1rem;
    font-size: 0.84rem;
    color: var(--om-text);
    white-space: pre-wrap;
    word-break: break-word;
    line-height: 1.55;
    max-height: 12rem;
    overflow-y: auto;
    margin-bottom: 1.15rem;
}

.om-rfpd-submitted__docs {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.om-rfpd-submitted__doc {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.7rem;
    background: var(--om-secondary);
    border: 1px solid var(--om-border);
    border-radius: 0.55rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.om-rfpd-submitted__doc:hover {
    background: rgba(var(--om-primary-rgb), 0.06);
    border-color: rgba(var(--om-primary-rgb), 0.25);
}

.om-rfpd-submitted__doc-icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.om-rfpd-submitted__doc-icon svg {
    width: 1rem;
    height: 1rem;
}

.om-rfpd-submitted__doc-icon--pdf { background: #fef2f2; color: #dc2626; }
.om-rfpd-submitted__doc-icon--word { background: #eff6ff; color: #2563eb; }
.om-rfpd-submitted__doc-icon--excel { background: #ecfdf5; color: #059669; }
.om-rfpd-submitted__doc-icon--ppt { background: #fff7ed; color: #ea580c; }
.om-rfpd-submitted__doc-icon--image { background: #fdf4ff; color: #a855f7; }
.om-rfpd-submitted__doc-icon--archive { background: #fefce8; color: #ca8a04; }
.om-rfpd-submitted__doc-icon--default { background: rgba(var(--om-primary-rgb), 0.1); color: var(--om-primary); }

.om-rfpd-submitted__doc-info {
    flex: 1;
    min-width: 0;
}

.om-rfpd-submitted__doc-name {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--om-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.om-rfpd-submitted__doc-meta {
    display: block;
    font-size: 0.68rem;
    color: var(--om-muted);
}

.om-rfpd-submitted__doc-dl {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: rgba(var(--om-primary-rgb), 0.1);
    flex-shrink: 0;
    transition: background 0.15s ease;
}

.om-rfpd-submitted__doc:hover .om-rfpd-submitted__doc-dl {
    background: rgba(var(--om-primary-rgb), 0.2);
}

.om-rfpd-submitted__doc-dl svg {
    width: 0.8rem;
    height: 0.8rem;
    color: var(--om-primary);
}

.om-rfpd-submitted__footer {
    background: var(--om-secondary);
    border-top: 1px solid var(--om-border);
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: var(--om-muted);
}

.om-rfpd-submitted__footer svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: #059669;
}

.om-rfpd-proposal-form__label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--om-muted);
    margin: 0.7rem 0 0.35rem;
}

.om-rfpd-proposal-form__label:first-of-type {
    margin-top: 0;
}

.om-rfpd-proposal-form__textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 0.6rem 0.7rem;
    border-radius: 0.5rem;
    border: 1px solid var(--om-border);
    background: var(--om-input-bg, #fff);
    color: var(--om-input-fg, var(--om-text));
    font-size: 0.88rem;
    font-family: inherit;
    min-height: 6.25rem;
    line-height: 1.45;
    resize: vertical;
}

.om-rfpd-proposal-form__textarea:focus {
    outline: none;
    border-color: var(--om-primary);
    box-shadow: 0 0 0 3px rgba(var(--om-primary-rgb), 0.2);
}

.om-rfpd-proposal-form__textarea--error {
    border-color: #dc2626;
}

.om-rfpd-proposal-form__file {
    width: 100%;
    font-size: 0.82rem;
    color: var(--om-muted);
}

.om-rfpd-proposal-form__file::file-selector-button {
    border: 1px solid var(--om-border);
    background: #fff;
    color: var(--om-navy);
    border-radius: 0.45rem;
    padding: 0.35rem 0.6rem;
    margin-right: 0.55rem;
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
}

.om-rfpd-proposal-dropzone-wrap {
    position: relative;
}

.om-rfpd-proposal-form__file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
    pointer-events: none;
}

.om-rfpd-proposal-dropzone-wrap--error .om-rfpd-proposal-dropzone {
    border-color: #dc2626;
    background: #fef2f2;
}

.om-rfpd-proposal-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.35rem;
    padding: 1rem 0.75rem;
    min-height: 6.5rem;
    box-sizing: border-box;
    border: 2px dashed var(--om-border);
    border-radius: 0.55rem;
    background: rgba(var(--om-primary-rgb), 0.04);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.om-rfpd-proposal-dropzone:hover {
    border-color: rgba(var(--om-primary-rgb), 0.55);
    background: rgba(var(--om-primary-rgb), 0.07);
}

.om-rfpd-proposal-dropzone:focus {
    outline: none;
    border-color: var(--om-primary);
    box-shadow: 0 0 0 3px rgba(var(--om-primary-rgb), 0.2);
}

.om-rfpd-proposal-dropzone--drag {
    border-color: var(--om-primary);
    background: rgba(var(--om-primary-rgb), 0.12);
    box-shadow: 0 0 0 3px rgba(var(--om-primary-rgb), 0.15);
}

.om-rfpd-proposal-dropzone__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(var(--om-primary-rgb), 0.12);
    color: var(--om-primary);
}

.om-rfpd-proposal-dropzone__icon svg {
    width: 1.1rem;
    height: 1.1rem;
}

.om-rfpd-proposal-dropzone__title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--om-navy);
    line-height: 1.3;
}

.om-rfpd-proposal-dropzone__sub {
    font-size: 0.72rem;
    color: var(--om-muted);
    line-height: 1.35;
}

.om-rfpd-proposal-dropzone__filename {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--om-primary);
    margin-top: 0.15rem;
    max-width: 100%;
    word-break: break-word;
}

.om-rfpd-proposal-form__hint {
    font-size: 0.75rem;
    color: var(--om-muted);
    margin: 0.25rem 0 0;
}

.om-rfpd-proposal-form__current-file {
    font-size: 0.82rem;
    margin: 0.5rem 0 0;
}

.om-rfpd-proposal-form__current-file a {
    color: var(--om-primary);
    font-weight: 600;
}

.om-rfpd-proposal-form__error {
    font-size: 0.78rem;
    color: #b91c1c;
    margin: 0.35rem 0 0;
}

.om-rfpd-proposal-form__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.om-rfpd-proposal-form__actions .om-btn {
    flex: 1 1 0;
    justify-content: center;
    min-height: 2.35rem;
    padding: 0 0.7rem;
    font-size: 0.84rem;
}

.om-rfpd-proposal-form__actions .om-btn-ghost {
    border: 1px solid var(--om-border);
    color: var(--om-navy);
    background: #fff;
}

/* Sidebar attachments card (right column) */
.om-rfpd-sidebar-attachments {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: 0.85rem;
    padding: 1.15rem 1.15rem 1rem;
    margin-bottom: 1rem;
}

.om-rfpd-sidebar-attachments__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--om-navy);
    margin-bottom: 0.85rem;
}

.om-rfpd-sidebar-attachments__header svg {
    width: 1.1rem;
    height: 1.1rem;
    color: var(--om-primary);
    flex-shrink: 0;
}

.om-rfpd-sidebar-attachments__header .om-rfpd-attach-count {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--om-muted);
}

.om-rfpd-sidebar-attachments__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.om-rfpd-sidebar-attachments__list .om-rfpd-attach-card {
    padding: 0.6rem 0.7rem;
}

.om-rfpd-sidebar-attachments .om-rfpd-attach-gate {
    padding: 1rem 0.5rem;
}

/* Cover letter mode toggle (upload OR text) */
.om-rfpd-mode-toggle {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 0.85rem;
    border: 1px solid var(--om-border);
    border-radius: 0.6rem;
    overflow: hidden;
    background: var(--om-secondary);
}

.om-rfpd-mode-toggle__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.5rem;
    border: none;
    background: transparent;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--om-muted);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.om-rfpd-mode-toggle__btn svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.om-rfpd-mode-toggle__btn:hover {
    color: var(--om-navy);
    background: rgba(var(--om-primary-rgb), 0.06);
}

.om-rfpd-mode-toggle__btn--active {
    background: var(--om-surface);
    color: var(--om-navy);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.om-rfpd-mode-toggle__btn--active svg {
    color: var(--om-primary);
}

.om-rfpd-mode-toggle__or {
    padding: 0 0.55rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--om-muted);
    flex-shrink: 0;
}

.om-rfpd-mode-panel {
    animation: om-rfpd-panel-in 0.2s ease;
}

@keyframes om-rfpd-panel-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Multi-file dropzone for proposal form */
.om-rfpd-multidrop {
    border: 2px dashed var(--om-border-strong);
    border-radius: 0.75rem;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.om-rfpd-multidrop:hover {
    border-color: rgba(var(--om-primary-rgb), 0.55);
    background: rgba(var(--om-primary-rgb), 0.04);
}

.om-rfpd-multidrop:focus {
    outline: none;
    border-color: var(--om-primary);
    box-shadow: 0 0 0 3px rgba(var(--om-primary-rgb), 0.2);
}

.om-rfpd-multidrop--drag {
    border-color: var(--om-primary);
    background: rgba(var(--om-primary-rgb), 0.1);
    box-shadow: 0 0 0 3px rgba(var(--om-primary-rgb), 0.15);
}

.om-rfpd-multidrop--error {
    border-color: #dc2626;
    background: #fef2f2;
}

.om-rfpd-multidrop__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(var(--om-primary-rgb), 0.12);
    margin: 0 auto 0.65rem;
}

.om-rfpd-multidrop__icon svg {
    width: 1.2rem;
    height: 1.2rem;
    color: var(--om-primary);
}

.om-rfpd-multidrop__title {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--om-navy);
}

.om-rfpd-multidrop__sub {
    display: block;
    font-size: 0.72rem;
    color: var(--om-muted);
    margin-top: 0.15rem;
}

.om-rfpd-multidrop__counter {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--om-primary);
    margin-top: 0.45rem;
    min-height: 1rem;
}

/* File preview list */
.om-rfpd-file-previews {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.65rem;
}

.om-rfpd-file-preview {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.65rem;
    background: var(--om-secondary);
    border: 1px solid var(--om-border);
    border-radius: 0.55rem;
    transition: background 0.15s ease;
}

.om-rfpd-file-preview:hover {
    background: #e2e8f0;
}

.om-rfpd-file-preview__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.4rem;
    background: rgba(var(--om-primary-rgb), 0.12);
    flex-shrink: 0;
}

.om-rfpd-file-preview__icon svg {
    width: 1rem;
    height: 1rem;
    color: var(--om-primary);
}

.om-rfpd-file-preview__info {
    flex: 1;
    min-width: 0;
}

.om-rfpd-file-preview__name {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--om-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.om-rfpd-file-preview__meta {
    display: block;
    font-size: 0.68rem;
    color: var(--om-muted);
}

.om-rfpd-file-preview__remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    color: var(--om-muted);
    transition: background 0.15s, color 0.15s;
    flex-shrink: 0;
    padding: 0;
}

.om-rfpd-file-preview__remove:hover {
    background: #fee2e2;
    color: #dc2626;
}

.om-rfpd-file-preview__remove svg {
    width: 0.85rem;
    height: 0.85rem;
}

/* Progress bar visual (time remaining) */
.om-rfpd-progress {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--om-border);
}

.om-rfpd-progress__label {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--om-muted);
    margin-bottom: 0.4rem;
}

.om-rfpd-progress__bar {
    height: 6px;
    border-radius: 3px;
    background: var(--om-secondary);
    overflow: hidden;
}

.om-rfpd-progress__fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--om-primary) 0%, var(--om-primary-hover) 100%);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.om-rfpd-progress__fill--warning {
    background: linear-gradient(90deg, #d97706 0%, #f59e0b 100%);
}

.om-rfpd-progress__fill--danger {
    background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
}

/* Related RFPs section */
.om-rfpd-related {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
}

.om-rfpd-related h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--om-navy);
    margin: 0 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.om-rfpd-related h2 svg {
    width: 20px;
    height: 20px;
    color: var(--om-primary);
}

.om-rfpd-related__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .om-rfpd-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .om-rfpd-related__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Fade-in for detail sections */
.om-rfpd-fadein {
    opacity: 0;
    animation: om-rfps-fadeUp 0.5s ease forwards;
}

.om-rfpd-fadein:nth-child(1) { animation-delay: 0.05s; }
.om-rfpd-fadein:nth-child(2) { animation-delay: 0.1s; }
.om-rfpd-fadein:nth-child(3) { animation-delay: 0.15s; }

/* ── Registration page — modern gamified design ──────────────────── */

/* Hero */
.om-reg-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--om-navy) 0%, #162d50 50%, var(--om-navy-soft) 100%);
    padding: 3rem 1.25rem 3.25rem;
}

.om-reg-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 75% 35%, rgba(var(--om-primary-rgb), 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 15% 85%, rgba(var(--om-primary-rgb), 0.06) 0%, transparent 55%);
    pointer-events: none;
}

.om-reg-hero::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(var(--om-primary-rgb), 0.04);
    pointer-events: none;
}

.om-reg-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
}

.om-reg-hero__label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    background: rgba(var(--om-primary-rgb), 0.15);
    color: var(--om-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.om-reg-hero__label svg {
    width: 14px;
    height: 14px;
}

.om-reg-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 0.5rem;
}

.om-reg-hero h1 span {
    color: var(--om-primary);
}

.om-reg-hero__sub {
    font-size: 0.95rem;
    color: rgba(248, 250, 252, 0.65);
    margin: 0;
    max-width: 36rem;
    line-height: 1.55;
}

/* Two-column layout */
.om-reg-layout {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
    position: relative;
    top: -1.5rem;
}

@media (min-width: 900px) {
    .om-reg-layout {
        grid-template-columns: 1fr 300px;
    }
}

/* Main form column */
.om-reg-main {
    min-width: 0;
}

/* Stepper card */
.om-reg-stepper-card {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: 0.85rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    margin-bottom: 1.25rem;
}

.om-reg-stepper-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.om-reg-stepper-title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--om-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.om-reg-stepper-title svg {
    width: 14px;
    height: 14px;
    color: var(--om-primary);
}

.om-reg-stepper-pct {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--om-navy);
}

/* Progress bar inside stepper */
.om-reg-stepper-bar {
    height: 6px;
    border-radius: 3px;
    background: var(--om-secondary);
    overflow: hidden;
    margin-bottom: 1rem;
}

.om-reg-stepper-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--om-primary) 0%, var(--om-primary-hover) 100%);
    width: 0%;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Steps row */
.om-reg-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
}

.om-reg-step-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--om-border);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--om-muted);
    background: transparent;
    transition: all 0.2s ease;
}

.om-reg-step-pill__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: var(--om-secondary);
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--om-muted);
    transition: all 0.2s ease;
}

.om-reg-step-pill.om-reg-step-active {
    border-color: var(--om-primary);
    background: rgba(var(--om-primary-rgb), 0.1);
    color: #9a3412;
}

.om-reg-step-pill.om-reg-step-active .om-reg-step-pill__num {
    background: var(--om-primary);
    color: var(--om-text-on-primary);
}

/* Form section cards — overflow must stay visible so native autocomplete isn’t clipped by the card */
.om-reg-section {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: 0.85rem;
    overflow: visible;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    margin-bottom: 1.25rem;
    /* opacity: 0; */
    /* animation: om-rfps-fadeUp 0.45s ease forwards; */
}

.om-reg-section:nth-child(1) { animation-delay: 0.04s; }
.om-reg-section:nth-child(2) { animation-delay: 0.08s; }
.om-reg-section:nth-child(3) { animation-delay: 0.12s; }
.om-reg-section:nth-child(4) { animation-delay: 0.16s; }
.om-reg-section:nth-child(5) { animation-delay: 0.20s; }

.om-reg-section__accent {
    height: 4px;
    background: linear-gradient(90deg, var(--om-primary) 0%, var(--om-primary-hover) 100%);
    border-radius: 0.85rem 0.85rem 0 0;
}

.om-reg-section__header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 1.15rem 1.5rem 0;
}

.om-reg-section__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(var(--om-primary-rgb), 0.15);
    color: var(--om-primary);
    font-size: 0.8rem;
    font-weight: 800;
    flex-shrink: 0;
}

.om-reg-section__titles h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--om-navy);
    margin: 0;
    line-height: 1.3;
}

.om-reg-section__titles p {
    font-size: 0.8rem;
    color: var(--om-muted);
    margin: 0.15rem 0 0;
    line-height: 1.4;
}

.om-reg-section__body {
    padding: 1rem 1.5rem 1.5rem;
    overflow: visible;
}

/* Submit area */
.om-reg-submit {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: 0.85rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

/* Sidebar */
.om-reg-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Why register card */
.om-reg-why {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: 0.85rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.om-reg-why__header {
    padding: 0.85rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--om-muted);
    border-bottom: 1px solid var(--om-border);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.om-reg-why__header svg {
    width: 14px;
    height: 14px;
    color: var(--om-primary);
}

.om-reg-why__list {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

.om-reg-why__item {
    display: flex;
    gap: 0.65rem;
    padding: 0.7rem 1.25rem;
    align-items: flex-start;
}

.om-reg-why__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: rgba(var(--om-primary-rgb), 0.12);
    color: var(--om-primary);
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.om-reg-why__icon svg {
    width: 14px;
    height: 14px;
}

.om-reg-why__text strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--om-navy);
    margin-bottom: 0.1rem;
}

.om-reg-why__text span {
    font-size: 0.76rem;
    color: var(--om-muted);
    line-height: 1.45;
}

/* Trust badges */
.om-reg-trust {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: 0.85rem;
    padding: 1.25rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    text-align: center;
}

.om-reg-trust__icons {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.om-reg-trust__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--om-secondary);
    color: var(--om-muted);
}

.om-reg-trust__icon svg {
    width: 16px;
    height: 16px;
}

.om-reg-trust p {
    font-size: 0.78rem;
    color: var(--om-muted);
    margin: 0;
    line-height: 1.5;
}

/* Help card */
.om-reg-help {
    background: linear-gradient(135deg, var(--om-navy) 0%, #162d50 100%);
    border-radius: 0.85rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.om-reg-help::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(var(--om-primary-rgb), 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.om-reg-help__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(var(--om-primary-rgb), 0.2);
    color: var(--om-primary);
    margin: 0 auto 0.85rem;
    position: relative;
}

.om-reg-help__icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.om-reg-help h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 0.35rem;
    position: relative;
}

.om-reg-help p {
    font-size: 0.78rem;
    color: rgba(248, 250, 252, 0.6);
    margin: 0;
    line-height: 1.5;
    position: relative;
}

/* Required star color */
.om-reg-form .req {
    color: var(--om-primary);
}

/* Sub-heading inside form sections */
.om-reg-section__subhead {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--om-text);
    margin: 0 0 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.om-reg-section__subhead--muted {
    font-weight: 500;
    font-size: 0.82rem;
    color: var(--om-muted);
}

/* ── One Mining form + button color guideline (public) ───────────── */

.om-public label {
    color: var(--om-muted);
}

.om-public input[type="text"],
.om-public input[type="email"],
.om-public input[type="password"],
.om-public input[type="date"],
.om-public input[type="url"],
.om-public input[type="tel"],
.om-public select,
.om-public textarea {
    background: #ffffff;
    color: var(--om-text);
    border: 1px solid var(--om-border);
    border-radius: 0.55rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.om-public input[type="text"]::placeholder,
.om-public input[type="email"]::placeholder,
.om-public input[type="password"]::placeholder,
.om-public input[type="date"]::placeholder,
.om-public input[type="url"]::placeholder,
.om-public input[type="tel"]::placeholder,
.om-public textarea::placeholder {
    color: #94a3b8;
}

.om-public input[type="text"]:focus,
.om-public input[type="email"]:focus,
.om-public input[type="password"]:focus,
.om-public input[type="date"]:focus,
.om-public input[type="url"]:focus,
.om-public input[type="tel"]:focus,
.om-public select:focus,
.om-public textarea:focus {
    outline: none;
    border-color: var(--om-primary);
    box-shadow: 0 0 0 3px rgba(var(--om-primary-rgb), 0.2);
}

/* Select2: match public inputs (library default border is too dark) */
.om-public .select2-container--default .select2-selection--single {
    border: 1px solid var(--om-border);
    border-radius: 0.55rem;
    background: #ffffff;
    height: auto;
    min-height: 2.5rem;
}

.om-public .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--om-text);
    line-height: 1.45;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.65rem;
}

.om-public .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    top: 0;
    right: 0.35rem;
}

.om-public .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--om-muted) transparent transparent transparent;
}

.om-public .select2-container--default.select2-container--focus .select2-selection--single,
.om-public .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--om-primary);
    box-shadow: 0 0 0 3px rgba(var(--om-primary-rgb), 0.2);
}

.om-public .select2-dropdown {
    border: 1px solid var(--om-border);
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(12, 25, 41, 0.08);
}

.om-public .select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--om-border);
    border-radius: 0.45rem;
}

/* Dropdown list: override Select2 default blue (select2.min.css loads after this file) */
.om-public .select2-container--default .select2-results__option--highlighted,
.om-public .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(var(--om-primary-rgb), 0.18) !important;
    color: var(--om-text) !important;
}

.om-public .select2-container--default .select2-results__option[aria-selected='true'] {
    background-color: rgba(var(--om-primary-rgb), 0.1) !important;
    color: var(--om-text) !important;
}

.om-public .select2-container--default .select2-results__option[aria-selected='true'].select2-results__option--highlighted {
    background-color: rgba(var(--om-primary-rgb), 0.26) !important;
    color: var(--om-text) !important;
}

/* Registration form: align with .om-reg-form field rhythm */
.om-reg-form .select2-container--default .select2-selection--single {
    border-radius: 0.5rem;
    background: var(--om-input-bg);
}

.om-reg-form .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0.5rem 2rem 0.5rem 0.65rem;
    font-size: 0.9rem;
    color: var(--om-input-fg);
}

.om-reg-form .select2-container--default.select2-container--focus .select2-selection--single,
.om-reg-form .select2-container--default.select2-container--open .select2-selection--single {
    box-shadow: 0 0 0 3px rgba(var(--om-primary-rgb), 0.28);
}

.om-reg-form .om-reg-invalid .select2-container--default .select2-selection--single {
    border-color: #dc2626 !important;
}

.om-reg-form .om-reg-invalid .select2-container--default.select2-container--focus .select2-selection--single,
.om-reg-form .om-reg-invalid .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #dc2626 !important;
    box-shadow: none;
}

/* RFP filters bar: match native filter selects (label has uppercase; Select2 sits inside label — reset case/spacing) */
.om-rfps-filters__bar label .select2-container {
    min-width: 150px;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
}

.om-rfps-filters__bar .select2-container--default .select2-selection--single {
    border-radius: 0.5rem;
    background: var(--om-secondary);
    border: 1px solid var(--om-border);
    min-height: 2.375rem;
    height: auto;
    display: flex;
    align-items: center;
}

.om-rfps-filters__bar .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0 2rem 0 0.65rem;
    font-size: 0.85rem;
    line-height: 1.35;
    color: var(--om-input-fg);
    text-transform: none;
    letter-spacing: normal;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.om-rfps-filters__bar .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 1.5rem;
    top: 50%;
    margin-top: -0.75rem;
    right: 0.35rem;
}

.om-rfps-filters__bar .select2-container--default.select2-container--focus .select2-selection--single,
.om-rfps-filters__bar .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--om-primary);
    box-shadow: 0 0 0 3px rgba(var(--om-primary-rgb), 0.15);
}

/* Select2 open panel — aligned with admin RFP form / attachment (search + padded options, brand highlight) */
.om-public .om-select2-dropdown--form.select2-dropdown {
    border: 1px solid var(--om-border);
    border-radius: 0.5rem;
    box-shadow: 0 4px 18px rgba(12, 25, 41, 0.1);
    overflow: hidden;
    min-width: 100%;
}

.om-public .om-select2-dropdown--form .select2-search--dropdown {
    padding: 0.5rem 0.65rem 0.35rem;
}

.om-public .om-select2-dropdown--form .select2-search--dropdown .select2-search__field {
    border: 1px solid var(--om-border);
    border-radius: 0.45rem;
    padding: 0.5rem 0.65rem;
    font-size: 0.85rem;
    line-height: 1.35;
    color: var(--om-text);
    margin: 0;
}

.om-public .om-select2-dropdown--form .select2-results__option {
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
    line-height: 1.35;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
}

.om-public .om-select2-dropdown--form .select2-results__option--highlighted,
.om-public .om-select2-dropdown--form .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(var(--om-primary-rgb), 0.2) !important;
    color: var(--om-text) !important;
}

.om-public .om-select2-dropdown--form .select2-results__option[aria-selected='true'] {
    background-color: rgba(var(--om-primary-rgb), 0.1) !important;
    color: var(--om-text) !important;
}

.om-public .om-select2-dropdown--form .select2-results__option[aria-selected='true'].select2-results__option--highlighted {
    background-color: rgba(var(--om-primary-rgb), 0.26) !important;
    color: var(--om-text) !important;
}

.om-public input:disabled,
.om-public select:disabled,
.om-public textarea:disabled {
    background: #f8fafc;
    color: var(--om-muted);
}

.om-btn {
    border-radius: 0.55rem;
    font-weight: 600;
}

.om-btn-primary {
    background: var(--om-primary);
    border: 1px solid var(--om-primary);
    color: var(--om-text-on-primary);
}

.om-btn-primary:hover {
    background: var(--om-primary-hover);
    border-color: var(--om-primary-hover);
    color: var(--om-text-on-primary);
}

.om-btn-ghost {
    background: #ffffff;
    border: 1px solid var(--om-border-strong);
    color: var(--om-text);
}

.om-btn-ghost:hover {
    background: #fff7ea;
    border-color: rgba(var(--om-primary-rgb), 0.55);
    color: var(--om-text);
}

/* Button size rhythm (public) */
.om-btn-sm {
    min-height: 2.125rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.82rem;
    border-radius: 0.45rem;
    gap: 0.3rem;
}

.om-btn-md {
    min-height: 2.5rem;
    padding: 0.55rem 1.15rem;
    font-size: 0.9rem;
    border-radius: 0.55rem;
}

.om-btn-lg {
    min-height: 2.875rem;
    padding: 0.7rem 1.4rem;
    font-size: 0.98rem;
    border-radius: 0.65rem;
    gap: 0.45rem;
}

/* ── Shared alerts (registration + auth) ───────────────────────── */

.om-alert {
    padding: 0.85rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.om-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.om-alert-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

/* ── Auth pages (login, password reset, verification) — om-auth-* ─ */

.om-auth-body .om-auth-main {
    padding-bottom: 2.5rem;
}

/* One aligned column below hero: context strip + grid share the same horizontal edges */
.om-auth-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    box-sizing: border-box;
}

.om-auth-body .om-reg-layout {
    position: static;
    top: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 900px) {
    .om-auth-body .om-reg-layout.om-auth-layout--split {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
        align-items: start;
    }
}

/* Grid/flex default min-width:auto prevents sidebar from shrinking — button then overflows */
.om-auth-body .om-reg-sidebar {
    min-width: 0;
    max-width: 100%;
}

/* Context strip: in document flow (no overlap with hero) */
.om-auth-context {
    margin: 0;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--om-muted);
    background: var(--om-secondary);
    border: 1px solid var(--om-border);
    border-radius: 0.75rem;
    box-shadow: none;
}

.om-auth-context strong {
    color: var(--om-text);
    font-weight: 600;
}

.om-auth-context-sep {
    color: var(--om-muted);
    margin: 0 0.35rem;
    user-select: none;
}

/* Single-column auth (verify, confirm, legacy register) */
.om-auth-narrow {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.om-auth-single {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    position: static;
    top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Unified sidebar card (replaces stacked fragments + loose button) */
.om-auth-aside-card {
    background: var(--om-surface);
    border: 1px solid var(--om-border);
    border-radius: 0.85rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    min-width: 0;
    max-width: 100%;
}

.om-auth-aside-card__accent {
    height: 4px;
    background: linear-gradient(90deg, var(--om-primary) 0%, var(--om-primary-hover) 100%);
}

.om-auth-aside-card__body {
    padding: 1.25rem 1.35rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    box-sizing: border-box;
}

.om-auth-aside-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--om-navy);
    margin: 0;
    line-height: 1.3;
}

.om-auth-aside-card__lede {
    font-size: 0.875rem;
    color: var(--om-muted);
    margin: 0;
    line-height: 1.55;
}

.om-auth-aside-card__rule {
    border: none;
    border-top: 1px solid var(--om-border);
    margin: 0;
}

.om-auth-aside-card__help-title {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--om-navy);
    margin: 0 0 0.35rem;
}

.om-auth-aside-card__help p {
    font-size: 0.82rem;
    color: var(--om-muted);
    margin: 0;
    line-height: 1.5;
}

.om-auth-aside-card .om-btn {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: center;
    margin-top: 0.15rem;
    white-space: normal;
    text-align: center;
}

.om-auth-section__header {
    padding: 1.15rem 1.5rem 0;
}

.om-auth-section__header h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--om-navy);
    margin: 0;
    line-height: 1.3;
}

.om-auth-section__header p {
    font-size: 0.8rem;
    color: var(--om-muted);
    margin: 0.15rem 0 0;
    line-height: 1.4;
}

.om-auth-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--om-muted);
    margin-bottom: 0.35rem;
}

.om-auth-form label .om-req {
    color: var(--om-primary);
}

.om-auth-form input[type="text"],
.om-auth-form input[type="email"],
.om-auth-form input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid var(--om-border);
    border-radius: 0.55rem;
    padding: 0.65rem 0.8rem;
    font-size: 0.95rem;
    font-family: inherit;
    background: #ffffff;
    color: var(--om-input-fg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.om-auth-form input:-webkit-autofill,
.om-auth-form input:-webkit-autofill:hover,
.om-auth-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--om-input-fg);
    transition: background-color 9999s ease-out;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
}

.om-auth-form input:focus {
    outline: none;
    border-color: rgba(var(--om-primary-rgb), 0.65);
    box-shadow: 0 0 0 3px rgba(var(--om-primary-rgb), 0.2);
}

.om-auth-form input.om-auth-input-invalid {
    border-color: #dc2626;
}

.om-auth-field {
    margin-bottom: 1rem;
}

.om-auth-field--tight {
    margin-bottom: 0.35rem;
}

.om-auth-invalid-feedback {
    display: block;
    font-size: 0.8rem;
    color: #b91c1c;
    margin-top: 0.35rem;
}

.om-auth-password-wrap {
    position: relative;
}

.om-auth-password-wrap input {
    padding-right: 2.75rem;
}

.om-auth-toggle-pw {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    border-radius: 0.45rem;
    background: transparent;
    color: var(--om-muted);
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}

.om-auth-toggle-pw:hover {
    color: var(--om-navy);
    background: rgba(var(--om-navy-rgb), 0.06);
}

.om-auth-toggle-pw:focus-visible {
    outline: 2px solid var(--om-primary);
    outline-offset: 2px;
}

.om-auth-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.om-auth-actions--row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: stretch;
    gap: 0.75rem;
}

/* Equal-width primary + secondary in one row (forgot password, etc.) */
.om-auth-actions--row > .om-btn {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    max-width: 100%;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

@media (max-width: 520px) {
    .om-auth-actions--row {
        flex-direction: column;
    }

    .om-auth-actions--row > .om-btn {
        flex: none;
        width: 100%;
    }
}

.om-auth-actions .om-btn {
    text-decoration: none;
}

.om-auth-inline-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.om-auth-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--om-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.om-auth-link:hover {
    color: var(--om-primary-hover);
    text-decoration: underline;
}

.om-auth-verify-actions {
    margin-top: 0.75rem;
}

.om-auth-hint {
    font-size: 0.8rem;
    color: var(--om-muted);
    margin-top: 0.5rem;
    line-height: 1.45;
}

/* Full-width primary (default) — password reset submit, register, etc. */
.om-auth-actions:not(.om-auth-actions--row):not(.om-auth-actions--inline) > .om-btn-primary {
    width: 100%;
    justify-content: center;
}

/* Login-style: primary only as wide as label + padding */
.om-auth-actions--inline {
    align-items: flex-start;
}

.om-auth-actions--inline > .om-btn-primary {
    width: auto;
    min-width: 9.5rem;
    justify-content: center;
}

.mt-30{
    margin-top: 30px;
}

/* ============================================================
   ADMIN DASHBOARD — gamified KPI cards, charts, bars
   ============================================================ */

/* --- KPI Stat Cards ---------------------------------------- */
.om-dash-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    background: #fff;
    border: 1px solid var(--om-border, rgba(12,25,41,0.08));
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    height: 100%;
}
.om-dash-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.om-dash-card__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.625rem;
    color: #fff;
}

.om-dash-card--suppliers .om-dash-card__icon   { background: linear-gradient(135deg, #3b82f6, #6366f1); }
.om-dash-card--pending .om-dash-card__icon     { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.om-dash-card--rfps .om-dash-card__icon        { background: linear-gradient(135deg, #0c1929, #334155); }
.om-dash-card--active .om-dash-card__icon      { background: linear-gradient(135deg, #10b981, #059669); }
.om-dash-card--submissions .om-dash-card__icon { background: linear-gradient(135deg, #ed991d, #d98816); }

.om-dash-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}
.om-dash-card__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.om-dash-card__value {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.15;
    color: #0c1929;
}
.om-dash-card__sub {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

/* --- Mini badges inside cards ------------------------------ */
.om-dash-badge {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 999px;
    white-space: nowrap;
}
.om-dash-badge--success { background: rgba(16,185,129,0.12); color: #059669; }
.om-dash-badge--warning { background: rgba(245,158,11,0.12); color: #d97706; }
.om-dash-badge--danger  { background: rgba(241,65,108,0.12); color: #e11d48; }
.om-dash-badge--info    { background: rgba(59,130,246,0.12);  color: #2563eb; }
.om-dash-badge--muted   { background: rgba(100,116,139,0.10); color: #64748b; }

/* --- Doughnut legend --------------------------------------- */
.om-dash-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    justify-content: center;
}
.om-dash-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #475569;
}
.om-dash-legend-item strong {
    color: #0c1929;
}
.om-dash-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Horizontal bar rows (category distribution) ----------- */
.om-dash-bar-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.45rem 0;
}
.om-dash-bar-row + .om-dash-bar-row {
    border-top: 1px solid rgba(0,0,0,0.04);
}
.om-dash-bar-label {
    flex: 0 0 120px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.om-dash-bar-track {
    flex: 1;
    height: 8px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
}
.om-dash-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #ed991d, #d98816);
    transition: width 0.6s ease;
}
.om-dash-bar-count {
    flex: 0 0 30px;
    text-align: right;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0c1929;
}

/* ============================================================
   ADMIN SUBMISSION DETAIL — modern gamified detail page
   ============================================================ */

/* --- Status icon in top banner ----------------------------- */
.om-sub-status-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    color: #fff;
}
.om-sub-status-icon--submitted { background: linear-gradient(135deg, #10b981, #059669); }
.om-sub-status-icon--draft     { background: linear-gradient(135deg, #f59e0b, #d97706); }

/* --- Section icons in card headers ------------------------- */
.om-sub-section-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    color: #fff;
}
.om-sub-section-icon--rfp      { background: linear-gradient(135deg, #0c1929, #334155); }
.om-sub-section-icon--proposal  { background: linear-gradient(135deg, #ed991d, #d98816); }
.om-sub-section-icon--supplier  { background: linear-gradient(135deg, #3b82f6, #6366f1); }

/* --- Field label + value pairs ----------------------------- */
.om-sub-field {
    display: flex;
    flex-direction: column;
    gap: 0.36rem;
}
.om-sub-field__label {
    font-size: 0.76rem;
    font-weight: 700;
    color: #8395ab;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.3;
    margin-bottom: 0;
}
.om-sub-field__value {
    font-size: 1.04rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.58;
    word-break: break-word;
}

/* --- Proposal message box ---------------------------------- */
.om-sub-message-box {
    background: #f8fafc;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 0.75rem;
    padding: 1.4rem 1.6rem;
    font-size: 0.965rem;
    line-height: 1.82;
    letter-spacing: 0.01em;
    color: #334155;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* --- File chips -------------------------------------------- */
.om-sub-file-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.46rem 0.92rem;
    background: #f1f5f9;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 999px;
    font-size: 0.83rem;
    font-weight: 600;
    line-height: 1.35;
    color: #334155;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.om-sub-file-chip:hover {
    background: #e2e8f0;
    border-color: rgba(0,0,0,0.1);
    color: #0c1929;
    transform: translateY(-1px);
}
.om-sub-file-chip--primary {
    background: rgba(237,153,29,0.1);
    border-color: rgba(237,153,29,0.2);
    color: #92400e;
}
.om-sub-file-chip--primary:hover {
    background: rgba(237,153,29,0.18);
    border-color: rgba(237,153,29,0.3);
    color: #78350f;
}

/* --- Top action buttons on detail pages --------------------- */
.om-sub-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 34px;
    padding: 0.42rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(12, 25, 41, 0.14);
    background: #ffffff;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.16s ease;
}

.om-sub-action-btn:hover,
.om-sub-action-btn:focus {
    background: #f8fafc;
    border-color: rgba(12, 25, 41, 0.24);
    color: #0c1929;
    transform: translateY(-1px);
}

.om-sub-action-btn--primary {
    border-color: rgba(237, 153, 29, 0.35);
    background: rgba(237, 153, 29, 0.12);
    color: #92400e;
}

.om-sub-action-btn--primary:hover,
.om-sub-action-btn--primary:focus {
    background: rgba(237, 153, 29, 0.2);
    border-color: rgba(237, 153, 29, 0.5);
    color: #78350f;
}

/* --- Timeline ---------------------------------------------- */
.om-sub-timeline {
    position: relative;
    padding-left: 27px;
}
.om-sub-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: #e2e8f0;
    border-radius: 1px;
}
.om-sub-timeline__item {
    position: relative;
    padding-bottom: 1.45rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}
.om-sub-timeline__item:last-child {
    padding-bottom: 0;
}
.om-sub-timeline__dot {
    position: absolute;
    left: -23px;
    top: 3px;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #e2e8f0;
}
.om-sub-timeline__dot--muted   { background: #94a3b8; }
.om-sub-timeline__dot--info    { background: #3b82f6; }
.om-sub-timeline__dot--success { background: #10b981; }
.om-sub-timeline__dot--warning { background: #f59e0b; }
.om-sub-timeline__dot--danger  { background: #ef4444; }

.om-sub-timeline__content {
    display: flex;
    flex-direction: column;
}
.om-sub-timeline__title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.35;
}
.om-sub-timeline__date {
    font-size: 0.8rem;
    color: #94a3b8;
}

/* --- Detail pages typography and spacing baseline ----------- */
.om-detail-page .card {
    border-radius: 0.75rem;
    border: 1px solid rgba(12, 25, 41, 0.08);
    box-shadow: 0 1px 2px rgba(12, 25, 41, 0.04);
}

.om-detail-page .card .card-header {
    padding: 1.18rem 1.5rem 0.95rem;
    border-bottom: 1px solid rgba(12, 25, 41, 0.08);
}

.om-detail-page .card .card-body {
    padding: 1.3rem 1.5rem;
}

.om-detail-page .card .card-header + .card-body {
    padding-top: 1.45rem;
}

.om-detail-page .card .card-body.pt-0 {
    padding-top: 1.35rem !important;
}

.om-detail-page .card-title {
    font-size: 1.14rem;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.om-detail-page h3.fs-4 {
    font-size: 1.22rem !important;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.om-detail-page .text-muted.fs-7 {
    font-size: 0.86rem !important;
    line-height: 1.58;
}

.om-detail-page .badge.fs-8 {
    font-size: 0.74rem !important;
    letter-spacing: 0.01em;
}

.om-detail-page .separator {
    opacity: 0.8;
}

@media (max-width: 991.98px) {
    .om-detail-page .card .card-header {
        padding: 1rem 1rem 0.8rem;
    }

    .om-detail-page .card .card-body {
        padding: 1rem;
    }

    .om-sub-field__label {
        font-size: 0.72rem;
    }

    .om-sub-field__value {
        font-size: 0.98rem;
    }

    .om-sub-message-box {
        padding: 1rem 1.1rem;
        font-size: 0.92rem;
    }
}

/* --- RFP submissions list detail page ----------------------- */
.om-rfp-submissions-page .om-rfpsub-message-preview {
    white-space: pre-wrap;
    background: #f8fafc;
    border: 1px solid rgba(12, 25, 41, 0.08);
    border-radius: 0.65rem;
    padding: 0.72rem 0.9rem;
    font-size: 0.9rem;
    line-height: 1.58;
    color: #334155;
}

.om-rfp-submissions-page table tbody tr td {
    padding-top: 0.92rem;
    padding-bottom: 0.92rem;
}