* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body {
    background: #0f172a;
    color: #e5e7eb;
}
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px;
    background: #020617;
    border-bottom: 1px solid #1e293b;
}
.logo {
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 14px;
}
.topnav a, .topnav span {
    margin-left: 16px;
    color: #e5e7eb;
    text-decoration: none;
    font-size: 14px;
}
.topnav a:hover {
    color: #38bdf8;
}
.container {
    padding: 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.card {
    background: #020617;
    border-radius: 12px;
    padding: 20px 24px;
    border: 1px solid #1e293b;
    margin-bottom: 20px;
}
.card h1, .card h2, .card h3 {
    margin-bottom: 12px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.metric {
    padding: 16px;
    border-radius: 10px;
    background: #020617;
    border: 1px solid #1e293b;
}
.metric-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
    margin-bottom: 4px;
}
.metric-value {
    font-size: 20px;
    font-weight: 600;
}
.badge {
    display: inline-block;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #1e293b;
    color: #9ca3af;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
}
th, td {
    padding: 8px 10px;
    font-size: 13px;
    border-bottom: 1px solid #1f2937;
}
th {
    text-align: left;
    color: #9ca3af;
    font-weight: 500;
}
tr:hover td {
    background: #020617;
}
.btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    border: none;
    background: #38bdf8;
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.btn-secondary {
    background: #1e293b;
    color: #e5e7eb;
}
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
form {
    margin-top: 10px;
}
.input-group {
    margin-bottom: 10px;
}
label {
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
}
input[type="text"], input[type="email"], input[type="password"], input[type="date"] {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #1e293b;
    background: #020617;
    color: #e5e7eb;
}
select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #1e293b;
    background: #020617;
    color: #e5e7eb;
}
.error {
    color: #fecaca;
    font-size: 13px;
    margin-bottom: 8px;
}
.success {
    color: #bbf7d0;
    font-size: 13px;
    margin-bottom: 8px;
}
.auth-wrapper {
    max-width: 420px;
    margin: 80px auto;
}
.auth-header {
    text-align: center;
    margin-bottom: 20px;
}
.auth-header h1 {
    font-size: 22px;
    margin-bottom: 6px;
}
.auth-header p {
    font-size: 13px;
    color: #9ca3af;
}
.footer {
    padding: 16px;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    border-top: 1px solid #1e293b;
    margin-top: 40px;
}
.welcome {
    font-size: 13px;
}
.logout {
    margin-left: 10px;
}


.logo-img {
    height: 22px;
    margin-right: 8px;
    vertical-align: middle;
}
