/* Grid container styling is now handled dynamically in the template */
.grid-container {
            margin: auto; /* Centering */
        }

.cand-input {
    width: 85%;  /* Customize width if needed for candidate vote input */
    max-width:6rem;
}
/* Type-to-search booth picker (static/booth_picker.js), same look as the results display */
.booth-combobox {
    position: relative;
    margin-top: 0.25rem;
}
.booth-combobox .combo-icon,
.booth-combobox .combo-chevron {
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    fill: #9ca3af;
    pointer-events: none;
}
.booth-combobox .combo-icon {
    left: 10px;
}
.booth-combobox .combo-chevron {
    right: 8px;
}
.booth-search {
    width: 100%;
    height: 40px;
    padding: 0 32px 0 34px;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    background: #f9fafb;
}
.booth-search:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    background: #ffffff;
}
.booth-suggestions {
    position: absolute;
    z-index: 40;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 20rem;
    overflow-y: auto;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.booth-suggestions li {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 6px 12px;
    cursor: pointer;
}
.booth-suggestions li.active {
    background-color: #dbeafe;
}
.booth-suggestions li mark {
    background: none;
    font-weight: 700;
    color: inherit;
}
.booth-suggestions .booth-name {
    font-weight: 600;
    white-space: nowrap;
}
.booth-suggestions .booth-meta {
    color: #6b7280;
    font-size: 0.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.booth-suggestions li.no-match {
    color: #6b7280;
    cursor: default;
}
