:root {
    --bg: #0f172a;
    --card: #111827;
    --border: #1f2933;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --accent: #38bdf8;
    --success: #22c55e;
    --error: #ef4444;
}

* {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
	color: inherit;
}

body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at top, #1e293b, var(--bg));
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 420px;
    padding: 24px;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,.4);
}

h1, h2 {
    margin-top: 0;
    font-weight: 600;
}

h1 { font-size: 1.6rem; }
h2 { font-size: 1.25rem; margin-bottom: 16px; }

p {
    line-height: 1.6;
    color: var(--muted);
}

label {
    display: block;
    margin-bottom: 6px;
    font-size: .9rem;
    color: var(--muted);
}

input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 16px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #020617;
    color: var(--text);
    font-size: 1rem;
}

input:focus {
    outline: none;
    border-color: var(--accent);
}

button, .btn {
    display: inline-block;
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    color: #020617;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
}

button:hover, .btn:hover {
    filter: brightness(1.05);
}

.status {
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-weight: 500;
}

.status.ok {
    background: rgba(34,197,94,.15);
    border: 1px solid rgba(34,197,94,.4);
    color: var(--success);
}

.status.bad {
    background: rgba(239,68,68,.15);
    border: 1px solid rgba(239,68,68,.4);
    color: var(--error);
}

.links {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer {
    margin-top: 20px;
    text-align: center;
    font-size: .8rem;
    color: var(--muted);
}

