/* ===================================================================
   Pro Nova Technologies — site theme
   Bootstrap 5.3 underneath; this file sets the tokens, overrides
   Bootstrap's variables, and adds the marketing components.
   Font: Plus Jakarta Sans (Google Fonts, SIL Open Font License).
   Colours are chosen for WCAG AA: body text, links and button labels
   are ≥ 4.5:1 against their backgrounds, and focus rings and form
   control borders are ≥ 3:1. The bright blue→cyan --pnt-gradient is
   for icon tiles and decoration only — never put text on it; text
   bands use --pnt-gradient-deep.
   =================================================================== */

:root {
    /* Brand */
    --pnt-primary: #0b1b33;          /* navy — headers, footer, dark sections */
    --pnt-primary-light: #13294b;
    --pnt-primary-deep: #060f1f;
    --pnt-accent: #2563eb;           /* blue — links, buttons (5.2:1 on white) */
    --pnt-accent-hover: #1d4ed8;
    --pnt-accent-2: #06b6d4;         /* cyan — gradients only */
    --pnt-accent-soft: #eef4ff;
    --pnt-gradient: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --pnt-gradient-deep: linear-gradient(135deg, #1d4ed8 0%, #0e7490 100%); /* white text ≥ 5.3:1 throughout */
    --pnt-gradient-text-dark: linear-gradient(90deg, #60a5fa 0%, #22d3ee 100%);
    --pnt-gradient-text-light: linear-gradient(90deg, #2563eb 0%, #0891b2 100%);

    /* Neutrals */
    --pnt-light: #f5f8fc;
    --pnt-text: #0f172a;
    --pnt-text-muted: #55657d;       /* 5.8:1 on white */
    --pnt-border: #e3e9f2;

    /* Shape & depth */
    --pnt-radius: 0.75rem;
    --pnt-radius-lg: 1.25rem;
    --pnt-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.08);
    --pnt-shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 10px 24px -6px rgba(15, 23, 42, 0.10);
    --pnt-shadow-lg: 0 24px 48px -12px rgba(11, 27, 51, 0.25);
    --pnt-shadow-glow: 0 10px 30px -8px rgba(37, 99, 235, 0.45);

    --nav-h: 72px;

    /* Bootstrap variable overrides */
    --bs-body-font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --bs-body-color: var(--pnt-text);
    --bs-secondary-color: var(--pnt-text-muted);
    --bs-primary: #2563eb;
    --bs-primary-rgb: 37, 99, 235;
    --bs-primary-bg-subtle: #e6efff;
    --bs-primary-text-emphasis: #1e40af;
    --bs-link-color: #2563eb;
    --bs-link-color-rgb: 37, 99, 235;
    --bs-link-hover-color: #1d4ed8;
    --bs-link-hover-color-rgb: 29, 78, 216;
    --bs-border-color: var(--pnt-border);
    --bs-border-radius: 0.5rem;
    --bs-border-radius-lg: 0.75rem;
}

/* ===== Base ===== */

html {
    scroll-behavior: smooth;
}

/* In-page anchors and keyboard focus stop below the fixed navbar (public pages only; admin has none) */
html:has(.site-nav) {
    scroll-padding-top: calc(var(--nav-h) + 1rem);
}

html, body {
    font-family: var(--bs-body-font-family);
    color: var(--pnt-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #fff;
    /* Backstop: a decorative element poking past the edge must never widen the page on phones
       (mobile browsers zoom the whole layout out to fit). clip, unlike hidden, creates no scroll container. */
    overflow-x: clip;
}

::selection {
    background: rgba(37, 99, 235, 0.18);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: inherit;
}

/* Blazor's FocusOnNavigate focuses each page's h1 after navigation (for screen readers);
   it is not an interactive control, so it gets no visible ring. */
h1:focus {
    outline: none;
}

h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; }

p {
    line-height: 1.7;
}

a {
    color: var(--pnt-accent);
    text-decoration: none;
}

a:hover {
    color: var(--pnt-accent-hover);
    text-decoration: underline;
}

/* Focus: an opaque ring that survives forced-colours mode. Blue on light surfaces (5.2:1),
   light cyan on the dark ones (7–11:1), white on the CTA band (≥ 5.3:1). */
:focus-visible {
    outline: 3px solid var(--pnt-accent);
    outline-offset: 2px;
}

.site-nav :focus-visible,
.hero :focus-visible,
.page-header :focus-visible,
.promo-band :focus-visible,
.visual-panel :focus-visible,
.product-card-head :focus-visible,
.site-footer :focus-visible,
.section-dark :focus-visible {
    outline-color: #7dd3fc;
}

.cta-banner :focus-visible {
    outline-color: #fff;
}

/* Links inside running text are underlined, so they are not marked by colour alone */
p a:not([class]),
.check-list span a:not([class]) {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.text-muted {
    color: var(--pnt-text-muted) !important;
}

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

.section-dark .text-gradient,
.hero .text-gradient,
.page-header .text-gradient,
.promo-band .text-gradient {
    background-image: var(--pnt-gradient-text-dark);
}

/* ===== Buttons ===== */

.btn-accent,
.btn-ghost,
.btn-outline-light,
.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.btn-accent {
    background-color: var(--pnt-accent);
    color: #fff;
    border: 2px solid var(--pnt-accent);
    box-shadow: var(--pnt-shadow-glow);
}

.btn-accent:hover {
    background-color: var(--pnt-accent-hover);
    border-color: var(--pnt-accent-hover);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-accent:disabled,
.btn-accent[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

/* Outline button for light backgrounds (border 3.1:1 on white, like the form fields) */
.btn-ghost {
    background: #fff;
    color: var(--pnt-text);
    border: 2px solid #8193ab;
}

.btn-ghost:hover {
    border-color: var(--pnt-accent);
    color: var(--pnt-accent);
    text-decoration: none;
}

/* Outline button for dark backgrounds */
.btn-outline-light {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
    background: #fff;
    border-color: #fff;
    color: var(--pnt-primary);
    text-decoration: none;
}

/* Solid white button for coloured backgrounds */
.btn-white {
    background: #fff;
    color: var(--pnt-primary);
    border: 2px solid #fff;
}

.btn-white:hover {
    background: var(--pnt-accent-soft);
    border-color: var(--pnt-accent-soft);
    color: var(--pnt-primary);
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-sm-pill {
    padding: 0.5rem 1.1rem;
    font-size: 0.925rem;
}

/* Bootstrap's own buttons, aligned to the palette (used across admin) */
.btn-primary {
    --bs-btn-bg: #2563eb;
    --bs-btn-border-color: #2563eb;
    --bs-btn-hover-bg: #1d4ed8;
    --bs-btn-hover-border-color: #1d4ed8;
    --bs-btn-active-bg: #1e40af;
    --bs-btn-active-border-color: #1e40af;
    --bs-btn-disabled-bg: #2563eb;
    --bs-btn-disabled-border-color: #2563eb;
}

.btn-outline-primary {
    --bs-btn-color: #2563eb;
    --bs-btn-border-color: #2563eb;
    --bs-btn-hover-bg: #2563eb;
    --bs-btn-hover-border-color: #2563eb;
    --bs-btn-active-bg: #1d4ed8;
    --bs-btn-active-border-color: #1d4ed8;
}

/* ===== Sections ===== */

.section {
    padding: 6rem 0;
}

.section-sm {
    padding: 4rem 0;
}

.section-light {
    background-color: var(--pnt-light);
}

.section-dark {
    background-color: var(--pnt-primary);
    color: #fff;
}

.section-dark a {
    color: #fff;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-heading p {
    color: var(--pnt-text-muted);
    font-size: 1.1rem;
    margin: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--pnt-accent);
}

.hero .eyebrow,
.page-header .eyebrow,
.section-dark .eyebrow,
.promo-band .eyebrow {
    color: #7dd3fc;
}

.eyebrow-pill {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    letter-spacing: 0.04em;
    text-transform: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.eyebrow-pill .dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18);
}

/* Shared dark backdrop: navy with soft glows and a faint grid */
.hero,
.page-header,
.cta-banner,
.promo-band {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.hero::before,
.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 75%);
}

/* ===== Hero (home) ===== */

.hero {
    background:
        radial-gradient(60rem 40rem at 85% -10%, rgba(37, 99, 235, 0.35), transparent 60%),
        radial-gradient(40rem 30rem at -10% 110%, rgba(6, 182, 212, 0.22), transparent 60%),
        linear-gradient(180deg, var(--pnt-primary-deep) 0%, var(--pnt-primary) 100%);
    color: #fff;
    padding: calc(var(--nav-h) + 5rem) 0 6rem;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 1.25rem;
}

.hero-lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 560px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.5rem;
    margin: 2.25rem 0 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
}

.hero-points .bi {
    color: #22d3ee;
    margin-right: 0.4rem;
}

.hero-copy {
    animation: pnt-rise 0.7s ease-out both;
}

/* Product-style illustration (decorative; aria-hidden) */
.hero-visual {
    position: relative;
    padding: 1.5rem 1rem 2.5rem;
    animation: pnt-rise 0.9s 0.1s ease-out both;
}

.mock-window {
    position: relative;
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--pnt-radius-lg);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.08);
    overflow: hidden;
    color: var(--pnt-text);
    transform: perspective(1600px) rotateY(-6deg) rotateX(2deg);
}

