﻿:root {
    --bg: #0b0f0d;
    --panel: #111815;
    --panel2: #0f1412;
    --text: #e9f2ec;
    --muted: #b8c8be;
    --border: #203028;
    --accent: #7fe0b0;
    --danger: #ff6b6b;
    --shadow: 0 10px 28px rgba(0,0,0,.35);
    --radius: 16px;
    --max: 980px;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    background: radial-gradient(1200px 600px at 20% 0%, rgba(127,224,176,.10), transparent 60%), radial-gradient(900px 500px at 90% 20%, rgba(127,224,176,.06), transparent 55%), var(--bg);
    background-attachment: fixed; /* <-- keeps the background “pinned” */
    color: var(--text);
    font: 16px/1.4 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 16px;
}

.main {
    padding: 18px 16px 36px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(11,15,13,.55);
    border-bottom: 1px solid rgba(32,48,40,.65);
}

.brand {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .3px;
}

.nav {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    flex-wrap: wrap;
}

.navlink {
    color: var(--muted);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 12px;
}

    .navlink:hover {
        background: rgba(127,224,176,.08);
        color: var(--text);
    }

.spacer {
    flex: 1;
}

.inline {
    display: inline;
    margin: 0;
}

.linkbtn {
    background: transparent;
    border: 0;
    color: var(--muted);
    padding: 8px 10px;
    border-radius: 12px;
    cursor: pointer;
}

    .linkbtn:hover {
        background: rgba(255,255,255,.05);
        color: var(--text);
    }

.h1 {
    font-size: 22px;
    margin: 10px 0 12px;
}

.h2 {
    font-size: 16px;
    margin: 12px 0 10px;
    font-weight: 700;
}

.muted {
    color: var(--muted);
}

.big {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.05;
    margin: 10px 0 6px;
}

.sub {
    color: var(--muted);
    margin: 0 0 16px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

@media (min-width: 900px) {
    .grid {
        grid-template-columns: 1.1fr .9fr;
    }
}

@media (max-width: 900px) {
    body {
        background-attachment: scroll;
    }
}

.card {
    background: linear-gradient(180deg, rgba(17,24,21,.92), rgba(15,20,18,.92));
    border: 1px solid rgba(32,48,40,.9);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 14px;
}

.row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tbl {
    border-collapse: collapse;
    width: 100%;
}

    .tbl th,
    .tbl td {
        padding: 10px 10px;
        border-bottom: 1px solid rgba(32,48,40,.75);
        vertical-align: top;
    }

    .tbl th {
        color: var(--muted);
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .08em;
        text-align: left;
    }

    .tbl tbody tr:hover {
        background: rgba(127,224,176,.04);
    }

.field {
    width: 100%;
}

label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin: 8px 0 6px;
}

input[type="text"], input[type="email"], input[type="password"], textarea, input[type="datetime-local"], input[type="number"] {
    width: 100%;
    background: rgba(0,0,0,.20);
    color: var(--text);
    border: 1px solid rgba(32,48,40,.9);
    border-radius: 12px;
    padding: 12px 12px;
    outline: none;
}

input[type="datetime-local"] {
    color-scheme: dark;
}

textarea {
    min-height: 92px;
    resize: vertical;
}

/* Match selects to your existing dark input styling */
.field select,
select {
    width: 100%;
    height: 42px; /* match your inputs if they’re 42px */
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--panel);
    color: var(--text);
    outline: none;
    appearance: none; /* remove default arrow (modern browsers) */
    -webkit-appearance: none;
    -moz-appearance: none;
}

    /* Focus state consistent with your inputs */
    .field select:focus,
    select:focus {
        border-color: rgba(224, 245, 224, 0.35); /* uses your mint vibe */
        box-shadow: 0 0 0 3px rgba(224, 245, 224, 0.12);
    }

    /* Dropdown options (some browsers respect this) */
    select option {
        background: var(--panel);
        color: var(--text);
    }

.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-user {
    font-weight: 600;
    color: var(--text);
    opacity: 0.85;
}


