/* Subtle Blue Theme */
:root {
    --primary-blue: #1e3a8a;      /* Dark blue */
    --secondary-blue: #3b82f6;    /* Medium blue */
    --accent-blue: #dbeafe;       /* Light blue */
    --text-dark: #1f2937;         /* Dark gray */
    --text-light: #6b7280;        /* Light gray */
    --border-light: #e5e7eb;      /* Border gray */
    --white: #ffffff;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f9fafb;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    border-radius: 8px;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 10px;
}

.header .subtitle {
    font-size: 1.2em;
    opacity: 0.95;
    font-weight: 300;
}

/* Info Section */
.info-section {
    text-align: center;
    padding: 20px;
    background-color: var(--accent-blue);
    border-left: 4px solid var(--secondary-blue);
    border-radius: 6px;
    margin-bottom: 40px;
    color: var(--primary-blue);
    font-weight: 500;
}

/* Candidates Section */
.candidates-section {
    margin-bottom: 40px;
}

.candidate-card {
    background-color: var(--white);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--secondary-blue);
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.candidate-card:hover {
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.1);
    transform: translateY(-2px);
}

.candidate-office {
    font-size: 0.85em;
    color: var(--secondary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.candidate-name {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.candidate-bio {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.candidate-reason {
    background-color: var(--accent-blue);
    border-left: 3px solid var(--secondary-blue);
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 0.95em;
    color: var(--primary-blue);
    font-style: italic;
}

.loading {
    text-align: center;
    color: var(--text-light);
    padding: 40px;
    font-size: 1.1em;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid var(--border-light);
    color: var(--text-light);
    font-size: 0.95em;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 600px) {
    .header h1 {
        font-size: 1.8em;
    }

    .header .subtitle {
        font-size: 1em;
    }

    .candidate-name {
        font-size: 1.2em;
    }

    .container {
        padding: 15px;
    }
}
