* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
    background: #0f1115;
    color: #e6e6e6;
}
.wrap { max-width: 900px; margin: 0 auto; padding: 24px 16px 60px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.topbar a { color: #8ab4f8; text-decoration: none; }
h1 { font-size: 20px; margin: 0; }
.login-box {
    max-width: 320px; margin: 15vh auto; padding: 32px;
    background: #1a1d24; border-radius: 12px; text-align: center;
}
.login-box input {
    width: 100%; padding: 10px; margin: 12px 0; border-radius: 6px;
    border: 1px solid #333; background: #0f1115; color: #fff;
}
.login-box button, .scan-form button {
    width: 100%; padding: 10px; border: none; border-radius: 6px;
    background: #4c8bf5; color: #fff; font-weight: 600; cursor: pointer;
}
.error { color: #f28b82; }
.scan-form { display: flex; gap: 8px; margin-bottom: 32px; }
.scan-form input {
    flex: 1; padding: 10px; border-radius: 6px; border: 1px solid #333;
    background: #1a1d24; color: #fff;
}
.scan-form button { width: 160px; }
table.history { width: 100%; border-collapse: collapse; font-size: 14px; }
table.history th, table.history td {
    text-align: left; padding: 8px; border-bottom: 1px solid #262a33;
}
table.history a { color: #8ab4f8; }
.report {
    background: #1a1d24; padding: 20px; border-radius: 8px;
    white-space: pre-wrap; font-size: 13px; line-height: 1.5;
    overflow-x: auto;
}