.mock-titlebar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 0.9rem;
    background: #f1f5fb;
    border-bottom: 1px solid var(--pnt-border);
}

.mock-titlebar > span {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: #f87171;
}

.mock-titlebar > span:nth-child(2) { background: #fbbf24; }
.mock-titlebar > span:nth-child(3) { background: #34d399; }

.mock-url {
    flex: 1;
    margin-left: 0.6rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--pnt-border);
    font-size: 0.72rem;
    color: var(--pnt-text-muted);
}

.mock-body {
    display: flex;
    min-height: 300px;
}

.mock-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0.75rem;
    background: var(--pnt-primary);
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
}

.mock-sidebar .active {
    color: #fff;
}

.mock-main {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.mock-stat {
    padding: 0.65rem 0.75rem;
    border: 1px solid var(--pnt-border);
    border-radius: 0.6rem;
}

.mock-stat-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--pnt-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mock-stat-value {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.mock-stat-value.ok { color: #059669; }

.mock-chart {
    border: 1px solid var(--pnt-border);
    border-radius: 0.6rem;
    padding: 0.5rem 0.6rem 0.2rem;
}

.mock-chart svg {
    display: block;
    width: 100%;
    height: 82px;
}

.mock-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.75rem;
}

.mock-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.25rem;
    border-bottom: 1px solid #eef2f8;
}

.mock-list li:last-child { border-bottom: 0; }

.mock-list .status {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.mock-list .status.warn {
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.mock-list .tag {
    margin-left: auto;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-weight: 600;
    font-size: 0.65rem;
}

.mock-list .tag.warn {
    background: #fffbeb;
    color: #b45309;
}

.mock-toast {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.95rem;
    background: #fff;
    color: var(--pnt-text);
    border-radius: 0.85rem;
    box-shadow: var(--pnt-shadow-lg);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    /* Two gentle bobs on load (under WCAG 2.2.2's 5 seconds), then still; none under prefers-reduced-motion */
    animation: pnt-float 2.4s ease-in-out 2;
}

.mock-toast .bi {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 0.55rem;
    font-size: 1rem;
    color: #fff;
    background: var(--pnt-gradient);
}

.mock-toast small {
    display: block;
    font-weight: 500;
    color: var(--pnt-text-muted);
    font-size: 0.72rem;
}

.mock-toast.toast-1 {
    left: -1.25rem;
    bottom: 0.75rem;
}

.mock-toast.toast-2 {
    right: -0.5rem;
    top: 0;
    animation-delay: -1.2s;
}

.mock-toast.toast-2 .bi {
    background: linear-gradient(135deg, #10b981, #06b6d4);
}

/* ===== Page header (inner pages) ===== */

.page-header {
    background:
        radial-gradient(50rem 30rem at 80% -20%, rgba(37, 99, 235, 0.32), transparent 60%),
        radial-gradient(30rem 20rem at 0% 120%, rgba(6, 182, 212, 0.18), transparent 60%),
        linear-gradient(180deg, var(--pnt-primary-deep) 0%, var(--pnt-primary) 100%);
    color: #fff;
    padding: calc(var(--nav-h) + 4rem) 0 4.5rem;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2.1rem, 4.5vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
}

.page-header p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 640px;
    margin: 0 auto;
}

/* ===== Cards ===== */

.card {
    border: 1px solid var(--pnt-border);
    border-radius: var(--pnt-radius-lg);
    box-shadow: var(--pnt-shadow-sm);
}

.card-body {
    padding: 2rem;
}

/* Marketing cards lift on hover; admin cards stay put */
.card-lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--pnt-shadow-md);
    border-color: #cfdcf0;
}

.icon-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.9rem;
    font-size: 1.45rem;
    color: #fff;
    background: var(--pnt-gradient);
    box-shadow: var(--pnt-shadow-glow);
    margin-bottom: 1.25rem;
}