/* If you want a subtle custom arrow */
.field {
    position: relative;
}

    .field select {
        padding-right: 36px; /* space for the arrow */
    }

    .field:has(select)::after {
        content: "▾";
        position: absolute;
        right: 12px;
        top: 34px; /* tweak if your labels differ */
        pointer-events: none;
        opacity: 0.75;
    }

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.btn {
    appearance: none;
    border: 1px solid rgba(32,48,40,.9);
    background: rgba(127,224,176,.10);
    color: var(--text);
    padding: 12px 14px;
    border-radius: 14px;
    cursor: pointer;
    font-weight: 650;
}

    .btn:hover {
        background: rgba(127,224,176,.14);
    }

    .btn.primary {
        background: rgba(127,224,176,.20);
        border-color: rgba(127,224,176,.35);
    }

    .btn.danger {
        background: rgba(255,107,107,.12);
        border-color: rgba(255,107,107,.35);
    }

.pill {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(32,48,40,.9);
    background: rgba(255,255,255,.04);
    color: var(--muted);
    font-size: 13px;
}

.kbd {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    color: var(--text);
    opacity: .9;
}

.list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.item {
    padding: 12px;
    border: 1px solid rgba(32,48,40,.9);
    border-radius: 14px;
    background: rgba(255,255,255,.03);
}

    .item a {
        color: var(--text);
        text-decoration: none;
    }

        .item a:hover {
            text-decoration: underline;
        }

    .item .meta {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        color: var(--muted);
        font-size: 13px;
        margin-top: 6px;
    }

.meta-top {
    display: flex;
    gap: 10px;
    align-items: center;
}

.meta-bottom {
    margin-top: 6px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.notice {
    border-left: 3px solid rgba(127,224,176,.55);
    padding: 10px 12px;
    background: rgba(127,224,176,.06);
    border-radius: 14px;
    color: var(--muted);
    margin: 10px 0 14px;
}

.error {
    border-left: 3px solid rgba(255,107,107,.55);
    padding: 10px 12px;
    background: rgba(255,107,107,.06);
    border-radius: 14px;
    color: var(--muted);
    margin: 10px 0 14px;
}

.footer {
    padding: 26px 0;
    color: var(--muted);
}

/* ===== Landing Page (lp-*) ===== */
.lp {
    padding-bottom: 26px;
}

.lp-hero {
    padding: 8px 0 14px;
    border-bottom: 1px solid rgba(32,48,40,.65);
}

.lp-hero-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 12px;
    align-items: start;
}

.lp-kicker {
    font-size: 12px;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 6px 0 8px;
}

.lp-title {
    font-size: 34px;
    line-height: 1.05;
    margin: 0 0 10px;
}

.lp-sub {
    max-width: 760px;
    line-height: 1.55;
}

.lp-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin: 12px 0 10px;
}

.lp-note {
    color: var(--muted);
    font-size: 13px;
    opacity: .95;
}

.lp-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.lp-section {
    margin-top: 14px;
}

.lp-h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

.lp-cards-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.lp-cards-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.lp-preview {
    height: fit-content;
    position: relative;
    overflow: hidden;
}

    /* Mint “sheen” overlay (subtle) */
    .lp-preview::before {
        content: "";
        position: absolute;
        inset: -2px;
        pointer-events: none;
        background: radial-gradient(700px 260px at 20% 0%, rgba(127,224,176,.10), transparent 60%), radial-gradient(520px 240px at 100% 30%, rgba(127,224,176,.08), transparent 55%);
        opacity: .9;
    }

    /* Animated sheen pass */
    .lp-preview::after {
        content: "";
        position: absolute;
        top: -40%;
        left: -60%;
        width: 55%;
        height: 180%;
        pointer-events: none;
        background: linear-gradient(120deg, transparent 0%, rgba(127,224,176,.06) 45%, rgba(127,224,176,.12) 50%, rgba(127,224,176,.06) 55%, transparent 100% );
        transform: rotate(12deg);
        opacity: .55;
        animation: lpSheen 7.5s ease-in-out infinite;
    }

    /* Keep content above the overlays */
    .lp-preview > * {
        position: relative;
        z-index: 1;
    }

