.comunas-list {
    max-height: 320px;
    overflow-y: auto;
}

.comunas-list::-webkit-scrollbar {
    width: 4px;
}

.comunas-list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
}

.comuna-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-input);
    border-radius: var(--border-radius-sm);
    margin-bottom: 8px;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.comuna-item:hover {
    background: var(--bg-card-hover);
    border-left-color: var(--primary);
    transform: translateX(2px);
}

.comuna-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #156082, #1a7aa0);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(21, 96, 130, 0.3);
}

.comuna-info {
    flex: 1;
    min-width: 0;
}

.comuna-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.comuna-region {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.comuna-count {
    font-size: 0.85rem;
    font-weight: 700;
    color: #156082;
    padding: 4px 8px;
    background: rgba(21, 96, 130, 0.1);
    border-radius: 4px;
    white-space: nowrap;
}