:root {
    --bg: #0f172a;
    --panel: #111827;
    --accent: #22c55e;
    --text: #e2e8f0;
    --muted: #94a3b8;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: radial-gradient(circle at 20% 20%, rgba(34, 197, 94, 0.08), transparent 35%),
        radial-gradient(circle at 80% 0%, rgba(56, 189, 248, 0.1), transparent 35%),
        var(--bg);
    color: var(--text);
    min-height: 100vh;
}

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

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 32px 20px 64px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.brand {
    font-weight: 800;
    letter-spacing: -0.03em;
    font-size: 1.2rem;
}

.card {
    background: rgba(17, 24, 39, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 45px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
}

.hero {
    text-align: center;
    margin: 60px 0 40px;
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.hero p {
    color: var(--muted);
    max-width: 650px;
    margin: 0 auto;
}

.muted {
    color: var(--muted);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

label {
    display: block;
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

input, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.25);
    background: rgba(15, 23, 42, 0.6);
    color: var(--text);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

button, .button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(120deg, #22c55e, #10b981);
    color: #041106;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.08s ease, box-shadow 0.08s ease;
    text-decoration: none;
}

button:hover, .button-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.35);
}

.alert {
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
}

.alert.success { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.4); }
.alert.error { background: rgba(248, 113, 113, 0.1); border: 1px solid rgba(248, 113, 113, 0.4); }

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

.table th, .table td {
    padding: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    text-align: left;
    vertical-align: top;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.15);
    color: var(--muted);
    font-size: 0.85rem;
}

.share-box {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: rgba(17, 24, 39, 0.85);
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px dashed rgba(148, 163, 184, 0.4);
}

.share-link {
    font-family: monospace;
    color: var(--text);
    word-break: break-all;
}