@keyframes lpSheen {
    0% {
        transform: translateX(-120%) rotate(12deg);
        opacity: .25;
    }

    25% {
        opacity: .55;
    }

    50% {
        transform: translateX(220%) rotate(12deg);
        opacity: .30;
    }

    100% {
        transform: translateX(220%) rotate(12deg);
        opacity: .22;
    }
}

/* Reduce motion: disable animation entirely */
@media (prefers-reduced-motion: reduce) {
    .lp-preview::after {
        animation: none;
        opacity: .18;
    }
}

.lp-preview-block {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(32,48,40,.65);
}

.lp-preview-company {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.lp-preview-row {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.lp-preview-title {
    color: var(--text);
}

.lp-preview-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.lp-preview-meta {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.lp-keys {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 12px;
    color: var(--muted);
    font-size: 13px;
}

.lp-key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    padding: 0 8px;
    border-radius: 8px;
    border: 1px solid rgba(32,48,40,.9);
    background: rgba(255,255,255,.04);
    font-weight: 700;
    color: var(--text);
}

.lp-keylabel {
    margin-right: 6px;
}

.lp-soft {
    background: linear-gradient(180deg, rgba(17,24,21,.78), rgba(15,20,18,.78));
}

.lp-final {
    margin-top: 14px;
}

.lp-footer {
    padding: 18px 0 0;
}

.help-container {
    /* max-width: 860px; */
    margin: 0 auto;
    line-height: 1.6;
}

    .help-container .lead {
        font-size: 1.15rem;
    }

    .help-container blockquote {
        margin: 1rem 0;
        padding-left: 1rem;
        border-left: 4px solid var(--accent);
        color: var(--muted);
    }

    .help-container .screenshot {
        font-style: italic;
        color: var(--muted);
    }

/* Help tools (mode toggle + print/PDF) */
.help-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 6px 0 18px;
    flex-wrap: wrap;
}

.help-modebar,
.help-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pillbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(17,24,21,.55);
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}

    .pillbtn:hover {
        border-color: rgba(127,224,176,.65);
    }

    .pillbtn.active {
        border-color: rgba(127,224,176,.85);
        box-shadow: 0 0 0 3px rgba(127,224,176,.12);
    }

.help-printnote {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(17,24,21,.45);
    margin: 0 0 14px;
}

.help-modebox {
    margin-top: 10px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(17,24,21,.35);
}

    .help-modebox .mode h3 {
        margin-top: 0;
    }

.print-hide {
    display: none !important;
}

/* Elements you want to hide only when printing */
.no-print {
}

/* Elements you only want to show when printing */
.print-only {
    display: none !important;
}

/* Print-friendly help (for Save as PDF) */
@media print {
    .topbar, .footer, .help-tools, .no-print {
        display: none !important;
    }

    .print-only {
        display: block !important;
    }

    body {
        background: #fff !important;
        color: #000 !important;
    }

    .wrap.main {
        max-width: none !important;
    }

    .help-container {
        max-width: none !important;
    }

    a {
        color: #000 !important;
        text-decoration: none !important;
    }

    .help-container blockquote {
        color: #111 !important;
        border-left-color: #111 !important;
    }

    .help-container .screenshot {
        display: none !important;
    }

    .help-printnote {
        border: 1px solid #999 !important;
        background: #fff !important;
    }

    /* Make cards/tables print cleanly across the app (Reports, etc.) */
    .card {
        background: #fff !important;
        box-shadow: none !important;
        border: 1px solid #999 !important;
    }

    .tbl th, .tbl td {
        color: #000 !important;
    }
}

/* Responsive */
@media (min-width: 900px) {
    .lp-cards-2 {
        grid-template-columns: 1fr 1fr;
    }

    .lp-cards-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 920px) {
    .lp-hero-inner {
        grid-template-columns: 1fr;
    }
}
