﻿/*
 * Metric Neon - Free neon dashboard/admin template
 * Source: https://templates.inuno.app
 * Copyright (c) 2026 templates.inuno.app
 *
 * Free license note:
 * This free template may be used privately and commercially,
 * but the attribution/backlink to https://templates.inuno.app must remain.
 */

:root {
    --bg: #ecff00;
    --bg-2: #00f5ff;
    --panel: #fbff3d;
    --panel-2: #d7ff00;
    --ink: #061006;
    --muted: #315018;
    --line: rgba(6, 16, 6, 0.22);
    --accent: #00d084;
    --accent-2: #00a3ff;
    --orange: #ff4d00;
    --red: #ff007a;
    --green: #009e3a;
    --shadow: 0 24px 70px rgba(0, 120, 70, 0.22);
    --radius: 8px;
    --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
    min-width: 320px;
    background: var(--bg);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 14% 8%, rgba(255, 0, 122, 0.2), transparent 26rem),
        radial-gradient(circle at 90% 4%, rgba(0, 245, 255, 0.28), transparent 30rem),
        linear-gradient(135deg, var(--bg), var(--bg-2));
    font-family: var(--font);
    letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.app-shell {
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr);
    min-height: calc(100vh - 74px);
}

.sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100vh;
    padding: 22px;
    border-right: 1px solid var(--line);
    background: rgba(236, 255, 0, 0.78);
    backdrop-filter: blur(18px);
}

.brand,
.simple-header,
.nav,
.topbar,
.top-actions,
.site-footer,
.site-footer nav,
.social-links {
    display: flex;
    align-items: center;
}

.brand {
    gap: 11px;
    font-weight: 950;
}

.brand span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #ffffff;
    font-size: 12px;
    box-shadow: 0 0 28px rgba(45, 212, 191, 0.24);
}

.brand strong {
    min-width: 0;
    overflow-wrap: anywhere;
}

.side-nav {
    display: grid;
    gap: 7px;
}

.side-nav a,
.nav a,
.top-actions a,
.top-actions button {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.54);
    color: var(--muted);
    font-weight: 850;
}

.side-nav a {
    padding: 12px;
}

.side-nav a:hover,
.side-nav a.is-active,
.nav a:hover {
    border-color: rgba(255, 77, 0, 0.72);
    background: rgba(255, 77, 0, 0.14);
    color: var(--ink);
}

.sidebar-card,
.panel,
.kpi-grid article {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: var(--shadow);
}

.sidebar-card {
    margin-top: auto;
    padding: 14px;
}

small,
.eyebrow {
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.sidebar-card strong {
    display: block;
    margin: 8px 0 12px;
    font-size: 34px;
}

.meter {
    display: block;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
}

.meter i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent), var(--green));
}

.workspace {
    min-width: 0;
    padding: 22px;
}

.topbar {
    justify-content: space-between;
    gap: 18px;
    min-height: 112px;
    margin-bottom: 12px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(90deg, rgba(251, 255, 61, 0.96), rgba(0, 245, 255, 0.26)),
        rgba(255, 255, 255, 0.74);
}

.topbar h1 {
    max-width: 820px;
    margin: 8px 0 0;
    font-size: clamp(30px, 4vw, 58px);
    line-height: 0.98;
}

.top-actions {
    gap: 8px;
}

.top-actions a,
.top-actions button {
    min-height: 42px;
    padding: 0 14px;
}

.top-actions button {
    background: linear-gradient(135deg, var(--orange), #f97316);
    color: #ffffff;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.kpi-grid article {
    min-height: 126px;
    padding: 16px;
}

.kpi-grid strong {
    display: block;
    margin: 14px 0 8px;
    font-size: clamp(28px, 3vw, 42px);
}

.up { color: var(--green); }
.down { color: var(--accent-2); }
.warn { color: var(--orange); }

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(290px, 0.72fr);
    gap: 12px;
}

.panel {
    min-width: 0;
    overflow: hidden;
}

.chart-panel,
.table-panel,
.activity-panel {
    padding: 18px;
}

