body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #111827;
    color: #e5e7eb;
}

/* Global link styling for dark background */
a {
    color: #60a5fa; /* light blue, good contrast on #111827 */
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

a:visited {
    color: #a855f7; /* purple for visited links, still readable */
}

a:hover,
a:focus {
    color: #bfdbfe;              /* very light blue on hover */
    text-decoration-thickness: 2px;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    background-color: #1f2937;
    color: #f9fafb;
}

.navbar a {
    color: #e5e7eb;
    margin: 0 0.5rem;
    text-decoration: none; /* override global underline for navbar links */
}

.navbar a:hover {
    text-decoration: underline;
}

.navbar-logo {
    height: 40px;
    margin-right: 1rem;
}

.login-button {
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    background-color: #3b82f6;
    color: white;
}

.login-button:hover {
    background-color: #2563eb;
}

.page-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #111827;
}

.page-container h1 {
    margin-top: 0;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.city-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.city-actions button {
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    border: 1px solid #374151;
    background-color: #1f2937;
    color: #e5e7eb;
    cursor: pointer;
}

.city-actions button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.city-actions button:hover:not(:disabled) {
    background-color: #111827;
}

.job-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.35rem 1rem;
    margin-bottom: 1rem;
}

.job-checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}

.job-checkbox-item input {
    margin-top: 0.2rem;
}

.jobs-total-row td {
    background-color: #13206d; /* slightly darker than before, still brighter than the page background */
    color: #f9fafb;
    font-weight: 600;
}
