﻿:root {
    --bg0: #070b09;
    --bg1: #0b1a12;
    --card1: rgba(255,255,255,0.08);
    --card2: rgba(255,255,255,0.04);
    --line: rgba(255,255,255,0.12);
    --text: #eaf4ef;
    --muted: #a6c1b3;
    --accent: #7bd389;
    --accent2: #2f8f5b;
    --warn: #ffb020;
    --err: #ff4d4f;
    --shadow: 0 18px 50px rgba(0,0,0,0.45);
    --r: 16px;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, var(--bg0), var(--bg1));
    min-height: 100vh;
    position: relative; /* keep normal flow */
}

/* Background overlay (NEVER captures clicks) */
.jk-bg-layer {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.95;
    /* Nature + map vibe, no images needed */
    background: radial-gradient(1200px 700px at 12% 8%, rgba(123,211,137,0.18), transparent 55%), radial-gradient(900px 650px at 88% 18%, rgba(47,143,91,0.16), transparent 55%), radial-gradient(900px 800px at 50% 110%, rgba(255,176,32,0.10), transparent 60%), repeating-linear-gradient( 115deg, rgba(255,255,255,0.018) 0px, rgba(255,255,255,0.018) 2px, rgba(0,0,0,0) 2px, rgba(0,0,0,0) 16px );
}

/* Ensure UI sits above background */
.jk-topbar,
.jk-shell,
.jk-footer {
    position: relative;
    z-index: 1;
}

/* Layout */
.jk-shell {
    max-width: 1100px;
    margin: 0 auto;
    padding: 18px;
}

.jk-row {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.jk-space {
    justify-content: space-between;
}

/* Topbar */
.jk-topbar {
    position: sticky;
    top: 0;
    z-index: 10; /* above page content */
    background: rgba(7,11,9,0.55);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.jk-brand {
    display: flex;
    gap: 12px;
    align-items: center;
}

.jk-mark {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(123,211,137,0.95), rgba(47,143,91,0.90));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 12px 30px rgba(47,143,91,0.25);
    border: 1px solid rgba(255,255,255,0.14);
}

.jk-brand-title {
    font-weight: 700;
    letter-spacing: 0.2px;
}

.jk-brand-sub {
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

/* Nav links */
.jk-nav {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.jk-link {
    color: var(--text);
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}

    .jk-link:hover {
        border-color: var(--line);
        background: rgba(255,255,255,0.05);
        transform: translateY(-1px);
    }

    .jk-link:active {
        transform: translateY(0px);
    }

    .jk-link:focus {
        outline: none;
    }

    .jk-link:focus-visible {
        box-shadow: 0 0 0 3px rgba(123,211,137,0.25);
        border-color: rgba(123,211,137,0.45);
    }

/* Cards */
.jk-card {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, var(--card1), var(--card2));
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 16px;
    margin-top: 14px;
}

/* Headings */
.jk-h2 {
    margin: 0;
    font-size: 22px;
}

.jk-h3 {
    margin: 0;
    font-size: 16px;
}

.jk-muted {
    color: var(--muted);
    font-size: 13px;
    margin-top: 6px;
}

/* Badges */
.jk-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.jk-badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(0,0,0,0.20);
    font-size: 13px;
}

/* Buttons: works for <a> and <button> */
.jk-btn,
button.jk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    transition: background 120ms ease, border-color 120ms ease, transform 120ms ease, box-shadow 120ms ease;
}

    .jk-btn:hover {
        background: rgba(255,255,255,0.09);
        border-color: rgba(255,255,255,0.22);
        transform: translateY(-1px);
    }

    .jk-btn:active {
        transform: translateY(0px);
    }

    .jk-btn:focus {
        outline: none;
    }

    .jk-btn:focus-visible {
        box-shadow: 0 0 0 3px rgba(123,211,137,0.25);
        border-color: rgba(123,211,137,0.45);
    }

.jk-btn-primary {
    background: linear-gradient(135deg, rgba(123,211,137,0.95), rgba(47,143,91,0.90));
    border-color: rgba(255,255,255,0.14);
    color: #06110b;
    font-weight: 700;
}

    .jk-btn-primary:hover {
        filter: brightness(1.02);
        border-color: rgba(255,255,255,0.22);
    }

.jk-btn-danger {
    background: rgba(255,77,79,0.10);
    border-color: rgba(255,77,79,0.30);
}

/* Inputs (file input clickable) */
input[type="file"],
input[type="text"],
input[type="email"],
input[type="password"],
select {
    background: rgba(0,0,0,0.18);
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 12px;
    padding: 10px 12px;
    max-width: 100%;
}

