:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e5e7eb;
    --radius: 12px;
}

* {
    box-sizing: border-box;
}

body {
    background: var(--bg);
}

.eb-container {
    max-width: 820px;
    margin: 40px auto;
    padding: 16px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--text);
}

.eb-header {
    text-align: center;
    margin-bottom: 24px;
}

.eb-header h1 {
    margin-bottom: 8px;
}

.subtitle {
    color: var(--muted);
}

.eb-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.eb-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.eb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.eb-field label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
}

.eb-field input,
.eb-field select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 15px;
}

.eb-field input:focus,
.eb-field select:focus {
    outline: none;
    border-color: var(--primary);
}

.hint {
    font-size: 12px;
    color: var(--muted);
}

.eb-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.eb-btn {
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.eb-btn.primary {
    background: var(--primary);
    color: #fff;
}

.eb-btn.primary:hover {
    background: var(--primary-dark);
}

.eb-btn.secondary {
    background: #e5e7eb;
    color: #111827;
}

.eb-results {
    margin-top: 24px;
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.hidden {
    display: none;
}

.results-placeholder {
    margin-top: 20px;
    text-align: center;
    color: var(--muted);
    font-style: italic;
}

.eb-disclaimer {
    margin-top: 24px;
    font-size: 13px;
    color: var(--muted);
}