.icon-tile.soft {
    color: var(--pnt-accent);
    background: var(--pnt-accent-soft);
    box-shadow: none;
}

/* Kept for pages that still use it */
.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--pnt-accent);
}

.feature-card {
    height: 100%;
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--pnt-border);
    border-radius: var(--pnt-radius-lg);
    box-shadow: var(--pnt-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pnt-shadow-md);
    border-color: #cfdcf0;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.feature-card p {
    color: var(--pnt-text-muted);
    margin-bottom: 1.25rem;
}

.feature-link {
    margin-top: auto;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.feature-link .bi {
    transition: transform 0.2s;
}

.feature-link:hover {
    text-decoration: none;
}

.feature-link:hover .bi {
    transform: translateX(3px);
}

/* Stretched link: the whole feature card is clickable */
.feature-card.has-link {
    position: relative;
}

.feature-card.has-link .feature-link::after {
    content: "";
    position: absolute;
    inset: 0;
}

/* ===== Split sections ===== */

.check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.check-list li {
    display: flex;
    gap: 0.85rem;
    padding: 0.65rem 0;
}

.check-list li > .bi {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    margin-top: 0.1rem;
    border-radius: 50%;
    background: var(--pnt-accent-soft);
    color: var(--pnt-accent);
    font-size: 0.95rem;
}

.check-list strong {
    display: block;
    margin-bottom: 0.15rem;
}

.check-list span {
    color: var(--pnt-text-muted);
}

.visual-panel {
    position: relative;
    border-radius: var(--pnt-radius-lg);
    padding: 2.25rem;
    background:
        radial-gradient(30rem 20rem at 100% 0%, rgba(6, 182, 212, 0.28), transparent 60%),
        linear-gradient(160deg, var(--pnt-primary) 0%, var(--pnt-primary-light) 100%);
    color: #fff;
    box-shadow: var(--pnt-shadow-lg);
    overflow: hidden;
}

.visual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.visual-tile {
    padding: 1.25rem;
    border-radius: var(--pnt-radius);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-tile .bi {
    font-size: 1.5rem;
    color: #7dd3fc;
}

.visual-tile strong {
    display: block;
    margin-top: 0.6rem;
    font-size: 1rem;
}

.visual-tile span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.68);
}

