* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #0f1117;
    color: #e6e8eb;
}
a { color: #4da3ff; text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 24px;
    background: #161923;
    border-bottom: 1px solid #262b3a;
}
.topbar .brand { font-weight: 700; font-size: 18px; color: #fff; }
.topbar nav a { margin-left: 18px; color: #b8bcc8; font-size: 14px; }
.topbar .balance {
    background: #1d2230;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    color: #6ee7a1;
    font-weight: 600;
}

.wrap { max-width: 1100px; margin: 0 auto; padding: 28px 20px; }

.card {
    background: #161923;
    border: 1px solid #262b3a;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 18px;
}
.card h2, .card h3 { margin-top: 0; color: #fff; }

.grid { display: grid; gap: 16px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 800px) { .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; } }

.plan-card {
    background: #1a1e2a;
    border: 1px solid #2a3040;
    border-radius: 10px;
    padding: 18px;
}
.plan-card h3 { margin: 0 0 8px; color: #fff; }
.plan-card .price { font-size: 22px; font-weight: 700; color: #6ee7a1; }
.plan-card ul { padding-left: 18px; color: #b8bcc8; font-size: 14px; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 10px 8px; border-bottom: 1px solid #262b3a; text-align: left; }
th { color: #8b90a0; font-weight: 600; }

.badge { padding: 3px 9px; border-radius: 12px; font-size: 12px; font-weight: 600; }
.badge.running { background: #133b23; color: #6ee7a1; }
.badge.stopped { background: #3b2b13; color: #f0b95b; }
.badge.provisioning { background: #1a2a4a; color: #6ea8ff; }
.badge.error { background: #4a1313; color: #f06b6b; }
.badge.pending { background: #1a2a4a; color: #6ea8ff; }
.badge.approved { background: #133b23; color: #6ee7a1; }
.badge.rejected { background: #4a1313; color: #f06b6b; }

form.inline { display: inline; }

input, select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #2a3040;
    background: #0f1117;
    color: #e6e8eb;
    font-size: 14px;
    margin-bottom: 12px;
}
label { font-size: 13px; color: #b8bcc8; display: block; margin-bottom: 4px; }

button, .btn {
    background: #4da3ff;
    color: #06101f;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
}
button:hover, .btn:hover { background: #6eb6ff; text-decoration: none; }
.btn.secondary { background: #262b3a; color: #e6e8eb; }
.btn.secondary:hover { background: #323848; }
.btn.danger { background: #f06b6b; color: #2a0808; }
.btn.danger:hover { background: #f58989; }
.btn.small { padding: 6px 12px; font-size: 13px; }

.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert.error { background: #3b1313; color: #f5a3a3; border: 1px solid #5a1f1f; }
.alert.success { background: #113b23; color: #a3f5c0; border: 1px solid #1f5a37; }
.alert.info { background: #13233b; color: #a3c9f5; border: 1px solid #1f3a5a; }

.auth-box {
    max-width: 380px;
    margin: 60px auto;
    background: #161923;
    border: 1px solid #262b3a;
    border-radius: 12px;
    padding: 32px;
}
.auth-box h1 { text-align: center; font-size: 20px; color: #fff; }
.muted { color: #8b90a0; font-size: 13px; }
