/* app.css — общие стили для всех страниц */

:root {
    --bg-primary: #0f172a;
    --bg-card: rgba(17, 24, 39, 0.92);
    --text-primary: #f9fafb;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --accent: #38bdf8;
    --accent-hover: #0ea5e9;
    --border: rgba(148, 163, 184, 0.2);
    --font-main: 'Montserrat', Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

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

a:hover {
    text-decoration: underline;
}

button {
    font-family: var(--font-main);
    border: 0;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 17px;
    font-weight: bold;
    color: #0f172a;
    background: var(--accent);
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

button:disabled {
    opacity: 0.6;
    cursor: wait;
    transform: none;
}

button.secondary {
    background: #475569;
    color: #f1f5f9;
}

button.secondary:hover {
    background: #64748b;
}

input {
    font-family: var(--font-main);
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #020617;
    color: #e2e8f0;
    outline: none;
}

.footer {
    margin-top: auto;
    padding: 20px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
    width: 100%;
}

.footer a {
    color: #94a3b8;
}

.footer a:hover {
    color: #cbd5e1;
}

.footer-sub {
    font-size: 12px;
    color: #475569;
}