/* ===== Promo band (website hosting) ===== */

.promo-band {
    border-radius: 1.75rem;
    padding: clamp(2rem, 5vw, 4rem);
    background:
        radial-gradient(40rem 30rem at 100% 100%, rgba(6, 182, 212, 0.30), transparent 60%),
        radial-gradient(30rem 25rem at 0% 0%, rgba(37, 99, 235, 0.35), transparent 60%),
        var(--pnt-primary);
    color: #fff;
    box-shadow: var(--pnt-shadow-lg);
}

.promo-band p {
    color: rgba(255, 255, 255, 0.78);
}

.promo-steps {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem;
    counter-reset: promo;
}

.promo-steps li {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.45rem 0;
    color: rgba(255, 255, 255, 0.9);
    counter-increment: promo;
}

.promo-steps li::before {
    content: counter(promo);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-size: 0.85rem;
    font-weight: 700;
}

/* A generic small-business website, drawn in CSS (decorative) */
.site-mock {
    background: #fff;
    border-radius: var(--pnt-radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
    transform: rotate(2deg);
}

.site-mock .mock-titlebar {
    background: #f1f5fb;
}

.site-mock-hero {
    padding: 1.75rem 1.5rem;
    background: linear-gradient(135deg, #fde68a 0%, #fca5a5 100%);
}

.skel {
    display: block;
    height: 0.6rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.14);
    margin-bottom: 0.55rem;
}

.skel.lg { height: 1.05rem; background: rgba(15, 23, 42, 0.55); }
.skel.w-40 { width: 40%; }
.skel.w-60 { width: 60%; }
.skel.w-75 { width: 75%; }
.skel.w-90 { width: 90%; }

.skel-btn {
    display: inline-block;
    width: 5.5rem;
    height: 1.6rem;
    margin-top: 0.4rem;
    border-radius: 999px;
    background: var(--pnt-primary);
}

.site-mock-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 1.25rem 1.5rem 1.5rem;
}

