/* app.css — minimal overrides on top of Pico.css */

:root {
    --pico-font-family-sans-serif: system-ui, -apple-system, sans-serif;
    --pico-font-size: 15px;
}

body {
    max-width: 860px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

h1 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

#search-input {
    margin-bottom: 1rem;
}

/* Professor result list */
#results {
    margin-bottom: 1.5rem;
}

.prof-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prof-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid transparent;
}

.prof-item:hover,
.prof-item[aria-selected="true"] {
    background: var(--pico-primary-background);
    border-color: var(--pico-primary-border);
}

.prof-name {
    font-weight: 500;
}

.prof-meta {
    font-size: 0.82rem;
    color: var(--pico-muted-color);
    margin-left: 0.75rem;
    white-space: nowrap;
}

/* Courses table */
#courses table {
    width: 100%;
    font-size: 0.88rem;
}

.avg-unreported {
    color: var(--pico-muted-color);
    font-style: italic;
}

.courses-header {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--pico-muted-color);
}