input[type="file"] {
    padding: 8px 10px;
}

input:focus,
select:focus {
    outline: none;
    border-color: rgba(123,211,137,0.45);
    box-shadow: 0 0 0 3px rgba(123,211,137,0.18);
}

/* Tables */
.jk-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(0,0,0,0.18);
}

    .jk-table th,
    .jk-table td {
        text-align: left;
        padding: 10px 10px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        font-size: 13px;
    }

    .jk-table th {
        color: var(--muted);
        font-size: 12px;
        background: rgba(255,255,255,0.03);
    }

    .jk-table tr:last-child td {
        border-bottom: none;
    }

/* Footer */
.jk-footer {
    margin-top: 20px;
    padding: 18px 0;
    color: var(--muted);
    border-top: 1px solid rgba(255,255,255,0.10);
}

/* Mobile */
@media (max-width: 720px) {
    .jk-shell {
        padding: 14px;
    }

    .jk-h2 {
        font-size: 20px;
    }

    .jk-btn, button.jk-btn {
        width: auto;
    }
}
.jk-in {
    width: 100%;
    padding: 10px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    color: inherit;
    outline: none;
}

.jk-in:focus {
    border-color: rgba(255,255,255,0.30);
    background: rgba(255,255,255,0.08);
}

.jk-select {
    cursor: pointer;
}
/* --- Hero + subtle nature/map illustration (PORTAL) --- */

.jk-hero {
    position: relative;
    overflow: hidden;
}

.jk-hero-inner {
    position: relative;
    z-index: 1;
}

/* Subtle background illustration: contour lines + soft "forest" blobs */
.jk-hero:before {
    content: "";
    position: absolute;
    inset: -2px;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(700px 420px at 18% 30%, rgba(123,211,137,0.18), transparent 60%), radial-gradient(620px 420px at 78% 10%, rgba(47,143,91,0.16), transparent 62%), radial-gradient(800px 520px at 70% 95%, rgba(255,176,32,0.08), transparent 60%), repeating-radial-gradient(circle at 35% 40%, rgba(255,255,255,0.06) 0px, rgba(255,255,255,0.06) 1px, transparent 1px, transparent 12px);
    opacity: 0.9;
}

.jk-hero:after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -140px;
    width: 520px;
    height: 520px;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 35% 35%, rgba(123,211,137,0.22), transparent 55%), radial-gradient(circle at 70% 55%, rgba(47,143,91,0.18), transparent 60%), repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0px, rgba(255,255,255,0.06) 1px, transparent 1px, transparent 10px);
    filter: blur(0px);
    opacity: 0.6;
    transform: rotate(8deg);
}

.jk-hero-copy {
    flex: 1 1 520px;
    min-width: 280px;
}

.jk-hero-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
}

.jk-hero-sub {
    margin-top: 10px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

/* --- 3 steps visual --- */

.jk-steps {
    flex: 0 1 380px;
    min-width: 280px;
    border: 1px solid var(--line);
    background: rgba(0,0,0,0.18);
    border-radius: 14px;
    padding: 14px;
}

.jk-steps-title {
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.2px;
}

.jk-step {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.10);
    background: rgba(255,255,255,0.03);
}

    .jk-step + .jk-step {
        margin-top: 10px;
    }

.jk-step-num {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.25);
}

.jk-step-head {
    font-weight: 700;
}

.jk-step-sub {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

/* Small screen: stack nicer */
@media (max-width: 900px) {
    .jk-hero-title {
        font-size: 24px;
    }

    .jk-steps {
        flex: 1 1 100%;
    }
}
/* --- Hero title row + icon --- */

.jk-hero-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jk-hero-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(0,0,0,0.18);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(0,0,0,0.25);
    color: var(--accent);
}

/* --- Topbar subtle glass (safe: no click-blocking) --- */

.jk-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(7, 11, 9, 0.55);
    border-bottom: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(14px) saturate(1.1);
    -webkit-backdrop-filter: blur(14px) saturate(1.1);
}

/* Add a faint highlight line */
.jk-topbar:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: rgba(255,255,255,0.10);
    pointer-events: none;
}

/* Subtle gradient sheen behind nav/brand; does not block clicks */
.jk-topbar:after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(900px 220px at 20% 0%, rgba(123,211,137,0.10), transparent 60%), radial-gradient(800px 220px at 80% 0%, rgba(47,143,91,0.08), transparent 60%);
    opacity: 0.9;
}
.jk-link-highlight {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(47, 143, 91, 0.90);
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
}

.jk-link-highlight:hover {
    background: rgba(13, 30, 40, 0.16);
    transform: translateY(-1px);
}