.site-mock-photo {
    aspect-ratio: 4 / 3;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #bae6fd, #a5b4fc);
}

.site-mock-photo.alt { background: linear-gradient(135deg, #bbf7d0, #67e8f9); }
.site-mock-photo.alt2 { background: linear-gradient(135deg, #fbcfe8, #c4b5fd); }

/* ===== Steps ===== */

.step-card {
    position: relative;
    height: 100%;
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--pnt-border);
    border-radius: var(--pnt-radius-lg);
    box-shadow: var(--pnt-shadow-sm);
}

.step-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #e6edf7;
}

.step-card h3 {
    font-size: 1.2rem;
}

.step-card p {
    color: var(--pnt-text-muted);
    margin: 0;
}

/* ===== Products ===== */

.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--pnt-border);
    border-radius: var(--pnt-radius-lg);
    box-shadow: var(--pnt-shadow-sm);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--pnt-shadow-md);
}

.product-card-head {
    padding: 2rem 2rem 1.5rem;
    background:
        radial-gradient(20rem 12rem at 100% 0%, rgba(6, 182, 212, 0.25), transparent 70%),
        linear-gradient(160deg, var(--pnt-primary) 0%, var(--pnt-primary-light) 100%);
    color: #fff;
}

.product-card-head .icon-tile {
    margin-bottom: 1rem;
}

.product-card-head h3 {
    margin-bottom: 0.25rem;
}

.product-card-head p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
}

.product-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.75rem 2rem 2rem;
}

.product-card-body > p {
    color: var(--pnt-text-muted);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}

.feature-list li {
    display: flex;
    gap: 0.6rem;
    padding: 0.35rem 0;
}

.feature-list .bi {
    color: var(--pnt-accent);
    flex-shrink: 0;
}

.product-card-body .btn-accent,
.product-card-body .btn-ghost {
    margin-top: auto;
    align-self: flex-start;
}

/* ===== Contact ===== */

.contact-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem 1.35rem;
    background: #fff;
    border: 1px solid var(--pnt-border);
    border-radius: var(--pnt-radius);
    box-shadow: var(--pnt-shadow-sm);
    margin-bottom: 1rem;
}

.contact-card .icon-tile {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.15rem;
    margin: 0;
    flex-shrink: 0;
}

