* { box-sizing: border-box; }
body {
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0;
    background: #f6f7fb;
    color: #1f2430;
}
a { color: #0e7afe; text-decoration: none; }
a:hover { text-decoration: underline; }

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: #111827;
    color: #fff;
}
.topbar nav a { margin-right: 12px; color: #e5e7eb; }
.topbar nav a:last-child { margin-right: 0; }
.nav-user { margin-right: 12px; color: #9ca3af; }
.brand { font-weight: 700; letter-spacing: 0.5px; }

.page { padding: 32px; max-width: 1100px; margin: 0 auto; }
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; align-items: center; }
.card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.highlight { border: 1px solid #d1d5db; background: linear-gradient(135deg, #f8fafc, #eef2ff); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.centered { display: flex; justify-content: center; align-items: center; min-height: 70vh; }

form { display: flex; flex-direction: column; gap: 12px; }
label { font-size: 14px; color: #374151; display: flex; flex-direction: column; gap: 6px; }
input, select, textarea {
    padding: 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}
button.btn, .btn {
    background: #0e7afe;
    color: #fff;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    text-align: center;
}
.btn:hover { background: #0b68d1; }
.btn.ghost { background: #fff; color: #0e7afe; border: 1px solid #0e7afe; }
.btn.small { padding: 6px 10px; font-size: 13px; }
.actions { display: flex; gap: 12px; margin-top: 12px; }
.btn-link { color: #0e7afe; font-weight: 600; }

.notice { background: #e0f2fe; color: #075985; padding: 10px; border-radius: 8px; }
.error { background: #fee2e2; color: #991b1b; padding: 10px; border-radius: 8px; }
.muted { color: #6b7280; }
.footer { text-align: center; margin-top: 40px; color: #6b7280; }

table { width: 100%; border-collapse: collapse; }
th, td { border-bottom: 1px solid #e5e7eb; padding: 8px; text-align: left; font-size: 14px; }
thead { background: #f9fafb; }
.inline { display: inline-flex; gap: 6px; align-items: center; }
.list { padding-left: 16px; margin: 0; }
.list li { margin-bottom: 6px; }
