/* static/css/style.css */

:root {
    --bg: #121212;
    --card: #1e1e1e;
    --text: #e0e0e0;
    --text-muted: #aaaaaa;
    --border: #333;
    --good: #2e7d32;
    --bad: #c62828;
    --good-bg: #1b5e201a;
    --bad-bg: #c628281a;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0;
    line-height: 1.6;
}

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

h1 {
    text-align: center;
    color: #fff;
}

p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 30px;
}

form {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

form input {
    flex: 1;
    min-width: 300px;
    padding: 12px 16px;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
    border-radius: 6px;
    font-size: 16px;
}

form button {
    padding: 12px 24px;
    background: #1976d2;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

form button:hover {
    background: #1565c0;
}

.error {
    background: var(--bad-bg);
    color: #ef5350;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid var(--bad);
}

.result-block {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 30px;
    overflow: hidden;
}

.result-block h3 {
    margin: 0;
    padding: 16px 20px;
    background: #2a2a2a;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge {
    font-size: 14px;
    padding: 4px 12px;
    border-radius: 20px;
    background: var(--bad-bg);
    color: #ef5350;
}

.badge.good {
    background: var(--good-bg);
    color: #66bb6a;
}

.rbl-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.rbl-table th {
    text-align: left;
    padding: 12px 20px;
    background: #252525;
    color: var(--text-muted);
    font-weight: 600;
}

.rbl-table td {
    padding: 10px 20px;
    border-top: 1px solid var(--border);
}

.rbl-table tr.hit {
    background: var(--bad-bg);
}

.rbl-table small {
    color: var(--text-muted);
    font-style: italic;
}

footer {
    text-align: center;
    margin-top: 60px;
    color: var(--text-muted);
    font-size: 12px;
}

@media (max-width: 768px) {
    form {
        flex-direction: column;
    }
    form input {
        min-width: auto;
    }
}
.reset-container {
    text-align: center;
    margin: 30px 0 10px;
}

.reset-button {
    display: inline-block;
    padding: 12px 24px;
    background: #424242;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    transition: background 0.2s;
}

.reset-button:hover {
    background: #616161;
}
