body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0f1115;
    color: #e8eaf0;
}

.container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.topbar h1 {
    margin: 0;
    font-size: 32px;
}

.topbar .userbox {
    text-align: right;
    font-size: 14px;
    color: #b8c0d0;
}

a {
    color: #7db1ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.card {
    background: #171a21;
    border: 1px solid #262b36;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.card h2 {
    margin-top: 0;
    font-size: 22px;
}

.card p {
    color: #b8c0d0;
    line-height: 1.5;
}

.btn {
    display: inline-block;
    margin-top: 10px;
    background: #2f6fed;
    color: white;
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
}

.btn:hover {
    text-decoration: none;
    background: #255dd0;
}

.permissions {
    margin-top: 30px;
    background: #171a21;
    border: 1px solid #262b36;
    border-radius: 14px;
    padding: 20px;
}

.permissions ul {
    margin: 10px 0 0 20px;
}

.small {
    color: #97a3b8;
    font-size: 14px;
}

.inline-form {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

input[type="text"] {
    background: #0f1115;
    color: #e8eaf0;
    border: 1px solid #2d3442;
    border-radius: 10px;
    padding: 10px 12px;
    min-width: 280px;
}

button {
    border: none;
    cursor: pointer;
}

.btn.danger {
    background: #b43c3c;
}

.btn.danger:hover {
    background: #972f2f;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.table th,
.table td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid #262b36;
}

.table th {
    color: #b8c0d0;
    font-weight: bold;
}

code {
    background: #0f1115;
    border: 1px solid #2d3442;
    padding: 4px 8px;
    border-radius: 8px;
    color: #cfe1ff;
}