@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

:root {
    --bg: #07080d;
    --bg-elev: #0d1018;
    --bg-card: rgba(16, 20, 32, 0.86);
    --line: rgba(255, 255, 255, 0.08);
    --text: #eef1f7;
    --muted: #8d95aa;
    --accent: #3ee0c3;
    --accent-2: #8b7cff;
    --danger: #ff5d73;
    --warn: #f5c16c;
    --ok: #3ee0c3;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    --radius: 18px;
    --font: "IBM Plex Sans", "Segoe UI", sans-serif;
    --display: "Sora", "Segoe UI", sans-serif;
    --sidebar: 300px;
}

[data-theme="light"] {
    --bg: #eef1f6;
    --bg-elev: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.88);
    --line: rgba(15, 18, 28, 0.08);
    --text: #12151c;
    --muted: #5b6478;
    --shadow: 0 18px 50px rgba(20, 24, 40, 0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    letter-spacing: 0.01em;
}
h1, h2, h3, .display { font-family: var(--display); }
a { color: var(--accent); text-decoration: none; }
button, input, textarea, select { font: inherit; }
code { font-family: ui-monospace, Consolas, monospace; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--line);
    background: var(--bg-elev);
    color: var(--text);
    border-radius: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: 0.2s ease;
}
.btn:hover { border-color: var(--accent); }
.btn.primary {
    background: linear-gradient(135deg, #3ee0c3, #6ee7c8 40%, #8b7cff);
    color: #081018;
    border: none;
    font-weight: 600;
}
.btn.ghost { background: transparent; }
.btn.danger { border-color: var(--danger); color: var(--danger); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field span { color: var(--muted); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.field input, .field textarea, .field select {
    background: #0a0c12;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
    outline: none;
}
[data-theme="light"] .field input,
[data-theme="light"] .field textarea,
[data-theme="light"] .field select { background: #fff; }
.field input:focus, .field textarea:focus, .field select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(62, 224, 195, 0.15);
}

.panel {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    padding: 22px;
}

.mesh {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(900px 500px at 15% -10%, rgba(62, 224, 195, 0.16), transparent 55%),
        radial-gradient(700px 480px at 95% 0%, rgba(139, 124, 255, 0.18), transparent 50%),
        linear-gradient(180deg, #07080d, #090b12 40%, #07080d);
    z-index: -1;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
