:root {
    --bg-dark: #0b0e14;
    --panel-dark: #161b22;
    --card-dark: #21262d;
    --neon-blue: #58a6ff;
    --neon-red: #f85149;
    --neon-green: #3fb950;
    --text-white: #f0f6fc;
    --text-gray: #8b949e;
}

body {
    margin: 0;
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: 'Inter', system-ui, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.app-wrapper { width: 100%; display: flex; justify-content: center; }

.search-card {
    background: var(--panel-dark);
    width: 100%;
    max-width: 480px;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #30363d;
    text-align: center;
}

.brand {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--neon-blue);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.search-header h2 { margin: 0; font-size: 1.5rem; }
.search-header p { color: var(--text-gray); font-size: 0.9rem; margin: 10px 0 30px 0; }

.field { text-align: left; margin-bottom: 20px; }
.field label { display: block; color: var(--text-gray); font-size: 0.8rem; text-transform: uppercase; margin-bottom: 8px; font-weight: 600; }

input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 15px;
    background: var(--card-dark);
    border: 1px solid #30363d;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
    outline: none;
}

input:focus { border-color: var(--neon-blue); }

.tribunais-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: #0d1117;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #30363d;
}

.check-item { font-size: 0.85rem; cursor: pointer; display: flex; align-items: center; gap: 8px; }

.export-btn {
    background: var(--neon-blue);
    color: #0b0e14;
    border: none;
    padding: 15px 20px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
    margin-top: 10px;
}

.export-btn:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.result-box {
    margin-top: 30px;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
}

.hidden { display: none; }

.risk-alert { 
    border: 1px solid var(--neon-red); 
    background: rgba(248, 81, 73, 0.05);
    border-left: 5px solid var(--neon-red);
}

.clean-alert { 
    border: 1px solid var(--neon-green); 
    background: rgba(63, 185, 80, 0.05);
    border-left: 5px solid var(--neon-green);
}
