:root {
    --bg: #0f0f0f;
    --surface: #1a1a1a;
    --border: #2a2a2a;
    --text: #f0f0f0;
    --text-muted: #888;
    --accent: #60a5fa;
    --accent-hover: #3b82f6;
    --error: #f87171;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 480px;
    padding: 2rem;
}

h1 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 0.25rem;
}

h1 span {
    color: var(--accent);
}

.subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

input {
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

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

button {
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.85rem;
    background: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: var(--accent-hover);
}

button:disabled {
    background: var(--border);
    color: var(--text-muted);
    cursor: not-allowed;
}

.result {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 12px;
    display: none;
}

.result.show {
    display: block;
}

.verdict {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.recommendation {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.probability {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.error {
    color: var(--error);
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    display: none;
}

.error.show {
    display: block;
}

@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }

    h1 {
        font-size: 1.75rem;
    }
}