body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0f172a;
    color: #fff;
}

.container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.card {
    background: #1e293b;
    border-radius: 12px;
    padding: 18px;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.card-link {
    text-decoration: none;
    display: block;
}

.card-link .card:hover {
    background: #273449;
}

.btn {
    display: inline-block;
    padding: 10px 14px;
    background: #2563eb;
    color: white;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    margin-right: 8px;
}

.btn.secondary {
    background: #475569;
}

input {
    width: 100%;
    max-width: 420px;
    display: block;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #334155;
    background: #111827;
    color: white;
}

.error {
    background: #7f1d1d;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.success {
    background: #14532d;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 20px;
}

pre {
    white-space: pre-wrap;
    word-break: break-word;
    background: #111827;
    padding: 14px;
    border-radius: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: #1e293b;
}

th, td {
    border: 1px solid #334155;
    padding: 10px;
    text-align: left;
}

.topbar {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}