﻿html, body {
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text);
    background: radial-gradient(900px 600px at 70% 40%, rgba(42,167,255,0.08), transparent 55%),
    radial-gradient(800px 600px at 30% 60%, rgba(124,58,237,0.05), transparent 60%),
    var(--bg);
}

/* Links */
a {
    color: var(--accent);
    text-decoration: none;
}
a:hover { text-decoration: underline; }

/* Subtle text */
.text-muted { color: var(--muted); }

/* Divider like on screenshots */
.ui-divider-vertical {
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,.35), transparent);
}
.ui-divider-horizontal {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,.25), transparent);
}

/* App surfaces */
.ui-surface {
    background: var(--card-bg);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-xl);
}

/* Glowing “neon card” */
.ui-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--r-xl);
    box-shadow: var(--glow);
    backdrop-filter: blur(10px);
}

.ui-card-pad { padding: var(--s-5); }

/* Buttons */
.ui-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.06);
    color: var(--text);
    cursor: pointer;
    transition: transform .08s ease, background .12s ease, border-color .12s ease, box-shadow .12s ease;
    user-select: none;
}
.ui-btn:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(255,255,255,0.22);
}
.ui-btn:active { transform: translateY(1px); }

.ui-btn-accent {
    border-color: rgba(42,167,255,0.55);
    box-shadow: 0 0 0 1px rgba(42,167,255,0.2), 0 0 18px rgba(42,167,255,0.10);
}
.ui-btn-accent:hover { border-color: rgba(42,167,255,0.75); }

/* Inputs */
.ui-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.05);
    color: var(--text);
    outline: none;
    transition: border-color .12s ease, box-shadow .12s ease, background .12s ease;
}
.ui-input:focus {
    border-color: rgba(42,167,255,0.65);
    box-shadow: 0 0 0 1px rgba(42,167,255,0.25), 0 0 18px rgba(42,167,255,0.12);
    background: rgba(255,255,255,0.06);
}
.ui-input::placeholder { color: rgba(231,238,252,0.35); }

/* Scrollbar (як на темних UI) */
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.12);
    border-radius: 999px;
    border: 2px solid rgba(0,0,0,0);
    background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); }