.contact-card h3 {
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.contact-card p {
    margin: 0;
}

/* The SMS opt-in sits at body size and contrast: 10DLC reviewers reject consent text that is small or faint */
.sms-consent .form-check-label {
    line-height: 1.6;
}

.sms-consent a {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

/* ===== Legal pages (privacy, terms) ===== */

.legal-content {
    max-width: 760px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.4rem;
    margin: 2.5rem 0 0.75rem;
}

.legal-content p,
.legal-content li,
.legal-content dd,
.legal-content address {
    line-height: 1.7;
}

.legal-content li {
    margin-bottom: 0.4rem;
}

.legal-content li a,
.legal-content dd a,
.legal-content address a {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.legal-updated {
    color: var(--pnt-text-muted);
    font-weight: 600;
}

.legal-toc {
    margin-bottom: 1.5rem;
}

.legal-callout {
    padding: 1rem 1.25rem;
    border-left: 4px solid var(--pnt-accent);
    border-radius: 0 var(--pnt-radius) var(--pnt-radius) 0;
    background: var(--pnt-accent-soft);
}

.legal-section {
    margin-top: 2.5rem;
    padding: 0.25rem 1.5rem 1.5rem;
    border: 1px solid var(--pnt-border);
    border-radius: var(--pnt-radius);
    background: var(--pnt-light);
}

.legal-section h2 {
    margin-top: 1.25rem;
}

.legal-terms dt {
    margin-top: 1rem;
}

.legal-terms dd {
    margin: 0.2rem 0 0;
}

/* ===== CTA Banner ===== */

.cta-banner {
    background:
        radial-gradient(40rem 20rem at 100% 0%, rgba(255, 255, 255, 0.10), transparent 60%),
        var(--pnt-gradient-deep);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
}

.cta-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent);
}

.cta-banner h2 {
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.cta-banner p {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 2rem;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

/* ===== 404 ===== */

.not-found {
    min-height: calc(100vh - 260px);
    display: flex;
    align-items: center;
    padding-top: calc(var(--nav-h) + 3rem);
}

.not-found h1 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    margin-top: 1rem;
}

.not-found-code {
    display: inline-block; /* so the gradient spans the digits, not the whole row */
    font-size: clamp(5rem, 14vw, 8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.05em;
}

/* ===== Forms ===== */

/* Field borders at #8193ab are 3.1:1 on white, so the field edge is visible (WCAG 1.4.11) */
.form-control,
.form-select {
    border-color: #8193ab;
    border-radius: 0.6rem;
}

.form-control {
    padding: 0.65rem 0.9rem;
}

/* Keep the right-hand room Bootstrap reserves for the select's chevron */
.form-select {
    padding: 0.65rem 2.5rem 0.65rem 0.9rem;
    background-position: right 0.9rem center;
}

/* The size modifiers again, after the overrides above (the admin login uses -lg) */
.form-control-sm,
.form-select-sm {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    padding-left: 0.5rem;
    font-size: 0.875rem;
    border-radius: var(--bs-border-radius-sm);
}

.form-control-sm {
    padding-right: 0.5rem;
}

.form-control-lg,
.form-select-lg {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    font-size: 1.25rem;
    border-radius: var(--bs-border-radius-lg);
}

.form-control-lg {
    padding-right: 1rem;
}

.form-check-input {
    border-color: #7c8aa0; /* 3.5:1 on white */
}

/* Icon add-ons next to fields share the field's border */
.input-group-text {
    border-color: #8193ab;
}

/* Focus on fields. Bootstrap's own :focus rules (outline: 0, a faint glow) outrank the global ring,
   so fields get theirs here: an accent border plus an opaque 2px ring. */
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--pnt-accent);
    box-shadow: none;
}

.form-control:focus-visible,
.form-select:focus-visible,
.form-check-input:focus-visible {
    outline: 2px solid var(--pnt-accent);
    outline-offset: 2px;
}

.form-label {
    font-weight: 600;
    font-size: 0.925rem;
}

/* Blazor's validation classes, styled like Bootstrap's */
.form-control.invalid,
.form-select.invalid {
    border-color: #dc3545;
}

.form-check-input.invalid {
    border-color: #dc3545;
}

.validation-message {
    color: #b91c1c; /* 6.5:1 on white, 6.1:1 on the light sections */
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ===== Website Request Form ===== */

.form-step-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.form-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--pnt-accent); /* solid: white digits at 5.2:1 */
    color: #fff;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.plan-option {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    padding: 2rem 1.75rem;
    text-align: left;
    background: #fff;
    border: 2px solid var(--pnt-border);
    border-radius: var(--pnt-radius-lg);
    box-shadow: var(--pnt-shadow-sm);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    color: var(--pnt-text);
}