.panel-title {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.panel-title h2,
.preview-panel h2,
.finance-panel h2 {
    margin: 4px 0 0;
    font-size: 22px;
}

.panel-title > span {
    align-self: start;
    border: 1px solid rgba(45, 212, 191, 0.4);
    border-radius: 999px;
    padding: 6px 10px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 900;
}

.chart {
    display: flex;
    align-items: end;
    gap: 10px;
    height: 260px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background:
        linear-gradient(rgba(6, 16, 6, 0.1) 1px, transparent 1px) 0 0 / 100% 25%,
        rgba(255, 255, 255, 0.58);
}

.chart i {
    flex: 1;
    height: var(--h);
    min-width: 18px;
    border-radius: 8px 8px 3px 3px;
    background: linear-gradient(180deg, var(--accent-2), var(--accent));
}

.chart-caption {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.chart-caption span,
.legal-list article,
details {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 11px;
    background: rgba(255, 255, 255, 0.52);
    color: var(--muted);
}

.preview-panel,
.finance-panel {
    display: grid;
    align-content: end;
    min-height: 360px;
}

.preview-panel img,
.finance-panel img {
    min-height: 245px;
}

.preview-panel div,
.finance-panel div {
    padding: 16px;
}

.table-panel {
    grid-column: span 1;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 13px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
}

th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.badge {
    display: inline-flex;
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 900;
}

.badge.hot { background: rgba(225, 29, 72, 0.1); color: var(--red); }
.badge.warm { background: rgba(249, 115, 22, 0.12); color: var(--orange); }
.badge.cool { background: rgba(14, 165, 233, 0.12); color: var(--accent); }

.activity-panel ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.activity-panel li {
    border-left: 3px solid var(--accent);
    padding: 8px 0 8px 12px;
}

.activity-panel strong,
.activity-panel span {
    display: block;
}

.activity-panel span {
    margin-top: 4px;
    color: var(--muted);
}

.simple-header {
    justify-content: space-between;
    gap: 18px;
    width: min(1240px, calc(100% - 44px));
    min-height: 78px;
    margin: 0 auto;
    padding: 0 18px;
}

.nav {
    gap: 8px;
}

.nav a {
    padding: 10px 13px;
}

.simple-page {
    display: grid;
    align-items: start;
    min-height: calc(100vh - 160px);
    width: min(1240px, calc(100% - 44px));
    margin: 0 auto;
    padding: 24px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 24px;
    padding: clamp(20px, 4vw, 42px);
}

.contact-layout h1,
.text-panel h1 {
    max-width: 760px;
    margin: 10px 0 12px;
    font-size: clamp(32px, 5vw, 64px);
    line-height: 0.98;
}

.contact-layout p,
.text-panel p {
    color: var(--muted);
    line-height: 1.65;
}

.contact-layout img {
    min-height: 420px;
    border-radius: var(--radius);
}

.contact-form,
.legal-list,
.text-panel {
    display: grid;
    gap: 12px;
}

.contact-form {
    margin-top: 22px;
}

.contact-form label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(237, 247, 255, 0.84);
    color: var(--ink);
    padding: 12px;
    outline: 0;
}

.contact-form button {
    justify-self: start;
    min-height: 44px;
    border: 0;
    border-radius: var(--radius);
    padding: 0 16px;
    background: linear-gradient(135deg, var(--orange), #f97316);
    color: #ffffff;
    font-weight: 950;
}

.text-panel {
    max-width: 900px;
    padding: clamp(20px, 4vw, 42px);
}

summary {
    cursor: pointer;
    color: var(--ink);
    font-weight: 900;
}

.site-footer {
    justify-content: space-between;
    gap: 18px;
    width: min(1240px, calc(100% - 44px));
    min-height: 74px;
    margin: 0 auto;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.site-footer p {
    margin: 0;
}

.site-footer nav,
.social-links {
    gap: 8px;
}

.site-footer nav a {
    font-weight: 900;
}

.social-links a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    font-weight: 950;
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

@media (max-width: 1080px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        height: auto;
    }

    .side-nav {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .dashboard-grid,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .workspace,
    .sidebar {
        padding: 14px;
    }

    .simple-header,
    .site-footer {
        width: min(100% - 24px, 1240px);
    }

    .simple-header,
    .topbar,
    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .side-nav,
    .kpi-grid,
    .chart-caption {
        grid-template-columns: 1fr;
    }

    .top-actions,
    .nav {
        flex-wrap: wrap;
    }

    .chart {
        height: 210px;
        padding: 12px;
    }

    th,
    td {
        padding: 10px 7px;
        font-size: 12px;
    }

    .contact-layout img {
        min-height: 260px;
    }
}


