/**
 * File Name: styles.css
 * Version: v4.3.2-gold
 * Description: Global stylesheet for the Civic Ballot Matcher frontend interface.
 * Project: Be My Ballot (bmb-civic-api-key)
 * Domain: seniortechtips.club
 */

:root {
    --primary-color: #0056b3;
    --bg-color: #f4f7f6;
    --box-bg: #ffffff;
    --text-color: #333333;
    --border-radius: 8px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 2rem;
    display: flex;
    justify-content: center;
}

.container {
    background-color: var(--box-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    max-width: 600px;
    width: 100%;
}

h1 {
    text-align: center;
    margin-top: 0;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

input[type="text"], select {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

button {
    flex: 1;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: #004494;
}

.btn-secondary {
    background-color: #e0e0e0;
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: #cccccc;
}

.status-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    min-height: 20px;
}

.results-container {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: none;
}

pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 0.85rem;
}