/* Phones stack the four plans, so keep each card compact */
@media (max-width: 575.98px) {
    .plan-option {
        padding: 1.5rem 1.25rem;
    }

    .plan-option .plan-price {
        font-size: 1.85rem;
    }
}

/* Only on devices that really hover, so the lift doesn't stick after a tap */
@media (hover: hover) {
    .plan-option:hover {
        transform: translateY(-4px);
        box-shadow: var(--pnt-shadow-md);
    }
}

/* The radio inside is visually hidden, so the card shows its focus.
   An outline, not a box-shadow, so the selected card's own shadow cannot hide it */
.plan-option:has(.plan-radio:focus-visible) {
    outline: 3px solid var(--pnt-accent);
    outline-offset: 3px;
}

/* The step title is the plan group's <legend> */
legend.form-step-title {
    float: none;
    width: auto;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* The label (plan name + price) names the radio; its ::after stretches over the card so a click anywhere selects it */
.plan-label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.plan-label::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.plan-option.selected {
    border-color: var(--pnt-accent);
    box-shadow: 0 12px 30px -10px rgba(37, 99, 235, 0.35);
}

.plan-check {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 1.4rem;
    color: #8193ab; /* 3.1:1 on white: the unselected state stays visible */
}

.plan-option.selected .plan-check {
    color: var(--pnt-accent);
}

.plan-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--pnt-primary);
}

.plan-price {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--pnt-text);
    margin: 0.5rem 0 0.75rem;
}

.plan-price small {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--pnt-text-muted);
}

.plan-description {
    color: var(--pnt-text-muted);
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

/* Side by side, reserve room for the description so the feature lists start level
   (three lines two-up, four lines in the narrower four-up row) */
@media (min-width: 768px) {
    .plan-description {
        min-height: calc(3 * 1.55em);
    }
}

@media (min-width: 1200px) {
    .plan-description {
        min-height: calc(4 * 1.55em);
    }
}

.plan-features {
    list-style: none;
    padding: 1.25rem 0 0;
    margin: 0;
    border-top: 1px solid var(--pnt-border);
}

/* Icon in its own column, so wrapped lines hang under the text, not the icon */
.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.3rem 0;
    line-height: 1.45;
}

.plan-features .bi {
    flex-shrink: 0;
    color: var(--pnt-accent);
    margin-top: 0.1rem;
}

/* "Everything in Silver, plus" introduces the lines below it */
.plan-features .plan-includes {
    font-weight: 700;
    color: var(--pnt-primary);
    padding-bottom: 0.4rem;
}

.upload-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem 1rem;
    border: 2px dashed #c7d2e1;
    border-radius: var(--pnt-radius);
    color: var(--pnt-text-muted);
    background: var(--pnt-light);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}

.upload-dropzone .bi {
    font-size: 2rem;
}

.upload-dropzone:hover,
.upload-dropzone:focus-within {
    border-color: var(--pnt-accent);
    color: var(--pnt-accent);
    background: var(--pnt-accent-soft);
}

.upload-dropzone.disabled {
    cursor: progress;
    opacity: 0.7;
}

.upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
}

.upload-thumb {
    position: relative;
    border-radius: 0.6rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--pnt-border);
}

.upload-thumb img,
.upload-thumb-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: var(--pnt-light);
}

.upload-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #adb5bd;
}

.upload-thumb-name,
.upload-thumb-meta {
    padding: 0.35rem 0.5rem 0;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upload-thumb-meta {
    padding-bottom: 0.4rem;
    color: var(--pnt-text-muted);
}

.upload-thumb-name:last-child {
    padding-bottom: 0.4rem;
}

.upload-thumb-remove {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    width: 1.9rem;
    height: 1.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.85rem;
    cursor: pointer;
}

.upload-thumb-remove:hover {
    background: #dc3545;
}

/* ===== Motion ===== */

@keyframes pnt-rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

@keyframes pnt-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== Responsive ===== */

@media (max-width: 991.98px) {
    .hero {
        padding: calc(var(--nav-h) + 3rem) 0 4rem;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .mock-window {
        transform: none;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 4.5rem 0;
    }

    .page-header {
        padding: calc(var(--nav-h) + 2.5rem) 0 3rem;
    }

    .hero-lead {
        font-size: 1.08rem;
    }

    .mock-toast.toast-1 {
        left: 0;
    }

    .mock-toast.toast-2 {
        right: 0;
    }

    .mock-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .mock-stats .mock-stat:nth-child(3) {
        display: none;
    }

    .site-mock {
        transform: none;
    }

    .visual-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Blazor error bar (all three layouts; hidden until Blazor shows it) ===== */

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ===== Blazor Error Boundary ===== */

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

/* ===== Admin Login ===== */

.admin-login-layout {
    min-height: 100vh;
    background:
        radial-gradient(50rem 30rem at 80% -10%, rgba(37, 99, 235, 0.35), transparent 60%),
        linear-gradient(135deg, var(--pnt-primary-deep) 0%, var(--pnt-primary) 100%);
}

.admin-login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.admin-login-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 450px;
}

.admin-login-header {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--pnt-accent);
}

.admin-login-header h1 { font-size: 1.5rem; margin-top: 0.5rem; }
.admin-login-header p { margin: 0; }

/* The emailed sign-in code: wide-spaced digits, easy to check against the email */
.admin-code-input {
    font-family: Consolas, "SFMono-Regular", Menlo, monospace;
    font-size: 1.6rem;
    letter-spacing: 0.3em;
}

.admin-code-input::placeholder {
    font-family: var(--bs-body-font-family);
    font-size: 1rem;
    letter-spacing: normal;
}

/* Used as "btn btn-accent-full": driven through Bootstrap's button variables so hover, active and
   keyboard focus (where .btn:focus-visible swaps to the hover colours) keep the fill. */
.btn-accent-full {
    --bs-btn-color: #fff;
    --bs-btn-bg: #2563eb;
    --bs-btn-border-color: #2563eb;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1d4ed8;
    --bs-btn-hover-border-color: #1d4ed8;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1e40af;
    --bs-btn-active-border-color: #1e40af;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #2563eb;
    --bs-btn-disabled-border-color: #2563eb;
    --bs-btn-focus-shadow-rgb: 37, 99, 235;
    background-color: var(--pnt-accent);
    color: white;
    border: none;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn-accent-full:focus-visible {
    outline: 3px solid var(--pnt-accent);
    outline-offset: 2px;
}

.btn-accent-full:hover {
    background-color: var(--pnt-accent-hover);
    color: white;
}

/* ===== Admin Layout ===== */

.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar {
    width: 260px;
    background: var(--pnt-primary);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 1000;
}

.admin-sidebar-header {
    padding: 1.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #7dd3fc;
}

.admin-nav { list-style: none; padding: 1rem 0; margin: 0; }

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: #aab6c6 !important;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.admin-nav-link:hover,
.admin-nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.05);
    border-left-color: #38bdf8;
    text-decoration: none;
}

.admin-nav-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.5rem 0;
}

.admin-main {
    flex: 1;
    min-width: 0; /* a wide table scrolls inside its .table-responsive instead of widening the page */
    margin-left: 260px;
    background: #f4f6fa;
    min-height: 100vh;
}

.admin-header {
    background: white;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--pnt-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.admin-content { padding: 2rem; }

.admin-page-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pnt-primary) !important;
}

/* ===== Admin Stat Cards ===== */

.admin-stat-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--pnt-border);
    box-shadow: var(--pnt-shadow-sm);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* ===== Admin Table ===== */

.admin-table th {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--pnt-text-muted);
    border-bottom: 2px solid var(--pnt-border);
}

.clickable-row {
    cursor: pointer;
}

.brief-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* ===== Admin Responsive ===== */

@media (max-width: 991px) {
    .admin-sidebar { display: none; }
    .admin-main { margin-left: 0; }
}
